Package org.castor.xmlctf
Class CastorTestSuiteRunner
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.castor.xmlctf.CastorTestSuiteRunner
- All Implemented Interfaces:
junit.framework.Test
public class CastorTestSuiteRunner
extends junit.framework.TestCase
Start tests for the Castor Testing Framework. This is the main class for the
Castor Testing Framework. It is all driven from here.
- Version:
- $Revision:6775 $ $Date: 2005-12-31 08:08:19 -0700 (Sat, 31 Dec 2005) $
- Author:
- Sebastien Gignoux, Arnaud Blandin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The root directory of the place where all the files generated by the different tests have to be put. -
Constructor Summary
ConstructorsConstructorDescriptionCastorTestSuiteRunner
(String name) Default constructor that takes a name per test case. -
Method Summary
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
Field Details
-
TEST_OUTPUT_ROOT
The root directory of the place where all the files generated by the different tests have to be put.- See Also:
-
-
Constructor Details
-
CastorTestSuiteRunner
Default constructor that takes a name per test case.- Parameters:
name
- test case name
-
-
Method Details
-
suite
public static junit.framework.Test suite()Starts a TestCaseAggregator to collect all the tests in the test root directory and its subdirectories.- Returns:
- A non-null test suite.
-
main
Runs the Castor Testing Framework.- Parameters:
args
- the standard command-line arguments
-