Skip to content

Commit 2f4554b

Browse files
shaedrichondrejmirtes
authored andcommitted
1 parent 25e49f1 commit 2f4554b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎tests/PHPStan/Command/ErrorFormatter/JunitErrorFormatterTest.php‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function dataFormatterOutputProvider(): Generator
5757
1,
5858
'<?xml version="1.0" encoding="UTF-8"?>
5959
<testsuite failures="1" name="phpstan" tests="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/junit-team/junit5/r5.9.3/platform-tests/src/test/resources/jenkins-junit.xsd">
60-
<testcase name="General error">
60+
<testcase classname="General error:0" name="">
6161
<failure type="ERROR" message="first generic error" />
6262
</testcase>
6363
</testsuite>
@@ -80,7 +80,7 @@ public static function dataFormatterOutputProvider(): Generator
8080
<failure type="ERROR" message="Foo&lt;Bar&gt;"/>
8181
</testcase>
8282
<testcase classname="foo.php:5" name="">
83-
<failure type="ERROR" message="Bar Bar2"/>
83+
<failure type="ERROR" message="Bar Bar2 a tip"/>
8484
</testcase>
8585
</testsuite>
8686
',
@@ -92,10 +92,10 @@ public static function dataFormatterOutputProvider(): Generator
9292
2,
9393
'<?xml version="1.0" encoding="UTF-8"?>
9494
<testsuite failures="2" name="phpstan" tests="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/junit-team/junit5/r5.9.3/platform-tests/src/test/resources/jenkins-junit.xsd">
95-
<testcase name="General error">
95+
<testcase classname="General error:0" name="">
9696
<failure type="ERROR" message="first generic error" />
9797
</testcase>
98-
<testcase name="General error">
98+
<testcase classname="General error:0" name="">
9999
<failure type="ERROR" message="second generic&lt;error&gt;"/>
100100
</testcase>
101101
</testsuite>
@@ -108,22 +108,22 @@ public static function dataFormatterOutputProvider(): Generator
108108
2,
109109
'<?xml version="1.0" encoding="UTF-8"?>
110110
<testsuite failures="6" name="phpstan" tests="6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/junit-team/junit5/r5.9.3/platform-tests/src/test/resources/jenkins-junit.xsd">
111-
<testcase name="folder with unicode &#x1F603;/file name with &quot;spaces&quot; and unicode &#x1F603;.php:2">
111+
<testcase classname="folder with unicode &#x1F603;/file name with &quot;spaces&quot; and unicode &#x1F603;.php:2" name="">
112112
<failure type="ERROR" message="Bar Bar2" />
113113
</testcase>
114-
<testcase name="folder with unicode &#x1F603;/file name with &quot;spaces&quot; and unicode &#x1F603;.php:4">
114+
<testcase classname="folder with unicode &#x1F603;/file name with &quot;spaces&quot; and unicode &#x1F603;.php:4" name="">
115115
<failure type="ERROR" message="Foo" />
116116
</testcase>
117-
<testcase name="foo.php:1">
117+
<testcase classname="foo.php:1" name="">
118118
<failure type="ERROR" message="Foo&lt;Bar&gt;"/>
119119
</testcase>
120-
<testcase name="foo.php:5">
121-
<failure type="ERROR" message="Bar Bar2"/>
120+
<testcase classname="foo.php:5" name="">
121+
<failure type="ERROR" message="Bar Bar2 a tip"/>
122122
</testcase>
123-
<testcase name="General error">
123+
<testcase classname="General error:0" name="">
124124
<failure type="ERROR" message="first generic error" />
125125
</testcase>
126-
<testcase name="General error">
126+
<testcase classname="General error:0" name="">
127127
<failure type="ERROR" message="second generic&lt;error&gt;"/>
128128
</testcase>
129129
</testsuite>

0 commit comments

Comments
 (0)