You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Leon Blakey (JIRA)" <ji...@apache.org> on 2017/10/03 20:32:01 UTC
[jira] [Created] (SUREFIRE-1428) Invalid XML characters in Params
in testng-results.xml
Leon Blakey created SUREFIRE-1428:
-------------------------------------
Summary: Invalid XML characters in Params in testng-results.xml
Key: SUREFIRE-1428
URL: https://issues.apache.org/jira/browse/SUREFIRE-1428
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.20.1
Reporter: Leon Blakey
The following test creates an invalid testng-results.xml file as the \u000C is unescaped in the <value> tag. This breaks downstream tools like Jenkins
{code:java}
@DataProvider
public Object[][] dataProvider() {
return new Object[][]{{
"test \u000C"
}};
}
@Test(dataProvider = "dataProvider")
public void test(String argument) {
}
{code}
* Surefire 2.20.1
* TestNG 6.11
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)