The test invoker will handle the instrumentation and dependency information retrieval of the invoked test cases.
The test invocation can be performed in runTest(
Clients should extend this class.
public | Creates a new testing invoker. |
protected final JavaTestInvocationResult | invokeTestImpl( Invokes the test. |
protected abstract void | runTest( Executes the test with the given parameters. |
From: BasicJavaTestingInvoker |
From: Object |
This method is called by BasicJavaTestingInvoker.invokeTest(
The arguments are the same as for the invokeTest method.
null
.)The method should succeed if and only if the test case is considered successful, and throw InvocationTargetException if the test case failed.
You can load the test class with the name TestInvocationParameters.getTestClassName() from the BasicJavaTestingInvoker.getTestClassLoader().