public abstract class AbstractUniversalTestServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
AbstractUniversalTestServlet()
Construct a test servlet with a test id computed with the method
getTestId(Class). |
| Modifier and Type | Method and Description |
|---|---|
protected PortletTestCase |
getSequence(String testId)
Returns Sequence for current testId Returns null if there is no Sequence for current testId
|
JoinPoint |
getServiceJointpoint() |
abstract void |
reset() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Standart implementation of service() method to handle requests and invoke actions from sequence
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic AbstractUniversalTestServlet()
getTestId(Class).protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletrequest - response - javax.servlet.ServletExceptionIOExceptionprotected PortletTestCase getSequence(String testId) throws javax.servlet.ServletException
javax.servlet.ServletException - if there is no SequenceRegistrypublic JoinPoint getServiceJointpoint()
public abstract void reset()
Copyright © 2003-2016 GateIn. All Rights Reserved.