public class ServletTestSuite extends AbstractTestSuite
TestSuite
wrapper that wraps all the tests of the
suite in Cactus ServletTestCase
objects.Constructor and Description |
---|
ServletTestSuite() |
ServletTestSuite(java.lang.Class theClass) |
ServletTestSuite(java.lang.String theName) |
Modifier and Type | Method and Description |
---|---|
void |
addTest(junit.framework.Test theTest) |
void |
addTestSuite(java.lang.Class theTestClass) |
protected junit.framework.Test |
createCactusTestCase(java.lang.String theName,
junit.framework.Test theTest) |
protected junit.framework.Test |
createTestSuite(java.lang.Class theTestClass) |
countTestCases, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString
public ServletTestSuite()
public ServletTestSuite(java.lang.Class theClass)
public ServletTestSuite(java.lang.String theName)
public void addTest(junit.framework.Test theTest)
public void addTestSuite(java.lang.Class theTestClass)
protected junit.framework.Test createTestSuite(java.lang.Class theTestClass)
createTestSuite
in class AbstractTestSuite
theTestClass
- the test class containing the tests to be included
in the Cactus Test SuiteAbstractTestSuite.createTestSuite(Class)
protected junit.framework.Test createCactusTestCase(java.lang.String theName, junit.framework.Test theTest)
createCactusTestCase
in class AbstractTestSuite
theName
- the name of the Cactus Test CasetheTest
- the wrapped testAbstractTestSuite.createCactusTestCase(String, Test)
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.