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] fixed platform dependent test
Date Sun, 28 Jun 2015 23:20:56 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 989479ea8 -> ebb63da48


[SUREFIRE] fixed platform dependent test


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

Branch: refs/heads/master
Commit: ebb63da484d41a7e02c37550c9e2942040e79608
Parents: 989479e
Author: Tibor17 <tibor17@lycos.com>
Authored: Mon Jun 29 01:20:01 2015 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Mon Jun 29 01:20:01 2015 +0200

----------------------------------------------------------------------
 .../maven/plugins/surefire/report/TestSuiteXmlParserTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/ebb63da4/surefire-report-parser/src/test/java/org/apache/maven/plugins/surefire/report/TestSuiteXmlParserTest.java
----------------------------------------------------------------------
diff --git a/surefire-report-parser/src/test/java/org/apache/maven/plugins/surefire/report/TestSuiteXmlParserTest.java
b/surefire-report-parser/src/test/java/org/apache/maven/plugins/surefire/report/TestSuiteXmlParserTest.java
index 474423b..da06451 100644
--- a/surefire-report-parser/src/test/java/org/apache/maven/plugins/surefire/report/TestSuiteXmlParserTest.java
+++ b/surefire-report-parser/src/test/java/org/apache/maven/plugins/surefire/report/TestSuiteXmlParserTest.java
@@ -29,6 +29,7 @@ import java.util.List;
 import org.junit.Test;
 
 import static org.junit.Assert.*;
+import static org.junit.Assume.assumeTrue;
 import static org.hamcrest.CoreMatchers.*;
 import static org.hamcrest.MatcherAssert.assertThat;
 
@@ -171,7 +172,7 @@ public class TestSuiteXmlParserTest
     {
         TestSuiteXmlParser parser = new TestSuiteXmlParser();
         File surefireReport = new File( "src/test/resources/junit-pathWith√úmlaut/TEST-umlautTest.BasicTest.xml"
);
-        assertTrue( surefireReport.isFile() );
+        assumeTrue( surefireReport.isFile() );
         Collection<ReportTestSuite> suites = parser.parse( surefireReport.getCanonicalPath()
);
         assertNotNull( suites );
         assertEquals( 1, suites.size() );


Mime
View raw message