org.jboss.portal.test.framework.junit
Class JUnitAdapter
java.lang.Object
org.jboss.portal.test.framework.junit.JUnitAdapter
- All Implemented Interfaces:
- junit.framework.Test
public class JUnitAdapter
- extends java.lang.Object
- implements junit.framework.Test
A runner that adapts the junit.framework.Test
interface to the TestDriver
protocol.
- Version:
- $Revision: 7228 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitAdapter
public JUnitAdapter(TestDriver test,
java.util.Map parameterMap)
throws java.lang.Exception
- Throws:
java.lang.Exception
JUnitAdapter
public JUnitAdapter(TestDriver test,
TestParametrization parametrization)
throws java.lang.Exception
- Throws:
java.lang.Exception
JUnitAdapter
public JUnitAdapter(TestDriver test)
throws java.lang.Exception
- Throws:
java.lang.Exception
countTestCases
public int countTestCases()
- Specified by:
countTestCases
in interface junit.framework.Test
run
public void run(junit.framework.TestResult result)
- Specified by:
run
in interface junit.framework.Test
getParametrization
public static TestParametrization getParametrization()