OperationResult (@NotNull TestOperationResult result) { var startTime = result.getStartTime(); var endTime = result.getEndTime(); if (result instanceof TestSuccessResult) { return new SuccessResultImpl(startTime, endTime, false); } if (result instanceof TestFailureResult failureResult) { var failures = ContainerUtil.map(failureResult.getFailures(), it -> convertTestFailure(it)); return new FailureResultImpl(startTime, endTime, failures); } if (result instanceof TestSkippedResult) { return new SkippedResultImpl(startTime, endTime); } LOG.warn("Undefined test operation result " + result.getClass().getName()); return new DefaultOperationResult(startTime, endTime); }