From 1de22aca7c4d0627a8fbbec23fffd4ca463969ea Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 6 Jun 2013 17:07:28 +0200 Subject: Made all tests running wit junit4.10 and higher * tests/junit-runner/CommandLine.java: (runMain) is no longer overriding and (runMainAndExit) is now calling System.exit rather then system.exit --- tests/junit-runner/CommandLine.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/junit-runner/CommandLine.java b/tests/junit-runner/CommandLine.java index 1807c65..07c6e19 100644 --- a/tests/junit-runner/CommandLine.java +++ b/tests/junit-runner/CommandLine.java @@ -26,10 +26,9 @@ public class CommandLine extends JUnitCore { public static void runMainAndExit(JUnitSystem system, String... args) { new CommandLine().runMain(system, args); - system.exit(0); + System.exit(0); } - @Override public Result runMain(JUnitSystem system, String... args) { List> classes = new ArrayList>(); List missingClasses = new ArrayList(); -- cgit v1.2.3