You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/04/17 18:24:59 UTC

[maven-surefire] branch 1546-1222 updated: fixed TestSetStats - substituted getName() by getSourceName()

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch 1546-1222
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/1546-1222 by this push:
     new 59f8555  fixed TestSetStats - substituted getName() by getSourceName()
59f8555 is described below

commit 59f8555a1b04d2530b305b5b5934a4b29b9c3fac
Author: tibordigana <ti...@apache.org>
AuthorDate: Wed Apr 17 20:24:44 2019 +0200

    fixed TestSetStats - substituted getName() by getSourceName()
---
 .../main/java/org/apache/maven/plugin/surefire/report/TestSetStats.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 8698159..91bf177 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
@@ -269,7 +269,7 @@ public class TestSetStats
             }
             else if ( plainFormat && testResult.isSkipped() )
             {
-                result.add( testResult.getName() + " skipped" );
+                result.add( testResult.getSourceName() + " skipped" );
             }
             else if ( plainFormat && testResult.isSucceeded() )
             {