Class InVMExecution
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junitlauncher.InVMExecution
- All Implemented Interfaces:
TestExecutionContext
Used during in-vm (non-forked mode) launching of tests
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InVMExecution
-
-
Method Details
-
getProperties
- Specified by:
getProperties
in interfaceTestExecutionContext
- Returns:
- Returns the properties that were used for the execution of the test
-
getProject
- Specified by:
getProject
in interfaceTestExecutionContext
- Returns:
- Returns the
Project
in whose context the test is being executed. TheProject
is sometimes not available, like in the case where the test is being run in a forked mode, in such cases this method returnsan empty value
-