|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.castor.xmlctf.TestCaseAggregator
public class TestCaseAggregator
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.
| Field Summary | |
|---|---|
static java.lang.String |
PRINT_STACK_TRACE
Name of the system property to set up the printStackTrace mode. |
static java.lang.String |
VERBOSE_PROPERTY
Name of the system property to set up the verbose mode. |
| Constructor Summary | |
|---|---|
|
TestCaseAggregator(java.io.File directory,
java.lang.String testOutputRoot)
Create a new TestCaseAggregator which will inspect the directory given in parameter. |
protected |
TestCaseAggregator(java.io.File directory,
java.lang.String directoryToHere,
java.lang.String testOutputRoot)
Create a new TestCaseAggregator which will inspect the directory given in parameter. |
|
TestCaseAggregator(java.lang.String name)
Creates a new TestCaseAggregator with the given name. |
| Method Summary | |
|---|---|
junit.framework.Test |
suite()
Assembles and returns a test suite containing all known tests. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERBOSE_PROPERTY
public static final java.lang.String PRINT_STACK_TRACE
| Constructor Detail |
|---|
public TestCaseAggregator(java.lang.String name)
name - the name of this TestCaseAggregator
public TestCaseAggregator(java.io.File directory,
java.lang.String testOutputRoot)
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.
protected TestCaseAggregator(java.io.File directory,
java.lang.String directoryToHere,
java.lang.String testOutputRoot)
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.| Method Detail |
|---|
public junit.framework.Test suite()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||