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 (Created) (JIRA)" <ji...@apache.org> on 2011/11/08 19:33:51 UTC

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

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

        

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

Posted by "Eric Norman (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman reassigned SLING-2270:
----------------------------------

    Assignee: Eric Norman
    
> 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
>            Assignee: Eric Norman
>            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

        

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

Posted by "Brian Riggs (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Eric Norman (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman resolved SLING-2270.
--------------------------------

       Resolution: Fixed
    Fix Version/s: JUnit Core 1.0.8

Patch applied in 1201491.  Thanks!
                
> 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
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: JUnit Core 1.0.8
>
>         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

        

[jira] [Issue Comment Edited] (SLING-2270) Junit Core HtmlRenderer outputs invalid HTML

Posted by "Eric Norman (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149334#comment-13149334 ] 

Eric Norman edited comment on SLING-2270 at 11/13/11 7:44 PM:
--------------------------------------------------------------

Patch applied in revision 1201491.  Thanks!
                
      was (Author: edn):
    Patch applied in 1201491.  Thanks!
                  
> 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
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: JUnit Core 1.0.8
>
>         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