Search in sources :

Example 1 with RunnerExecutor

use of org.junit.vintage.engine.execution.RunnerExecutor in project junit5 by junit-team.

the class VintageTestEngine method execute.

@Override
public void execute(ExecutionRequest request) {
    EngineExecutionListener engineExecutionListener = request.getEngineExecutionListener();
    TestDescriptor engineTestDescriptor = request.getRootTestDescriptor();
    engineExecutionListener.executionStarted(engineTestDescriptor);
    RunnerExecutor runnerExecutor = new RunnerExecutor(engineExecutionListener);
    executeAllChildren(runnerExecutor, engineTestDescriptor);
    engineExecutionListener.executionFinished(engineTestDescriptor, successful());
}
Also used : EngineExecutionListener(org.junit.platform.engine.EngineExecutionListener) RunnerExecutor(org.junit.vintage.engine.execution.RunnerExecutor) RunnerTestDescriptor(org.junit.vintage.engine.descriptor.RunnerTestDescriptor) TestDescriptor(org.junit.platform.engine.TestDescriptor)

Aggregations

EngineExecutionListener (org.junit.platform.engine.EngineExecutionListener)1 TestDescriptor (org.junit.platform.engine.TestDescriptor)1 RunnerTestDescriptor (org.junit.vintage.engine.descriptor.RunnerTestDescriptor)1 RunnerExecutor (org.junit.vintage.engine.execution.RunnerExecutor)1