-
Bug
-
Resolution: Fixed
-
Major
-
None
-
any
If the test name contains "<" then it are outputed as html "<" and not escaped properly into "<".
I got an issue with the NUnit plugin that contain parameterized tests and they output a JUnit file with test case names containing "Vizrt.Utilities.Tests.TestByteStringParser<UTF8Encoding>". This is shown as "TestByteStringParser<UTF8Encoding>" in the HTML which of course is wrong as you dont see the UTF8Encoding bit.
Ive attached a sample of the junitResult.xml which can be found in each build folder.
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/ClassResult/body.jelly
trunk/hudson/main/core/src/main/resources/hudson/tasks/test/AbstractTestResultAction/summary.jelly
trunk/hudson/main/core/src/main/resources/hudson/tasks/test/MetaTabulatedResult/body.jelly
trunk/hudson/main/core/src/main/resources/hudson/tasks/test/TestResult/index.jelly
trunk/www/changelog.html
http://jenkins-ci.org/commit/28939
Log:
[FIXED JENKINS-5982] add st:out for class/test names in a few places,
in case those names have < character