    1   import org.codehaus.groovy.syntax.TokenTest;
    2   import org.codehaus.groovy.runtime.*;
    3   //import org.codehaus.groovy.wiki.RunWikiTest;
    4   //import org.codehaus.groovy.wiki.TestCaseRenderEngineTest;
    5   import org.codehaus.groovy.tools.FileSystemCompilerTest;
    6   import org.codehaus.groovy.tools.CompilerTest;
    7   import org.codehaus.groovy.control.CompilationUnitTest;
    8   import org.codehaus.groovy.control.messages.SyntaxErrorMessageTest;
    9   import org.codehaus.groovy.antlr.*;
    10  import org.codehaus.groovy.antlr.treewalker.*;
    11  import org.codehaus.groovy.bsf.*;
    12  import org.codehaus.groovy.ast.*;
    13  import org.codehaus.groovy.classgen.*;
    14  import junit.framework.Test;
    15  import junit.framework.TestSuite;
    16
    17  /***
    18   * All Java Unit tests in the 'org.codehaus.groovy' dir
    19   */
    20
    21  public class AllCodehausJavaTestsSuite {
    22
    23      public static Test suite() {
    24          TestSuite suite = new TestSuite();
    25          suite.addTestSuite(BSFTest.class);
    26          suite.addTestSuite(BytecodeHelperTest.class);
    27          suite.addTestSuite(CacheBSFTest.class);
    28          suite.addTestSuite(CapitalizeTest.class);
    29          suite.addTestSuite(ClassCompletionVerifierTest.class);
    30          suite.addTestSuite(ClassNodeTest.class);
    31          suite.addTestSuite(CompilationUnitTest.class);
    32          suite.addTestSuite(CompilerTest.class);
    33          suite.addTestSuite(ConstructorTest.class);
    34          suite.addTestSuite(DefaultGroovyMethodsTest.class);
    35          suite.addTestSuite(FileSystemCompilerTest.class);
    36          suite.addTestSuite(ForTest.class);
    37          suite.addTestSuite(GetPropertyTest.class);
    38          suite.addTestSuite(GroovyClassLoaderTest.class);
    39          suite.addTestSuite(GroovySourceASTTest.class);
    40          suite.addTestSuite(GStringTest.class);
    41          suite.addTestSuite(IfElseTest.class);
    42          suite.addTestSuite(InvokerTest.class);
    43          suite.addTestSuite(InvokeMethodTest.class);
    44          suite.addTestSuite(InvokeGroovyMethodTest.class);
    45          suite.addTestSuite(InvokeConstructorTest.class);
    46          suite.addTestSuite(InheritedInterfaceMethodTest.class);
    47          suite.addTestSuite(MainTest.class);
    48          suite.addTestSuite(MethodFailureTest.class);
    49          suite.addTestSuite(MethodKeyTest.class);
    50          suite.addTestSuite(MethodTest.class);
    51          suite.addTestSuite(ModuleNodeTest.class);
    52          suite.addTestSuite(NewStaticMetaMethodTest.class);
    53          suite.addTestSuite(org.codehaus.groovy.classgen.PropertyTest.class);
    54          suite.addTestSuite(org.codehaus.groovy.runtime.PropertyTest.class);
    55          suite.addTestSuite(ReflectorGeneratorTest.class);
    56          suite.addTestSuite(RunBugsTest.class);
    57          suite.addTestSuite(RunClosureTest.class);
    58          suite.addTestSuite(RunGroovyTest.class);
    59  //        suite.addTestSuite(RunWikiTest.class);
    60          suite.addTestSuite(SourceBufferTest.class);
    61          suite.addTestSuite(SourcePrinterTest.class);
    62          suite.addTestSuite(SyntaxErrorMessageTest.class);
    63  //        suite.addTestSuite(TestCaseRenderEngineTest.class);
    64          suite.addTestSuite(TokenTest.class);
    65          suite.addTestSuite(org.codehaus.groovy.classgen.TupleListTest.class);
    66          suite.addTestSuite(org.codehaus.groovy.runtime.TupleListTest.class);
    67          suite.addTestSuite(VerifierCodeVisitorTest.class);
    68          return suite;
    69      }
    70  }