org.apache.commons.cactus.server
Class ServletTestCaller
java.lang.Object
|
+--org.apache.commons.cactus.server.ServletTestCaller
- public class ServletTestCaller
- extends java.lang.Object
Call the test method on the server side after assigning the servlet implicit
objects using reflection and retri
- Version:
- 1.1
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletTestCaller
public ServletTestCaller()
doTest
public void doTest(ServletImplicitObjects theObjects)
throws javax.servlet.ServletException
- Calls a test method. The parameters needed to call this method are found
in the HTTP request. Save the results in the
application
scope so that the Get Test Result service can find them.
- Parameters:
theObjects
- the implicit objects that will be assigned by
reflection to the test class.- Throws:
javax.servlet.ServletException
- if an unexpected error occurred
doGetResults
public void doGetResults(ServletImplicitObjects theObjects)
throws javax.servlet.ServletException
- Return the last test results as a serialized object in the HTTP response.
- Parameters:
theObjects
- the implicit objects that will be assigned by
reflection to the test class.- Throws:
javax.servlet.ServletException
- if an unexpected error occurred
Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.