org.jboss.portal.test.framework.runner
Class BaseRunner
java.lang.Object
org.jboss.portal.test.framework.runner.BaseRunner
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- HTTPTestRunner, WebTestRunner
public class BaseRunner
- extends java.lang.Object
- implements junit.framework.Test
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Constructor Summary |
BaseRunner(java.lang.String beansDescriptorLocation)
|
BaseRunner(java.lang.String beansDescriptorLocation,
NodeId[] nodeIds)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseRunner
public BaseRunner(java.lang.String beansDescriptorLocation)
BaseRunner
public BaseRunner(java.lang.String beansDescriptorLocation,
NodeId[] nodeIds)
getArchivePath
public java.lang.String getArchivePath()
getDeployer
public Deployer getDeployer()
setDeployer
public void setDeployer(Deployer deployer)
getNodeManager
public NodeManager getNodeManager()
setNodeManager
public void setNodeManager(NodeManager nodeManager)
getTestDriverClient
public RemoteTestDriverClient getTestDriverClient()
setTestDriverClient
public void setTestDriverClient(RemoteTestDriverClient testDriverClient)
countTestCases
public int countTestCases()
- Specified by:
countTestCases
in interface junit.framework.Test
run
public void run(junit.framework.TestResult testResult)
- Specified by:
run
in interface junit.framework.Test
startRunner
protected void startRunner()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopRunner
protected void stopRunner()
throws java.lang.Exception
- Throws:
java.lang.Exception
create
public final void create()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public final void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public final void stop()
destroy
public final void destroy()
deploy
protected void deploy(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
protected void undeploy(java.net.URL url)