// Path: gmaven-testsuite/src/test/java/org/codehaus/gmaven/testsuite/tests/ExecuteBasics.java
// public class ExecuteBasics
//     extends ITSupport
// {
//   private MavenVerifier executeScript(final String source) throws Exception {
//     return verifier("execute-script")
//         .setProperty("source", source)
//         .executeGoal(goal("execute"));
//   }
// 
//   private MavenVerifier executeScriptFileName(final String fileName) throws Exception {
//     return executeScript(new File(testIndex.getDirectory(), fileName).getAbsolutePath());
//   }
// 
//   /**
//    * Verifies all default context variables.
//    */
//   @Test
//   public void defaultContext() throws Exception {
//     executeScriptFileName("defaultContext.groovy")
//         .errorFree()
//         .logContains("ALL OK");
//   }
// 
//   /**
//    * Verify configured groovy runtime version matches what is detected.
//    */
//   @Test
//   public void groovyVersion() throws Exception {
//     executeScriptFileName("groovyVersion.groovy")
//         .errorFree()
//         .logContains(
//             "Version: " + getGroovyVersion(),
//             "ALL OK"
//         );
//   }
// 
//   /**
//    * Verify execution of a simple inline-source script.
//    */
//   @Test
//   public void simpleInlineSource() throws Exception {
//     executeScript("println(12345+1)")
//         .errorFree()
//         .logContains("12346");
//   }
// 
//   /**
//    * Verify execution of a simple file-source script.
//    */
//   @Test
//   public void simpleFileSource() throws Exception {
//     File file = new File(testIndex.getDirectory(), "simple.groovy");
//     executeScript(file.getAbsolutePath())
//         .errorFree()
//         .logContains("ALL OK");
//   }
// 
//   /**
//    * Verify execution of a simple url-source script.
//    */
//   @Test
//   public void simpleUrlSource() throws Exception {
//     URL url = new File(testIndex.getDirectory(), "simple.groovy").toURI().toURL();
//     executeScript(url.toExternalForm())
//         .errorFree()
//         .logContains("ALL OK");
//   }
// }
// 
// Path: gmaven-testsuite/src/test/java/org/codehaus/gmaven/testsuite/tests/PropertyResolution.java
// public class PropertyResolution
//     extends ITSupport
// {
//   private MavenVerifier verifier() throws Exception {
//     return verifier("property-resolution")
//         .setProperty("source", "printResult.groovy")
//         .addProfile(testName.getMethodName());
//   }
// 
//   private void verify(final MavenVerifier verifier) throws Exception {
//     verifier
//         .errorFree()
//         .logContains(
//             "RESULT: OK",
//             "ALL OK"
//         );
//   }
// 
//   private void verifyDefault() throws Exception {
//     verify(
//         verifier()
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   public void projectDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultReferencesProjectProperty() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultReferencesSystemProperty() throws Exception {
//     verify(
//         verifier()
//             .setProperty("foo", "OK")
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   public void overrideDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void overrideReferencesSystemProperty() throws Exception {
//     verify(
//         verifier()
//             .setProperty("foo", "OK")
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   @Ignore("FIXME: This test has issues due to Maven interpolation before execution")
//   public void overrideReferencesDefault() throws Exception {
//     verifyDefault();
//   }
// }


import org.codehaus.gmaven.testsuite.tests.ExecuteBasics;
import org.codehaus.gmaven.testsuite.tests.PropertyResolution;
import org.junit.runners.Suite.SuiteClasses;
/*
 * Copyright (c) 2006-present the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.codehaus.gmaven.testsuite.suite;


/**
 * Support for suites.
 */
@SuiteClasses({
    ExecuteBasics.class,
    PropertyResolution.class
})
public abstract class SuiteSupport
{
  protected static void setMavenVersion(final String version) {
// Path: gmaven-testsuite/src/test/java/org/codehaus/gmaven/testsuite/tests/ExecuteBasics.java
// public class ExecuteBasics
//     extends ITSupport
// {
//   private MavenVerifier executeScript(final String source) throws Exception {
//     return verifier("execute-script")
//         .setProperty("source", source)
//         .executeGoal(goal("execute"));
//   }
// 
//   private MavenVerifier executeScriptFileName(final String fileName) throws Exception {
//     return executeScript(new File(testIndex.getDirectory(), fileName).getAbsolutePath());
//   }
// 
//   /**
//    * Verifies all default context variables.
//    */
//   @Test
//   public void defaultContext() throws Exception {
//     executeScriptFileName("defaultContext.groovy")
//         .errorFree()
//         .logContains("ALL OK");
//   }
// 
//   /**
//    * Verify configured groovy runtime version matches what is detected.
//    */
//   @Test
//   public void groovyVersion() throws Exception {
//     executeScriptFileName("groovyVersion.groovy")
//         .errorFree()
//         .logContains(
//             "Version: " + getGroovyVersion(),
//             "ALL OK"
//         );
//   }
// 
//   /**
//    * Verify execution of a simple inline-source script.
//    */
//   @Test
//   public void simpleInlineSource() throws Exception {
//     executeScript("println(12345+1)")
//         .errorFree()
//         .logContains("12346");
//   }
// 
//   /**
//    * Verify execution of a simple file-source script.
//    */
//   @Test
//   public void simpleFileSource() throws Exception {
//     File file = new File(testIndex.getDirectory(), "simple.groovy");
//     executeScript(file.getAbsolutePath())
//         .errorFree()
//         .logContains("ALL OK");
//   }
// 
//   /**
//    * Verify execution of a simple url-source script.
//    */
//   @Test
//   public void simpleUrlSource() throws Exception {
//     URL url = new File(testIndex.getDirectory(), "simple.groovy").toURI().toURL();
//     executeScript(url.toExternalForm())
//         .errorFree()
//         .logContains("ALL OK");
//   }
// }
// 
// Path: gmaven-testsuite/src/test/java/org/codehaus/gmaven/testsuite/tests/PropertyResolution.java
// public class PropertyResolution
//     extends ITSupport
// {
//   private MavenVerifier verifier() throws Exception {
//     return verifier("property-resolution")
//         .setProperty("source", "printResult.groovy")
//         .addProfile(testName.getMethodName());
//   }
// 
//   private void verify(final MavenVerifier verifier) throws Exception {
//     verifier
//         .errorFree()
//         .logContains(
//             "RESULT: OK",
//             "ALL OK"
//         );
//   }
// 
//   private void verifyDefault() throws Exception {
//     verify(
//         verifier()
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   public void projectDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultReferencesProjectProperty() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void defaultReferencesSystemProperty() throws Exception {
//     verify(
//         verifier()
//             .setProperty("foo", "OK")
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   public void overrideDefined() throws Exception {
//     verifyDefault();
//   }
// 
//   @Test
//   public void overrideReferencesSystemProperty() throws Exception {
//     verify(
//         verifier()
//             .setProperty("foo", "OK")
//             .executeGoal(goal("execute"))
//     );
//   }
// 
//   @Test
//   @Ignore("FIXME: This test has issues due to Maven interpolation before execution")
//   public void overrideReferencesDefault() throws Exception {
//     verifyDefault();
//   }
// }


// Path: gmaven-testsuite/src/test/java/org/codehaus/gmaven/testsuite/suite/SuiteSupport.java
import org.codehaus.gmaven.testsuite.tests.ExecuteBasics;
import org.codehaus.gmaven.testsuite.tests.PropertyResolution;
import org.junit.runners.Suite.SuiteClasses;

/*
 * Copyright (c) 2006-present the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.codehaus.gmaven.testsuite.suite;


/**
 * Support for suites.
 */
@SuiteClasses({
    ExecuteBasics.class,
    PropertyResolution.class
})
public abstract class SuiteSupport
{
  protected static void setMavenVersion(final String version) {
    System.setProperty("maven.version", version);