Package | Description |
---|---|
com.meterware.servletunit |
Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container.
|
Modifier and Type | Method and Description |
---|---|
ServletUnitClient |
ServletRunner.newClient()
Creates and returns a new web client that communicates with this servlet runner.
|
protected ServletUnitClient |
ServletTestCase.newClient()
Returns a client object which can access the servlet context in which this test is running.
|
static ServletUnitClient |
ServletUnitClient.newClient(InvocationContextFactory factory)
Creates and returns a new servlet unit client instance.
|
Modifier and Type | Method and Description |
---|---|
InvocationContext |
InvocationContextFactory.newInvocation(ServletUnitClient client,
FrameSelector targetFrame,
WebRequest request,
Dictionary clientHeaders,
byte[] messageBody)
Creates and returns a new invocation context to test calling of servlet methods.
|
Copyright © 2012. All Rights Reserved.