com.meterware.servletunit
Class ServletTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.meterware.servletunit.ServletTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class ServletTestCase
extends junit.framework.TestCase

A base class for test cases to be run via JUnitServlet.

Author:
Russell Gold

Constructor Summary
protected ServletTestCase(java.lang.String name)
           
 
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, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletTestCase

protected ServletTestCase(java.lang.String name)
Method Detail

newClient

protected final ServletUnitClient newClient()
Returns a client object which can access the servlet context in which this test is running.


Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.