public class InVMExecution extends java.lang.Object implements TestExecutionContext
Constructor and Description |
---|
InVMExecution(JUnitLauncherTask task) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Project> |
getProject() |
java.util.Properties |
getProperties() |
public InVMExecution(JUnitLauncherTask task)
public java.util.Properties getProperties()
getProperties
in interface TestExecutionContext
public java.util.Optional<Project> getProject()
getProject
in interface TestExecutionContext
Project
in whose context the test is being executed.
The Project
is sometimes not available, like in the case where
the test is being run in a forked mode, in such cases this method returns
an empty value