    1   import groovy.inspect.InspectorTest;
    2   import groovy.lang.*;
    3   import groovy.security.SecurityTest;
    4   import groovy.security.SignedJarTest;
    5   import groovy.servlet.GroovyServletTest;
    6   import groovy.text.TemplateTest;
    7   import groovy.text.XmlTemplateEngineTest;
    8   import groovy.tree.NodePrinterTest;
    9   import groovy.util.EvalTest;
    10  import groovy.util.MBeanTest;
    11  import groovy.xml.XmlTest;
    12  import junit.framework.Test;
    13  import junit.framework.TestSuite;
    14
    15  /***
    16   * All Java Unit tests in the 'groovy' dir
    17   */
    18
    19  public class AllGroovyJavaTestsSuite {
    20
    21      public static Test suite() {
    22          TestSuite suite = new TestSuite();
    23          suite.addTestSuite(InspectorTest.class);
    24          suite.addTestSuite(GroovyShellTest.class);
    25          suite.addTestSuite(GStringTest.class);
    26          suite.addTestSuite(IntRangeTest.class);
    27          suite.addTestSuite(MetaClassTest.class);
    28          suite.addTestSuite(RangeTest.class);
    29          suite.addTestSuite(ScriptIntegerDivideTest.class);
    30          suite.addTestSuite(ScriptPrintTest.class);
    31          suite.addTestSuite(ScriptTest.class);
    32          suite.addTestSuite(SequenceTest.class);
    33          suite.addTestSuite(TupleTest.class);
    34          suite.addTestSuite(SecurityTest.class);
    35          suite.addTestSuite(SignedJarTest.class);
    36          suite.addTestSuite(GroovyServletTest.class);
    37          suite.addTestSuite(TemplateTest.class);
    38          suite.addTestSuite(XmlTemplateEngineTest.class);
    39          suite.addTestSuite(NodePrinterTest.class);
    40          suite.addTestSuite(EvalTest.class);
    41          suite.addTestSuite(MBeanTest.class);
    42          suite.addTestSuite(XmlTest.class);
    43
    44          return suite;
    45      }
    46  }