public abstract class AbstractCactusTestCase
extends junit.framework.TestCase
| Constructor and Description |
|---|
AbstractCactusTestCase()
Default constructor defined in order to allow creating Test Case
without needing to define constructor (new feature in JUnit 3.8.1).
|
AbstractCactusTestCase(java.lang.String theName)
Constructs a JUnit test case with the given name.
|
AbstractCactusTestCase(java.lang.String theName,
junit.framework.Test theTest)
Wraps a pure JUnit Test Case in a Cactus Test Case.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ProtocolHandler |
createProtocolHandler()
Create a protocol handler instance that will be used to connect to the
server side.
|
void |
runBare()
JUnit method that is used to run the tests.
|
void |
runBareServer() |
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSamepublic AbstractCactusTestCase()
public AbstractCactusTestCase(java.lang.String theName)
theName - the name of the test casepublic AbstractCactusTestCase(java.lang.String theName,
junit.framework.Test theTest)
theName - the name of the testtheTest - the Test Case class to wrapprotected abstract ProtocolHandler createProtocolHandler()
public void runBare()
throws java.lang.Throwable
runBare in class junit.framework.TestCasejava.lang.Throwable - if any exception is thrown during the test. Any
exception will be displayed by the JUnit Test Runnerpublic void runBareServer()
throws java.lang.Throwable
java.lang.ThrowableCactusTestCase.runBareServer()Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.