changeset 520:3c5e0952d876

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:09:54 +0200
parents ff0d07a33ad2
children e5e87b61a02d
files ChangeLog tests/junit-runner/CommandLine.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 02 13:55:23 2013 -0400
+++ b/ChangeLog	Thu Jun 06 17:09:54 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-05-02  Adam Domurad  <adomurad@redhat.com>
 
 	Ensure document-base is properly encoded.
--- a/tests/junit-runner/CommandLine.java	Thu May 02 13:55:23 2013 -0400
+++ b/tests/junit-runner/CommandLine.java	Thu Jun 06 17:09:54 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>();