org.jboss.portal.test.framework.driver.web
Class WebTestCase
java.lang.Object
org.jboss.portal.test.framework.driver.remote.RemoteTestCase
org.jboss.portal.test.framework.driver.web.WebTestCase
- All Implemented Interfaces:
- RemoteTestDriver, TestDriver
public abstract class WebTestCase
- extends RemoteTestCase
Defines an http test case working from the server side point of view.
- Version:
- $Revision: 5636 $
- Author:
- Julien Viet
Field Summary |
protected java.lang.String |
path
The test path. |
Constructor Summary |
WebTestCase(java.lang.String testCaseId,
java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected final java.lang.String path
- The test path.
WebTestCase
public WebTestCase(java.lang.String testCaseId,
java.lang.String path)
invoke
public DriverResponse invoke(java.lang.String testId,
DriverCommand cmd)
throws TestDriverException
- The implementation will return an
GetPageResponse
response in reaction to the StartTestCommand
.
All other commands will be delegated to the execute(DriverCommand,TestContext)
- Throws:
TestDriverException
execute
public DriverResponse execute(DriverCommand driverCommand,
TestContext testContext)
throws java.lang.Exception
- Throws:
java.lang.Exception