org.castor.xmlctf
Class TestCaseAggregator
TestCase
org.castor.xmlctf.TestCaseAggregator
public class TestCaseAggregator
extends TestCase
This class is used to inspect recursively a hierarchy of directories that
contain CTF tests (jars or directories). A JUnit TestSuite is created for
each directory.
$Revision: 6787 $ $Date: 2006-04-26 15:14:53 -0600 (Wed, 26 Apr 2006) $static String | PRINT_STACK_TRACE - Name of the system property to set up the printStackTrace mode.
|
static String | VERBOSE_PROPERTY - Name of the system property to set up the verbose mode.
|
TestCaseAggregator(File directory, String testOutputRoot) - Create a new TestCaseAggregator which will inspect the directory given in
parameter.
|
TestCaseAggregator(File directory, String directoryToHere, String testOutputRoot) - Create a new TestCaseAggregator which will inspect the directory given in
parameter.
|
TestCaseAggregator(String name) - Creates a new TestCaseAggregator with the given name.
|
Test | suite() - Assembles and returns a test suite containing all known tests.
|
PRINT_STACK_TRACE
public static final String PRINT_STACK_TRACE
Name of the system property to set up the printStackTrace mode.
VERBOSE_PROPERTY
public static final String VERBOSE_PROPERTY
Name of the system property to set up the verbose mode.
TestCaseAggregator
public TestCaseAggregator(File directory,
String testOutputRoot)
Create a new TestCaseAggregator which will inspect the directory given in
parameter.
directory
- the directory to inspect for test case and subdirectorytestOutputRoot
- the path to the directory where the test in this
directory can put there temporary files.
TestCaseAggregator
protected TestCaseAggregator(File directory,
String directoryToHere,
String testOutputRoot)
Create a new TestCaseAggregator which will inspect the directory given in
parameter.
directory
- the directory to inspect for test case and subdirectorydirectoryToHere
- the directory path above "directory"testOutputRoot
- the path to the directory where the test in this
directory can put there temporary files.
TestCaseAggregator
public TestCaseAggregator(String name)
Creates a new TestCaseAggregator with the given name.
name
- the name of this TestCaseAggregator
suite
public Test suite()
Assembles and returns a test suite containing all known tests.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com