use of org.gradle.internal.operations.OperationFinishEvent in project gradle by gradle.
the class TestListenerBuildOperationAdapter method completed.
@Override
public void completed(TestDescriptorInternal testDescriptor, TestResult testResult, TestCompleteEvent completeEvent) {
long currentTime = clock.getCurrentTime();
InProgressExecuteTestBuildOperation runningOp = runningTests.remove(testDescriptor);
listener.finished(runningOp.descriptor, new OperationFinishEvent(runningOp.startTime, currentTime, testResult.getException(), new Result(testResult)));
}
Aggregations