| javax.servlet.http.HttpServlet org.apache.cactus.server.runner.ServletTestRunner
ServletTestRunner | public class ServletTestRunner extends HttpServlet (Code) | | Helper servlet to start a JUnit Test Runner in a webapp.
This class currently does a couple of reflection tricks to avoid a direct
dependancy on the TraX API (javax.xml.transform.* ),
encapsulated in the
org.apache.cactus.internal.server.runner.XMLTransformer class.
version: $Id: ServletTestRunner.java 239016 2004-06-27 15:23:30Z vmassol $ |
init | public void init() throws ServletException(Code) | | Called by the container when the servlet is initialized.
throws: ServletException - If an initialization parameter contains anillegal value |
run | protected String run(String theSuiteClassName, String theXslFileName, String theEncoding) throws ServletException(Code) | | Run the suite tests and return the result.
Parameters: theSuiteClassName - the suite containing the tests to run Parameters: theXslFileName - the name of the XSL stylesheet or null if we don'twant to apply a stylesheet to the returned XML data Parameters: theEncoding - the encoding to use for the returned XML or null ifdefault encoding is to be used the result object exception: ServletException - if the suite failed to be loaded |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|