    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 groovy.xml.FactorySupportTest;
    13  import junit.framework.Test;
    14  import junit.framework.TestSuite;
    15
    16  /***
    17   * All Java Unit tests in the 'groovy' dir
    18   */
    19
    20  public class AllGroovyJavaTestsSuite {
    21
    22      public static Test suite() {
    23          TestSuite suite = new TestSuite();
    24          suite.addTestSuite(InspectorTest.class);
    25          suite.addTestSuite(GroovyShellTest.class);
    26          suite.addTestSuite(GStringTest.class);
    27          suite.addTestSuite(IntRangeTest.class);
    28          suite.addTestSuite(MetaClassTest.class);
    29          suite.addTestSuite(RangeTest.class);
    30          suite.addTestSuite(ScriptIntegerDivideTest.class);
    31          suite.addTestSuite(ScriptPrintTest.class);
    32          suite.addTestSuite(ScriptTest.class);
    33          suite.addTestSuite(SequenceTest.class);
    34          suite.addTestSuite(TupleTest.class);
    35          suite.addTestSuite(SecurityTest.class);
    36          suite.addTestSuite(SignedJarTest.class);
    37          suite.addTestSuite(GroovyServletTest.class);
    38          suite.addTestSuite(TemplateTest.class);
    39          suite.addTestSuite(XmlTemplateEngineTest.class);
    40          suite.addTestSuite(NodePrinterTest.class);
    41          suite.addTestSuite(EvalTest.class);
    42          suite.addTestSuite(MBeanTest.class);
    43          suite.addTestSuite(XmlTest.class);
    44          suite.addTestSuite(FactorySupportTest.class);
    45
    46          return suite;
    47      }
    48  }