Package | Description |
---|---|
com.meterware.httpunit |
Classes for testing http server systems.
|
com.meterware.servletunit |
Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container.
|
Modifier and Type | Field and Description |
---|---|
static FrameSelector |
FrameSelector.TOP_FRAME |
Modifier and Type | Method and Description |
---|---|
FrameSelector |
WebRequestSource.getFrame()
Returns the frame containing this request source.
|
Modifier and Type | Method and Description |
---|---|
WebResponse |
WebClient.getFrameContents(FrameSelector targetFrame)
Returns the response associated with the specified frame name in the main window.
|
protected abstract WebResponse |
WebClient.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.
|
protected WebResponse |
WebConversation.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.
|
protected void |
WebClient.updateMainWindow(FrameSelector frame,
WebResponse response)
Updates this web client based on a received response.
|
Constructor and Description |
---|
BlockElement(WebResponse response,
FrameSelector frame,
URL baseURL,
String baseTarget,
Node rootNode,
String characterSet) |
HeaderOnlyWebRequest(URL urlBase,
String urlString,
FrameSelector frame,
String target) |
TextBlock(WebResponse response,
FrameSelector frame,
URL baseURL,
String baseTarget,
Node rootNode,
String characterSet) |
WebList(WebResponse response,
FrameSelector frame,
URL baseURL,
String baseTarget,
Element element,
String characterSet) |
WebRequest(URL urlBase,
String urlString,
FrameSelector frame,
String target)
Constructs a web request using a base URL, a relative URL string, and a target.
|
WebResponse(WebClient client,
FrameSelector frame,
URL url)
Constructs a response object.
|
WebResponse(WebClient client,
FrameSelector frame,
URL url,
String text)
Constructs a response object.
|
Modifier and Type | Method and Description |
---|---|
FrameSelector |
InvocationContext.getFrame()
Returns the target frame for the original request.
|
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.
|
protected WebResponse |
ServletUnitClient.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.
|
Copyright © 2012. All Rights Reserved.