changeset 744:f9a77057c524

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
author Jiri Vanek <jvanek@redhat.com>
date Thu, 06 Jun 2013 17:08:19 +0200
parents 49e141f43b54
children adaba1e22d66
files ChangeLog tests/junit-runner/CommandLine.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 06 16:59:47 2013 +0200
+++ b/ChangeLog	Thu Jun 06 17:08:19 2013 +0200
@@ -1,3 +1,9 @@
+2013-06-06  Jiri Vanek  <jvanek@redhat.com>
+
+	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  <jvanek@redhat.com>
 
 	Silenced deployment.properties and zero size applet exceptions with tests
--- a/tests/junit-runner/CommandLine.java	Thu Jun 06 16:59:47 2013 +0200
+++ b/tests/junit-runner/CommandLine.java	Thu Jun 06 17:08:19 2013 +0200
@@ -26,10 +26,9 @@
 
     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>();