Developer's Daily Java Education - Test Projects
  front page | java | perl | unix | DevDirectory
   
Front Page
Java
Education
   
 


package PACKAGENAME;

import junit.framework.*;
import NEEDED_IMPORTS;

/**
 * TestSuite that runs all the sample tests
 */
public class AllTests
{

  public AllTests()
  {
    super();
  }

  public static void main (String[] args)
  {
    junit.textui.TestRunner.run ( suite() );
  }

  public static Test suite ( )
  {
    TestSuite suite= new TestSuite("All JUnit Tests");

    suite.addTest( StringUtilTests.suite() );
    suite.addTest( EmailAddressValidatorTests.suite() );

    return suite;
  }

}
Copyright 1998-2003 DevDaily Interactive, Inc.
All Rights Reserved.