ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erwan de FERRIERES (JIRA)" <j...@apache.org>
Subject [jira] Created: (OFBIZ-3391) error in JUnit reports generation
Date Mon, 04 Jan 2010 13:53:54 GMT
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.


Mime
View raw message