| org.hamletsoft.enhydra.cactus.business.EnhydraAppTestCaller
EnhydraAppTestCaller | public class EnhydraAppTestCaller extends AbstractWebTestCaller (Code) | | Responsible for instanciating the TestCase class on the server
side, set up the implicit objects and call the test method.
author: Ryuji "The Hamlet" Hattori version: $Id: EnhydraAppTestCaller.java,v 1.1 2006-09-11 12:30:51 sinisa Exp $ |
Field Summary | |
protected static Logger | logger |
logger | protected static Logger logger(Code) | | The logger
|
getResponseWriter | protected Writer getResponseWriter() throws IOException(Code) | | a Writer object that will be used to return thetest result to the client side. exception: IOException - if an error occurs when retrieving the writer |
getTestClassClass | protected Class getTestClassClass(String theClassName) throws ServletException(Code) | | Overwrite Methods. because of need to load class by presentation class loader.
Parameters: theClassName - the name of the test class Parameters: theTestCaseName - the name of the current test case the class object the test class to call |
setTestCaseFields | protected void setTestCaseFields(AbstractTestCase theTestInstance) throws Exception(Code) | | Sets the test case fields using the implicit objects (using reflection).
Parameters: theTestInstance - the test class instance |
|
|