[
https://issues.apache.org/jira/browse/OFBIZ-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012067#comment-13012067 ]
Erwan de FERRIERES commented on OFBIZ-3391:
-------------------------------------------
{code}
[junitreport] the file /home/erwan/workspace/Apache_OFBiz/ofbiz/runtime/logs/test-results/TESTS-TestSuites.xml is not a valid testsuite XML document
[junitreport] Processing /home/erwan/workspace/Apache_OFBiz/ofbiz/runtime/logs/test-results/TESTS-TestSuites.xml to /tmp/null1211551636
[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
{code}
error message when running the junitreport task
> error in JUnit reports generation
> ---------------------------------
>
> Key: OFBIZ-3391
> URL:
https://issues.apache.org/jira/browse/OFBIZ-3391> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Erwan de FERRIERES
> Fix For: SVN trunk
>
>
> the junitreport task is generating bad links for displaying the tests result.
> Steps to reproduce :
> # ant run-install then ant run-tests
> # open in a browser the runtime/logs/test-results/html/index.html file
> # click on the "all tests" link, wich is displaying 135
> # then try to get into a class or a test name.
> It should display an error message, saying that there is no file.
> The link is calling file:///0_accountingtests.html#accounting-tests-data-load but should be file://<path to ofbiz instance>/runtime/logs/test-results/html/0_accountingtests.html#accounting-tests-data-load
> When looking a the generated html files, there is an unneeded "/" at the beginning of the file :
> {code}
> <td><a href="/0_accountingtests.html">accountingtests</a></td><td><a name="auto-accounting-transaction-tests.testAcctgTransOnPaymentSentToSupplier"></a><a href="/0_accountingtes
> {code}
> which should be :
> {code}
> <td><a href="0_accountingtests.html">accountingtests</a></td><td><a name="auto-accounting-transaction-tests.testAcctgTransOnPaymentSentToSupplier"></a><a href="0_accountingtes
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira