org.apache.cactus
Class ServletTestSuite

java.lang.Object
  extended byorg.apache.cactus.AbstractTestSuite
      extended byorg.apache.cactus.ServletTestSuite
All Implemented Interfaces:
junit.framework.Test

public class ServletTestSuite
extends AbstractTestSuite

TestSuite wrapper that wraps all the tests of the suite in Cactus ServletTestCase objects.

Since:
1.5
Version:
$Id: ServletTestSuite.java,v 1.1 2003/02/23 18:05:19 vmassol Exp $
Author:
Vincent Massol

Constructor Summary
ServletTestSuite()
           
ServletTestSuite(java.lang.Class theClass)
           
ServletTestSuite(java.lang.String theName)
           
 
Method Summary
protected  junit.framework.Test createCactusTestCase(java.lang.String theName, junit.framework.Test theTest)
           
protected  junit.framework.Test createTestSuite(java.lang.Class theTestClass)
           
 
Methods inherited from class org.apache.cactus.AbstractTestSuite
addTest, addTestSuite, countTestCases, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletTestSuite

public ServletTestSuite()
See Also:
AbstractTestSuite.AbstractTestSuite()

ServletTestSuite

public ServletTestSuite(java.lang.Class theClass)
See Also:
AbstractTestSuite.AbstractTestSuite(Class)

ServletTestSuite

public ServletTestSuite(java.lang.String theName)
See Also:
AbstractTestSuite.AbstractTestSuite(String)
Method Detail

createTestSuite

protected junit.framework.Test createTestSuite(java.lang.Class theTestClass)
Specified by:
createTestSuite in class AbstractTestSuite
Parameters:
theTestClass - the test class containing the tests to be included in the Cactus Test Suite
Returns:
a Cactus Test Suite (ex: ServletTestSuite) initialized with a test class
See Also:
AbstractTestSuite.createTestSuite(Class)

createCactusTestCase

protected junit.framework.Test createCactusTestCase(java.lang.String theName,
                                                    junit.framework.Test theTest)
Specified by:
createCactusTestCase in class AbstractTestSuite
Parameters:
theName - the name of the Cactus Test Case
theTest - the wrapped test
Returns:
a Cactus Test Case object initialized with the give name and wrapped test
See Also:
AbstractTestSuite.createCactusTestCase(String, Test)


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.