void (@NotNull final PyUnitTestProcessRunner runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { if (runner.getCurrentRerunStep() == 0) { assertEquals(runner.getFormattedTestTree(), 2, runner.getAllTestsCount()); assertEquals(runner.getFormattedTestTree(), 1, runner.getPassedTestsCount()); assertEquals(runner.getFormattedTestTree(), 1, runner.getFailedTestsCount()); } else { assertEquals(runner.getFormattedTestTree(), 1, runner.getAllTestsCount()); assertEquals(runner.getFormattedTestTree(), 0, runner.getPassedTestsCount()); assertEquals(runner.getFormattedTestTree(), 1, runner.getFailedTestsCount()); } }