use of org.gradle.internal.operations.OperationStartEvent in project gradle by gradle.
the class TestListenerBuildOperationAdapter method started.
@Override
public void started(final TestDescriptorInternal testDescriptor, TestStartEvent startEvent) {
long currentTime = clock.getCurrentTime();
BuildOperationDescriptor testBuildOperationDescriptor = createTestBuildOperationDescriptor(testDescriptor, startEvent);
runningTests.put(testDescriptor, new InProgressExecuteTestBuildOperation(testBuildOperationDescriptor, currentTime));
listener.started(testBuildOperationDescriptor, new OperationStartEvent(currentTime));
}
Aggregations