org.apache.tuscany.sca.host.embedded
Class SCATestCaseRunner

java.lang.Object
  extended by org.apache.tuscany.sca.host.embedded.SCATestCaseRunner

public class SCATestCaseRunner
extends java.lang.Object

A helper class that can be used to run an SCA JUnit test case. The test case will run in an isolated class loader.


Constructor Summary
SCATestCaseRunner(java.lang.Class testClass)
          Constructs a new TestCase runner.
 
Method Summary
 void after()
          Invoke the after methods
 void afterClass()
          Invoke the afterClass methods
 void before()
          Invoke the before methods
 void beforeClass()
          Invoke the beforeClass methods
 void run()
          Run the test case
 void run(java.lang.String methodName)
          Invoke the specified test method.
 void setUp()
          Invoke the setUp method
 void tearDown()
          Invoke the tearDown method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCATestCaseRunner

public SCATestCaseRunner(java.lang.Class testClass)
Constructs a new TestCase runner.

Parameters:
testClass -
Method Detail

run

public void run()
Run the test case


setUp

public void setUp()
Invoke the setUp method


before

public void before()
Invoke the before methods


beforeClass

public void beforeClass()
Invoke the beforeClass methods


tearDown

public void tearDown()
Invoke the tearDown method


after

public void after()
Invoke the after methods


afterClass

public void afterClass()
Invoke the afterClass methods


run

public void run(java.lang.String methodName)
Invoke the specified test method.