void (final @NotNull TestFinishedEvent testFinishedEvent) { final String testName = testFinishedEvent.getName(); final Long duration = testFinishedEvent.getDuration(); final String fullTestName = getFullTestName(testName); final SMTestProxy testProxy = getProxyByFullTestName(fullTestName); if (testProxy == null) { logProblem("Test wasn't started! TestFinished event: name = {" + testName + "}. " + cannotFindFullTestNameMsg(fullTestName)); return; } testProxy.setDuration(duration != null ? duration : 0); testProxy.setFrameworkOutputFile(testFinishedEvent.getOutputFile()); testProxy.setFinished(); myRunningTestsFullNameToProxy.remove(fullTestName); clearCurrentChildren(fullTestName, testProxy); //fire events fireOnTestFinished(testProxy); }