    1   /***
    2    * to prevent a JVM startup-shutdown time per test, it should be more efficient to
    3    * collect the tests together into a suite.
    4    *
    5    * @author <a href="mailto:jeremy.rayner@bigfoot.com">Jeremy Rayner</a>
    6    * @version $Revision: 1.1 $
    7    */
    8   import junit.framework.*;
    9   public class UberTestCase3 extends TestCase {
    10      public static Test suite() {
    11          TestSuite suite = new TestSuite();
    12          suite.addTestSuite(org.codehaus.groovy.ast.ClassNodeTest.class);
    13          suite.addTestSuite(org.codehaus.groovy.ast.ModuleNodeTest.class);
    14          suite.addTestSuite(org.codehaus.groovy.classgen.BytecodeHelperTest.class);
    15          suite.addTestSuite(org.codehaus.groovy.classgen.CallClosureFieldAsMethodTest.class);
    16          suite.addTestSuite(org.codehaus.groovy.classgen.CapitalizeTest.class);
    17          suite.addTestSuite(org.codehaus.groovy.classgen.ConstructorIssueTest.class);
    18          suite.addTestSuite(org.codehaus.groovy.classgen.ConstructorTest.class);
    19          suite.addTestSuite(org.codehaus.groovy.classgen.ForTest.class);
    20          suite.addTestSuite(org.codehaus.groovy.classgen.GetPropertyTest.class);
    21          suite.addTestSuite(org.codehaus.groovy.classgen.GroovyClassLoaderTest.class);
    22          suite.addTestSuite(org.codehaus.groovy.classgen.GStringTest.class);
    23          suite.addTestSuite(org.codehaus.groovy.classgen.IfElseTest.class);
    24          suite.addTestSuite(org.codehaus.groovy.classgen.MainTest.class);
    25          suite.addTestSuite(org.codehaus.groovy.classgen.MetaClassTest.class);
    26          suite.addTestSuite(org.codehaus.groovy.classgen.MethodTest.class);
    27          suite.addTestSuite(org.codehaus.groovy.classgen.PropertyTest.class);
    28          suite.addTestSuite(org.codehaus.groovy.classgen.RunGroovyTest.class);
    29          suite.addTestSuite(org.codehaus.groovy.classgen.TupleListTest.class);
    30          suite.addTestSuite(org.codehaus.groovy.classgen.VerifierCodeVisitorTest.class);
    31          suite.addTestSuite(org.codehaus.groovy.runtime.DefaultGroovyMethodsTest.class);
    32          suite.addTestSuite(org.codehaus.groovy.runtime.InheritedInterfaceMethodTest.class);
    33          suite.addTestSuite(org.codehaus.groovy.runtime.InvokeConstructorTest.class);
    34          suite.addTestSuite(org.codehaus.groovy.runtime.InvokeGroovyMethodTest.class);
    35          suite.addTestSuite(org.codehaus.groovy.runtime.InvokeMethodTest.class);
    36          suite.addTestSuite(org.codehaus.groovy.runtime.InvokerTest.class);
    37          suite.addTestSuite(org.codehaus.groovy.runtime.MethodFailureTest.class);
    38          suite.addTestSuite(org.codehaus.groovy.runtime.MethodKeyTest.class);
    39          suite.addTestSuite(org.codehaus.groovy.runtime.NewStaticMetaMethodTest.class);
    40          suite.addTestSuite(org.codehaus.groovy.runtime.TupleListTest.class);
    41          suite.addTestSuite(org.codehaus.groovy.sandbox.util.XmlSlurperTest.class);
    42          suite.addTestSuite(org.codehaus.groovy.syntax.AbstractTokenStreamTest.class);
    43          suite.addTestSuite(org.codehaus.groovy.syntax.lexer.AbstractCharStreamTest.class);
    44          suite.addTestSuite(org.codehaus.groovy.syntax.lexer.LexerTest.class);
    45          suite.addTestSuite(org.codehaus.groovy.syntax.lexer.LexerTokenStreamTest.class);
    46          suite.addTestSuite(org.codehaus.groovy.syntax.lexer.StringCharStreamTest.class);
    47          suite.addTestSuite(org.codehaus.groovy.syntax.parser.AbstractMethodCheckTest.class);
    48          suite.addTestSuite(org.codehaus.groovy.syntax.parser.CSTNodeTest.class);
    49          suite.addTestSuite(org.codehaus.groovy.syntax.parser.ParserTest.class);
    50          suite.addTestSuite(org.codehaus.groovy.syntax.parser.ReturnTypeErrorTest.class);
    51          suite.addTestSuite(org.codehaus.groovy.syntax.TokenTest.class);
    52          suite.addTestSuite(org.codehaus.groovy.tools.CompilerTest.class);
    53          suite.addTestSuite(org.codehaus.groovy.tools.FileSystemCompilerTest.class);
    54          suite.addTestSuite(org.codehaus.groovy.tools.xml.DomToGroovyTest.class);
    55          suite.addTestSuite(org.codehaus.groovy.wiki.TestCaseRenderEngineTest.class);
    56          return suite;
    57      }
    58
    59  // todo - Are we still using wiki tests as none turn up on my build???
    60  //        suite.addTestSuite(org.codehaus.groovy.wiki.RunWikiTest.class);
    61
    62  // no tests inside (should we have an AbstractGroovyTestCase???)
    63  //
    64  //        suite.addTestSuite(org.codehaus.groovy.classgen.DummyTestDerivation.class);
    65  //        suite.addTestSuite(org.codehaus.groovy.classgen.TestSupport.class);
    66
    67  //  The following classes appear in target/test-classes but do not extend junit.framework.TestCase
    68  //
    69  //        suite.addTestSuite(org.codehaus.groovy.classgen.DerivedBean.class);
    70  //        suite.addTestSuite(org.codehaus.groovy.classgen.DummyReflector.class);
    71  //        suite.addTestSuite(org.codehaus.groovy.classgen.DumpClass.class);
    72  //        suite.addTestSuite(org.codehaus.groovy.classgen.DumpClass2.class);
    73  //        suite.addTestSuite(org.codehaus.groovy.classgen.DumpClass3.class);
    74  //        suite.addTestSuite(org.codehaus.groovy.classgen.DumpClass4.class);
    75  //        suite.addTestSuite(org.codehaus.groovy.classgen.DumpingClassLoader.class);
    76  //        suite.addTestSuite(org.codehaus.groovy.classgen.Main.class);
    77  //        suite.addTestSuite(org.codehaus.groovy.classgen.MyBean.class);
    78  //        suite.addTestSuite(org.codehaus.groovy.classgen.SimpleBean.class);
    79  //        suite.addTestSuite(org.codehaus.groovy.dummy.FooHandler.class);
    80  //        suite.addTestSuite(org.codehaus.groovy.runtime.DummyBean.class);
    81  //        suite.addTestSuite(org.codehaus.groovy.runtime.MockGroovyObject.class);
    82  //        suite.addTestSuite(org.codehaus.groovy.syntax.parser.TestParserSupport.class);
    83  //        suite.addTestSuite(org.codehaus.groovy.tools.DocGeneratorMain.class);
    84
    85  }