void (TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) { final Throwable throwable = testExecutionResult.getThrowable().orElse(null); if (throwable != null && IgnoreException.isIgnoringThrowable(throwable)) { String message = throwable.getMessage(); executionFinished(testIdentifier, TestExecutionResult.Status.ABORTED, null, message != null ? message : ""); } else if (Retries.NUMBER > 0 && testIdentifier.isTest() && Retries.getAndClearSuccessfulStatus(testIdentifier)) { executionFinished(testIdentifier, TestExecutionResult.Status.SUCCESSFUL, null, null); } else { executionFinished(testIdentifier, testExecutionResult.getStatus(), throwable, null); } }