You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2017/10/04 00:37:00 UTC
[jira] [Assigned] (SUREFIRE-1428) Invalid XML characters in Params
in testng-results.xml
[ https://issues.apache.org/jira/browse/SUREFIRE-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana reassigned SUREFIRE-1428:
--------------------------------------
Assignee: Tibor Digana
> 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
> Assignee: Tibor Digana
>
> 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)