org.jboss.portal.test.framework.junit
Class POJOJUnitTest
java.lang.Object
org.jboss.portal.test.framework.junit.POJOJUnitTest
- All Implemented Interfaces:
- TestDriver
public class POJOJUnitTest
- extends java.lang.Object
- implements TestDriver
Test an object based on junit infrastructure + some conventions.
- Version:
- $Revision: 7373 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POJOJUnitTest
public POJOJUnitTest(java.lang.Object test)
POJOJUnitTest
public POJOJUnitTest(java.lang.Class testClass)
getInfo
public TestItemInfo getInfo()
- Description copied from interface:
TestDriver
- Returns the meta information exposed by the driver.
- Specified by:
getInfo
in interface TestDriver
invoke
public DriverResponse invoke(java.lang.String testId,
DriverCommand command)
throws TestDriverException
- Description copied from interface:
TestDriver
- Execute a command of the testing protocol.
- Specified by:
invoke
in interface TestDriver
- Throws:
TestDriverException
createTestSuite
public static junit.framework.TestSuite createTestSuite(java.lang.Class testClass,
java.util.Map parameterMap)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTestSuite
public static junit.framework.TestSuite createTestSuite(java.lang.Class testClass)
throws java.lang.Exception
- Throws:
java.lang.Exception