aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-06-06 17:07:28 +0200
committerJiri Vanek <[email protected]>2013-06-06 17:07:28 +0200
commit1de22aca7c4d0627a8fbbec23fffd4ca463969ea (patch)
tree7bfef6ffa1d2594a7e3abe0dda18f85b43baaf4a /tests
parentb88f1e63c7a8eb23ec4ec27726d2fe6a9968f1d6 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/junit-runner/CommandLine.java3
1 files changed, 1 insertions, 2 deletions
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<Class<?>> classes = new ArrayList<Class<?>>();
List<Failure> missingClasses = new ArrayList<Failure>();