| org.apache.cactus.internal.AbstractCactusTestCase
All known Subclasses: org.apache.cactus.ServletTestCase, org.apache.cactus.FilterTestCase,
AbstractCactusTestCase | abstract public class AbstractCactusTestCase extends TestCase (Code) | | Base class for all Cactus test case extensions.
Note: We must not add any method that can be called by the end user to this
class as users will those methods and it will create a runtime dependency to
this class. We will then have to break binary compatibility if we wish to
move this class around or change its implementation.
version: $Id: AbstractCactusTestCase.java 238991 2004-05-22 11:34:50Z vmassol $ since: 1.6 |
Constructor Summary | |
public | AbstractCactusTestCase() Default constructor defined in order to allow creating Test Case
without needing to define constructor (new feature in JUnit 3.8.1).
Should only be used with JUnit 3.8.1 or greater. | public | AbstractCactusTestCase(String theName) Constructs a JUnit test case with the given name. | public | AbstractCactusTestCase(String theName, Test theTest) Wraps a pure JUnit Test Case in a Cactus Test Case. |
AbstractCactusTestCase | public AbstractCactusTestCase()(Code) | | Default constructor defined in order to allow creating Test Case
without needing to define constructor (new feature in JUnit 3.8.1).
Should only be used with JUnit 3.8.1 or greater.
|
AbstractCactusTestCase | public AbstractCactusTestCase(String theName)(Code) | | Constructs a JUnit test case with the given name.
Parameters: theName - the name of the test case |
AbstractCactusTestCase | public AbstractCactusTestCase(String theName, Test theTest)(Code) | | Wraps a pure JUnit Test Case in a Cactus Test Case.
Parameters: theName - the name of the test Parameters: theTest - the Test Case class to wrap |
createProtocolHandler | abstract protected ProtocolHandler createProtocolHandler()(Code) | | Create a protocol handler instance that will be used to connect to the
server side.
the protocol handler instance |
runBare | public void runBare() throws Throwable(Code) | | JUnit method that is used to run the tests. However, we're intercepting
it so that we can call the server side of Cactus where the tests will
be run (instead of on the client side).
exception: Throwable - if any exception is thrown during the test. Anyexception will be displayed by the JUnit Test Runner |
|
|