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 Details

    • TestExecutionContext

      public TestExecutionContext(org.junit.platform.engine.ExecutionRequest executionRequest, CountDownLatch countDownLatch)
      Constructor
      Parameters:
      executionRequest - executionRequest
      countDownLatch - countDownLatch
  • Method Details

    • 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