public static Test suite() {
   TestSuite suite = new TestSuite();
   java.util.Vector<String> methodNames = methodNames();
   java.util.Enumeration<String> e = methodNames.elements();
   while (e.hasMoreElements()) {
     suite.addTest(new Test_org_eclipse_swt_widgets_FileDialog(e.nextElement()));
   }
   return suite;
 }
 public static Test suite() {
   TestSuite suite = new TestSuite();
   java.util.Vector methodNames = methodNames();
   java.util.Enumeration e = methodNames.elements();
   while (e.hasMoreElements()) {
     suite.addTest(new Test_org_eclipse_swt_browser_ProgressListener((String) e.nextElement()));
   }
   return suite;
 }
 public static Test suite() {
   TestSuite suite = new TestSuite();
   java.util.Vector methodNames = methodNames();
   java.util.Enumeration e = methodNames.elements();
   while (e.hasMoreElements()) {
     suite.addTest(new Test_org_eclipse_swt_custom_LineStyleEvent((String) e.nextElement()));
   }
   return suite;
 }
예제 #4
0
  /**
   * To create the test suite. You need to add a new aSuite.addTest entry for any new test methods.
   *
   * @return New testsuite.
   */
  public static Test suite() {
    TestSuite suite = new TestSuite();

    java.util.Vector methodNames;
    java.util.Enumeration e;

    // Add widget tests
    methodNames = GaugeTest.methodNames();
    e = methodNames.elements();
    while (e.hasMoreElements()) {
      suite.addTest(new GaugeTest((String) e.nextElement()));
    }

    return suite;
  }