FileDocCategorySizeDatePackage
JUnitTestsMain.javaAPI DocGlassfish v2 API3438Fri May 04 22:24:54 BST 2007com.sun.cli.jmx.test

JUnitTestsMain

public class JUnitTestsMain 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 );