org.jboss.portal.test.framework.driver.http
Class HTTPTestCase
java.lang.Object
org.jboss.portal.test.framework.driver.remote.RemoteTestCase
org.jboss.portal.test.framework.driver.http.HTTPTestCase
- All Implemented Interfaces:
- RemoteTestDriver, TestDriver
public abstract class HTTPTestCase
- 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.net.URI |
uri
The test path. |
Constructor Summary |
HTTPTestCase(java.lang.String testCaseId,
java.lang.String uri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected final java.net.URI uri
- The test path.
HTTPTestCase
public HTTPTestCase(java.lang.String testCaseId,
java.lang.String uri)
invoke
public DriverResponse invoke(java.lang.String testId,
DriverCommand cmd)
throws TestDriverException
- The implementation will return an
InvokeGetResponse
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