Class ExecutorContext
java.lang.Object
org.antublue.test.engine.internal.ExecutorContext
Class to implement an executor context
-
Constructor Summary
ConstructorsConstructorDescriptionExecutorContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()Method to mark the execution context completeorg.junit.platform.engine.ExecutionRequestMethod to get the ExecutionRequestMethod to get the test instancevoidsetTestInstance(Object testInstance) Method to set the testInstance
-
Constructor Details
-
ExecutorContext
public ExecutorContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch) Constructor- Parameters:
executionRequest- executionRequestcountDownLatch- countDownLatch
-
-
Method Details
-
getExecutionRequest
public org.junit.platform.engine.ExecutionRequest getExecutionRequest()Method to get the ExecutionRequest- Returns:
- the ExecutionRequest
-
setTestInstance
Method to set the testInstance- Parameters:
testInstance- testInstance
-
getTestInstance
Method to get the test instance- Returns:
- the testInstance
-
complete
public void complete()Method to mark the execution context complete
-