org.jboss.portal.common.test.junit
Class JUnitAdapter

java.lang.Object
  extended by org.jboss.portal.common.test.junit.JUnitAdapter

public class JUnitAdapter
extends java.lang.Object

An runner that adapts the junit.framework.Test interface to the TestDriver protocol.

Version:
$Revision: 7228 $
Author:
Julien Viet

Constructor Summary
JUnitAdapter(TestDriver test)
           
JUnitAdapter(TestDriver test, java.util.Map parameterMap)
           
JUnitAdapter(TestDriver test, TestParametrization parametrization)
           
 
Method Summary
 int countTestCases()
           
static TestParametrization getParametrization()
           
 void run(TestResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

countTestCases

public int countTestCases()

run

public void run(TestResult result)

getParametrization

public static TestParametrization getParametrization()