| |
|
| java.lang.Object org.apache.cactus.internal.AbstractTestSuite
All known Subclasses: org.apache.cactus.ServletTestSuite,
AbstractTestSuite | abstract public class AbstractTestSuite implements Test(Code) | | Test Suite that wraps all the tests of the suite in Cactus Test Case
objects so that pure JUnit tests can be run on the server side.
version: $Id: AbstractTestSuite.java 238991 2004-05-22 11:34:50Z vmassol $ since: 1.5 |
AbstractTestSuite | public AbstractTestSuite()(Code) | | See Also: junit.framework.TestSuite.TestSuite |
AbstractTestSuite | public AbstractTestSuite(Class theClass)(Code) | | See Also: junit.framework.TestSuite.TestSuite(Class) |
AbstractTestSuite | public AbstractTestSuite(String theName)(Code) | | See Also: junit.framework.TestSuite.TestSuite(String) |
addTest | protected void addTest(Test theTest)(Code) | | See Also: junit.framework.TestSuite.addTest(Test) |
addTestSuite | protected void addTestSuite(Class theTestClass)(Code) | | See Also: junit.framework.TestSuite.addTestSuite(Class) |
countTestCases | public int countTestCases()(Code) | | See Also: junit.framework.TestSuite.countTestCases |
createCactusTestCase | abstract protected Test createCactusTestCase(String theName, Test theTest)(Code) | | Parameters: theName - the name of the Cactus Test Case Parameters: theTest - the wrapped test a Cactus Test Case object initialized with the give name andwrapped test |
createTestSuite | abstract protected Test createTestSuite(Class theTestClass)(Code) | | Parameters: theTestClass - the test class containing the tests to be includedin the Cactus Test Suite a Cactus Test Suite (ex: ServletTestSuite) initialized with atest class |
getName | protected String getName()(Code) | | See Also: junit.framework.TestSuite.getName |
getTestConstructor | protected static Constructor getTestConstructor(Class theClass) throws NoSuchMethodException(Code) | | Gets a constructor which takes a single String as
its argument or a no arg constructor.
Parameters: theClass - the class for which to find the constructor the valid constructor found exception: NoSuchMethodException - if no valid constructor isfound |
run | public void run(TestResult theResult)(Code) | | See Also: junit.framework.TestSuite.run(TestResult) |
runTest | protected void runTest(Test theTest, TestResult theResult)(Code) | | See Also: junit.framework.TestSuite.runTest(TestTestResult) |
setName | protected void setName(String theName)(Code) | | See Also: junit.framework.TestSuite.setName(String) |
testAt | protected Test testAt(int theIndex)(Code) | | See Also: junit.framework.TestSuite.testAt(int) |
testCount | protected int testCount()(Code) | | See Also: junit.framework.TestSuite.testCount |
toString | public String toString()(Code) | | See Also: junit.framework.TestSuite.toString |
|
|
|