com.meterware.servletunit
Class ServletTestCase
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.meterware.servletunit.ServletTestCase
- All Implemented Interfaces:
- Test
- public abstract class ServletTestCase
- extends TestCase
A base class for test cases to be run via JUnitServlet
.
- Author:
- Russell Gold
Method Summary |
protected ServletUnitClient |
newClient()
Returns a client object which can access the servlet context in which this test is running. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
ServletTestCase
protected ServletTestCase(String name)
newClient
protected final ServletUnitClient newClient()
- Returns a client object which can access the servlet context in which this test is running.