FileDocCategorySizeDatePackage
TestsMain.javaAPI DocGlassfish v2 API2993Fri May 04 22:24:18 BST 2007com.sun.enterprise.admin.dottedname

TestsMain

public class TestsMain extends Object

Fields Summary
static final Class[]
TEST_CLASSES
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		final Iterator iter	= Arrays.asList( TEST_CLASSES ).iterator();

		while ( iter.hasNext() )
		{
			final Class	theClass	= (Class)iter.next();

			testClass( theClass );
		}
	
static voidtestClass(java.lang.Class theClass)


		 
	   
	
		System.out.println( "*** testing " + theClass.getName() + " ***");
		// use 'ActiveTestSuite' to thread the tests
		final ActiveTestSuite	suite	= new ActiveTestSuite( theClass );
		junit.textui.TestRunner.run( suite );