diff options
author | Jiri Vanek <[email protected]> | 2013-06-06 17:07:28 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-06-06 17:07:28 +0200 |
commit | 1de22aca7c4d0627a8fbbec23fffd4ca463969ea (patch) | |
tree | 7bfef6ffa1d2594a7e3abe0dda18f85b43baaf4a | |
parent | b88f1e63c7a8eb23ec4ec27726d2fe6a9968f1d6 (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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tests/junit-runner/CommandLine.java | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2013-06-06 Jiri Vanek <[email protected]> + 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 + +2013-06-06 Jiri Vanek <[email protected]> + Silenced deployment.properties and zero size applet exceptions with tests * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: (findSystemConfigFile) and (loadProperties) now prints already cough exception 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>(); |