void (final TestFrameworkRunningModel model) { String name; int color; AbstractTestProxy root = model.getRoot(); if (root.isInterrupted()) return; TestConsoleProperties consoleProperties = model.getProperties(); String configName = consoleProperties.getConfiguration().getName(); if (root.isPassed() || root.isIgnored()) { color = GREEN.getRGB(); name = ExecutionBundle.message("junit.running.info.tests.passed.with.test.name.label", configName); } else { color = RED.getRGB(); name = ExecutionBundle.message("junit.running.info.tests.failed.with.test.name.label", configName); } Project project = consoleProperties.getProject(); if (project.isDisposed()) return; LocalHistory.getInstance().putSystemLabel(project, name, color); }