int (final IdeaTestRunner<?> testRunner, final String[] args, ArrayList<String> listeners, final String name, final int count, boolean sendTree) { testRunner.createListeners(listeners, count); try { return TestsRepeater.repeat(count, sendTree, new TestsRepeater.TestRun() { @Override public int execute(boolean sendTree) { return testRunner.startRunnerWithArgs(args, name, count, sendTree); } }); } catch (Exception e) { e.printStackTrace(System.err); return -2; } }