error in JUnit reports generation
---------------------------------

                 Key: OFBIZ-3391
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3391
             Project: OFBiz
          Issue Type: Bug
          Components: ALL APPLICATIONS
    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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to