maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject maven-surefire git commit: [SUREFIRE-1498] Surefire prints own logs "Couldn't load group class" to native stream.
Date Fri, 09 Mar 2018 04:53:06 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/SUREFIRE-1498 [created] af7ae9ef9


[SUREFIRE-1498] Surefire prints own logs "Couldn't load group class" to native stream.


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/af7ae9ef
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/af7ae9ef
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/af7ae9ef

Branch: refs/heads/SUREFIRE-1498
Commit: af7ae9ef933873a038b2817d6430859f2a5bd1c7
Parents: aee2bb4
Author: Tibor17 <tibordigana@apache.org>
Authored: Fri Mar 9 05:50:01 2018 +0100
Committer: Tibor17 <tibordigana@apache.org>
Committed: Fri Mar 9 05:50:01 2018 +0100

----------------------------------------------------------------------
 .../org/apache/maven/surefire/junitcore/JUnitCoreProvider.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/af7ae9ef/surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
----------------------------------------------------------------------
diff --git a/surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
b/surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
index a652515..3c23611 100644
--- a/surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
+++ b/surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
@@ -122,12 +122,12 @@ public class JUnitCoreProvider
 
         final ConsoleStream consoleStream = providerParameters.getConsoleLogger();
 
-        Filter filter = jUnit48Reflector.isJUnit48Available() ? createJUnit48Filter() : null;
-
         Notifier notifier =
             new Notifier( createRunListener( reporterFactory, consoleStream ), getSkipAfterFailureCount()
);
         // startCapture() called in createRunListener() in prior to setTestsToRun()
 
+        Filter filter = jUnit48Reflector.isJUnit48Available() ? createJUnit48Filter() : null;
+
         if ( testsToRun == null )
         {
             setTestsToRun( forkTestSet );


Mime
View raw message