Class TestExecutionContext
- java.lang.Object
-
- org.antublue.test.engine.internal.TestExecutionContext
-
public class TestExecutionContext extends Object
Class to implement a TestExecutionContext for multithreaded execution
-
-
Constructor Summary
Constructors Constructor Description TestExecutionContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CountDownLatchgetCountDownLatch()Method to get the CountDownLatchorg.junit.platform.engine.ExecutionRequestgetExecutionRequest()Method to get the ExecutionRequestObjectgetTestInstance()Method to get the test instance ObjectvoidsetTestInstance(Object testInstance)Method to set the test instance Object
-
-
-
Constructor Detail
-
TestExecutionContext
public TestExecutionContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch)Constructor- Parameters:
executionRequest- executionRequestcountDownLatch- countDownLatch
-
-
Method Detail
-
getExecutionRequest
public org.junit.platform.engine.ExecutionRequest getExecutionRequest()
Method to get the ExecutionRequest- Returns:
- the return value
-
getCountDownLatch
public CountDownLatch getCountDownLatch()
Method to get the CountDownLatch- Returns:
- the return value
-
setTestInstance
public void setTestInstance(Object testInstance)
Method to set the test instance Object- Parameters:
testInstance- testInstance
-
getTestInstance
public Object getTestInstance()
Method to get the test instance Object- Returns:
- the return value
-
-