You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Brian Riggs (Updated) (JIRA)" <ji...@apache.org> on 2011/11/08 19:33:51 UTC

[jira] [Updated] (SLING-2270) Junit Core HtmlRenderer outputs invalid HTML

     [ https://issues.apache.org/jira/browse/SLING-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Riggs updated SLING-2270:
-------------------------------

    Attachment: SLING-2270.patch
    
> Junit Core HtmlRenderer outputs invalid HTML
> --------------------------------------------
>
>                 Key: SLING-2270
>                 URL: https://issues.apache.org/jira/browse/SLING-2270
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: JUnit Core 1.0.6
>            Reporter: Brian Riggs
>            Priority: Minor
>         Attachments: SLING-2270.patch
>
>
> The HTML output of the Junit Core HtmlRenderer is invalid.  Specifically, for each test, there is a <div> which is not closed.  The impact is that if you have a large number of tests (our test suite has several hundred), then the test output starts to get munged together and becomes largely unreadable.  The fix (see attached patch) is to close the <div> in HtmlRenderer.testFinished.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira