Class TestExecutionContext
java.lang.Object
org.antublue.test.engine.internal.TestExecutionContext
Class to implement a TestExecutionContext for multithreaded execution
-
Constructor Summary
ConstructorsConstructorDescriptionTestExecutionContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch) Constructor -
Method Summary
Modifier and TypeMethodDescriptionMethod to get the CountDownLatchorg.junit.platform.engine.ExecutionRequestMethod to get the ExecutionRequestMethod to get the test instance ObjectvoidsetTestInstance(Object testInstance) Method to set the test instance Object
-
Constructor Details
-
TestExecutionContext
public TestExecutionContext(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 return value
-
getCountDownLatch
Method to get the CountDownLatch- Returns:
- the return value
-
setTestInstance
Method to set the test instance Object- Parameters:
testInstance- testInstance
-
getTestInstance
Method to get the test instance Object- Returns:
- the return value
-