Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.internal » [javadoc | source]
org.apache.cactus.internal
abstract public class: AbstractTestSuite [javadoc | source]
java.lang.Object
   org.apache.cactus.internal.AbstractTestSuite

All Implemented Interfaces:
    junit.framework.Test

Direct Known Subclasses:
    ServletTestSuite

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.
Constructor:
 public AbstractTestSuite() 
 public AbstractTestSuite(Class theClass) 
    {@inheritDoc}
    Also see:
    junit.framework.TestSuite#TestSuite(Class)
 public AbstractTestSuite(String theName) 
    {@inheritDoc}
    Also see:
    junit.framework.TestSuite#TestSuite(String)
Method from org.apache.cactus.internal.AbstractTestSuite Summary:
addTest,   addTestSuite,   countTestCases,   createCactusTestCase,   createTestSuite,   getName,   getTestConstructor,   run,   runTest,   setName,   testAt,   testCount,   tests,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.internal.AbstractTestSuite Detail:
 protected  void addTest(Test theTest) 
    {@inheritDoc}
 protected  void addTestSuite(Class theTestClass) 
    {@inheritDoc}
 public int countTestCases() 
    {@inheritDoc}
 abstract protected Test createCactusTestCase(String theName,
    Test theTest)
 abstract protected Test createTestSuite(Class theTestClass)
 protected String getName() 
    {@inheritDoc}
 protected static Constructor getTestConstructor(Class theClass) throws NoSuchMethodException 
    Gets a constructor which takes a single String as its argument or a no arg constructor.
 public  void run(TestResult theResult) 
    {@inheritDoc}
 protected  void runTest(Test theTest,
    TestResult theResult) 
    {@inheritDoc}
 protected  void setName(String theName) 
    {@inheritDoc}
 protected Test testAt(int theIndex) 
    {@inheritDoc}
 protected int testCount() 
    {@inheritDoc}
 protected Enumeration tests() 
    {@inheritDoc}
 public String toString() 
    {@inheritDoc}