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 2018/03/05 06:19:51 UTC
maven-surefire git commit: investigating UnicodeTestNamesIT
Repository: maven-surefire
Updated Branches:
refs/heads/UnicodeTestNamesIT3 [created] c1e841953
investigating UnicodeTestNamesIT
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/c1e84195
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/c1e84195
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/c1e84195
Branch: refs/heads/UnicodeTestNamesIT3
Commit: c1e841953ea93961f75fd20b57bb417333922163
Parents: aee2bb4
Author: Tibor17 <ti...@apache.org>
Authored: Mon Mar 5 07:19:30 2018 +0100
Committer: Tibor17 <ti...@apache.org>
Committed: Mon Mar 5 07:19:30 2018 +0100
----------------------------------------------------------------------
surefire-its/pom.xml | 2 +-
.../java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java | 2 +-
surefire-its/src/test/resources/unicode-testnames/pom.xml | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c1e84195/surefire-its/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index 31631b2..1d0e013 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -104,7 +104,7 @@
<forkMode>once</forkMode>
<argLine>-server -Xmx64m -XX:+UseG1GC -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Djava.awt.headless=true</argLine>
<includes>
- <include>org/apache/**/*IT*.java</include>
+ <include>org/apache/**/UnicodeTestNamesIT.java</include>
</includes>
<!-- Pass current surefire version to the main suite so that it -->
<!-- can forward to all integration test projects. SUREFIRE-513 -->
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c1e84195/surefire-its/src/test/java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java
----------------------------------------------------------------------
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java
index 64db960..69c78f3 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/UnicodeTestNamesIT.java
@@ -64,7 +64,7 @@ public class UnicodeTestNamesIT
TestFile surefireReportFile = outputValidator.getSurefireReportsFile( TXT_REPORT );
assertTrue( surefireReportFile.exists() );
- surefireReportFile.assertContainsText( "junit.twoTestCases.????Test" );
+ surefireReportFile.assertContainsText( "junit.twoTestCases.\u800C\u7D22\u5176\u60C5Test" );
TestFile surefireXmlReportFile = outputValidator.getSurefireReportsXmlFile( XML_REPORT );
assertTrue( surefireXmlReportFile.exists() );
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c1e84195/surefire-its/src/test/resources/unicode-testnames/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-its/src/test/resources/unicode-testnames/pom.xml b/surefire-its/src/test/resources/unicode-testnames/pom.xml
index eb52b53..cd0a7b8 100644
--- a/surefire-its/src/test/resources/unicode-testnames/pom.xml
+++ b/surefire-its/src/test/resources/unicode-testnames/pom.xml
@@ -30,6 +30,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>