public class PortletTestContext extends Object
| Constructor and Description |
|---|
PortletTestContext(String testName,
PortletTestCase portletTestCase,
DriverContext driverContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActorId(JoinPointType joinPointType) |
Map<String,Serializable> |
getPayload() |
int |
getRequestCount() |
Response |
getResponse() |
byte[] |
getResponseBody() |
HashMap<String,org.apache.commons.httpclient.Header> |
getResponseHeaders() |
String |
getTestName() |
String |
rewriteURLForNode(String url) |
void |
setInvoked(JoinPoint joinPoint) |
void |
updateResponse(Response response)
Update the context response with the provided response.
|
public PortletTestContext(String testName, PortletTestCase portletTestCase, DriverContext driverContext)
public String getTestName()
public void setInvoked(JoinPoint joinPoint)
public String getActorId(JoinPointType joinPointType)
public Response getResponse()
public void updateResponse(Response response)
response - the new responsepublic int getRequestCount()
public String rewriteURLForNode(String url) throws MalformedURLException
MalformedURLExceptionpublic Map<String,Serializable> getPayload()
public byte[] getResponseBody()
Copyright © 2003-2016 GateIn. All Rights Reserved.