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