org.jboss.portal.test.framework.driver.remote
Class RemoteTestDriverServer

java.lang.Object
  extended by org.jboss.portal.test.framework.driver.AbstractTestDriverServer
      extended by org.jboss.portal.test.framework.driver.remote.RemoteTestDriverServer
All Implemented Interfaces:
RemoteTestDriver, TestDriver, TestDriverContainer

public class RemoteTestDriverServer
extends AbstractTestDriverServer
implements RemoteTestDriver, TestDriverContainer

Version:
$Revision: 5636 $
Author:
Julien Viet

Field Summary
 
Fields inherited from interface org.jboss.portal.test.framework.driver.remote.RemoteTestDriver
SERVICE_ID
 
Constructor Summary
RemoteTestDriverServer()
           
 
Method Summary
 void addDriver(TestDriver driver)
          Add a driver.
 TestDriver getDriver(java.lang.String testId)
          Return a driver that is able to understand the specified id.
 TestItemInfo getInfo()
          Returns the meta information exposed by the driver.
 DriverResponse invoke(java.lang.String testId, DriverCommand cmd)
          Execute a command of the testing protocol.
 TestContext popContext(java.lang.String testId)
          A client pop of an http test context for a specific test.
 void pushContext(java.lang.String testId, TestContext testContext)
          A client side push of an http test context for a specific test.
 void removeDriver(TestDriver driver)
          Remove a driver.
 
Methods inherited from class org.jboss.portal.test.framework.driver.AbstractTestDriverServer
getAgent, setAgent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTestDriverServer

public RemoteTestDriverServer()
Method Detail

pushContext

public void pushContext(java.lang.String testId,
                        TestContext testContext)
Description copied from interface: RemoteTestDriver
A client side push of an http test context for a specific test.

Specified by:
pushContext in interface RemoteTestDriver

popContext

public TestContext popContext(java.lang.String testId)
Description copied from interface: RemoteTestDriver
A client pop of an http test context for a specific test.

Specified by:
popContext in interface RemoteTestDriver

addDriver

public void addDriver(TestDriver driver)
Description copied from interface: TestDriverContainer
Add a driver.

Specified by:
addDriver in interface TestDriverContainer

removeDriver

public void removeDriver(TestDriver driver)
Description copied from interface: TestDriverContainer
Remove a driver.

Specified by:
removeDriver in interface TestDriverContainer

getDriver

public TestDriver getDriver(java.lang.String testId)
Description copied from interface: TestDriverContainer
Return a driver that is able to understand the specified id.

Specified by:
getDriver in interface TestDriverContainer
Returns:

invoke

public DriverResponse invoke(java.lang.String testId,
                             DriverCommand cmd)
                      throws TestDriverException
Description copied from interface: TestDriver
Execute a command of the testing protocol.

Specified by:
invoke in interface TestDriver
Throws:
TestDriverException

getInfo

public TestItemInfo getInfo()
Description copied from interface: TestDriver
Returns the meta information exposed by the driver.

Specified by:
getInfo in interface TestDriver