Repository: maven-surefire
Updated Branches:
  refs/heads/master c03f6ed5e -> ed27af4d2


[SUREFIRE-1254] add color messages


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

Branch: refs/heads/master
Commit: ed27af4d260a9e5dc429a3a7ddafd11188bfe5d2
Parents: c03f6ed
Author: Tibor17 <tibo...@lycos.com>
Authored: Sat Sep 17 10:27:10 2016 +0200
Committer: Tibor17 <tibo...@lycos.com>
Committed: Sat Sep 17 10:27:10 2016 +0200

----------------------------------------------------------------------
 .../apache/maven/plugin/surefire/report/TestSetStats.java   | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/ed27af4d/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java
----------------------------------------------------------------------
diff --git 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java
 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java
index 9fcfafe..b96d961 100644
--- 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java
+++ 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java
@@ -260,14 +260,7 @@ public class TestSetStats
                 .a( reportEntry.getElapsedTimeVerbose() );
         if ( isFailureOrError )
         {
-            if ( isFailure )
-            {
-                builder.failure( FAILURE_MARKER );
-            }
-            else
-            {
-                builder.warning( FAILURE_MARKER );
-            }
+            builder.failure( FAILURE_MARKER );
         }
         builder.a( IN_MARKER );
         return concatenateWithTestGroup( builder, reportEntry );

Reply via email to