public static void main(String[] args) {
    TestRunner runner = new TestRunner();
    LargestTest test1 = new LargestTest("testPositiveNumbers");
    LargestTest test2 = new LargestTest("testDuplicateNumbers");

    TestSuite ts = new TestSuite();
    ts.addTest(test1);
    ts.addTest(test2);

    runner.run(ts);
  }
 public static void main(String[] args) {
   // System.out.println("No tests currently written for FileWordTokenizerTester.");
   TestRunner.run(new TestSuite(FileWordTokenizerTester.class));
 }
Beispiel #3
0
 /**
  * Main method.
  *
  * @param args (ignored) command-line arguments
  */
 public static void main(final String[] args) {
   TestRunner.run(suite());
 }