You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Alan Hudson (JIRA)" <ji...@apache.org> on 2012/05/29 19:26:22 UTC

[jira] [Created] (AMQ-3865) AjaxTest fails all tests due to line ending differences

Alan Hudson created AMQ-3865:
--------------------------------

             Summary: AjaxTest fails all tests due to line ending differences
                 Key: AMQ-3865
                 URL: https://issues.apache.org/jira/browse/AMQ-3865
             Project: ActiveMQ
          Issue Type: Bug
          Components: Test Cases
    Affects Versions: 5.6.0
         Environment: Windows
            Reporter: Alan Hudson
             Fix For: 5.7.0
         Attachments: amq-3865.patch

The tests do index of comparison of "foo\n" where on windows you'd need to do "foo\r\n".  I don't think the line endings are really significant to test.  

If they are then I can change the test over to check the operating system and add carriage returns if necessary.  

--
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] (AMQ-3865) AjaxTest fails all tests due to line ending differences

Posted by "Alan Hudson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Hudson updated AMQ-3865:
-----------------------------

    Attachment: AjaxTest_new.java

complete file in case linefeed/carriage return differences are hard to spot.  
                
> AjaxTest fails all tests due to line ending differences
> -------------------------------------------------------
>
>                 Key: AMQ-3865
>                 URL: https://issues.apache.org/jira/browse/AMQ-3865
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.6.0
>         Environment: Windows
>            Reporter: Alan Hudson
>             Fix For: 5.7.0
>
>         Attachments: AjaxTest_new.java, amq-3865.patch
>
>
> The tests do index of comparison of "foo\n" where on windows you'd need to do "foo\r\n".  I don't think the line endings are really significant to test.  
> If they are then I can change the test over to check the operating system and add carriage returns if necessary.  

--
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] (AMQ-3865) AjaxTest fails all tests due to line ending differences

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3865.
-------------------------------

    Resolution: Fixed

Patch applied with thanks!
                
> AjaxTest fails all tests due to line ending differences
> -------------------------------------------------------
>
>                 Key: AMQ-3865
>                 URL: https://issues.apache.org/jira/browse/AMQ-3865
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.6.0
>         Environment: Windows
>            Reporter: Alan Hudson
>             Fix For: 5.7.0
>
>         Attachments: AjaxTest_new.java, amq-3865.patch
>
>
> The tests do index of comparison of "foo\n" where on windows you'd need to do "foo\r\n".  I don't think the line endings are really significant to test.  
> If they are then I can change the test over to check the operating system and add carriage returns if necessary.  

--
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] (AMQ-3865) AjaxTest fails all tests due to line ending differences

Posted by "Alan Hudson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Hudson updated AMQ-3865:
-----------------------------

    Attachment: amq-3865.patch
    
> AjaxTest fails all tests due to line ending differences
> -------------------------------------------------------
>
>                 Key: AMQ-3865
>                 URL: https://issues.apache.org/jira/browse/AMQ-3865
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.6.0
>         Environment: Windows
>            Reporter: Alan Hudson
>             Fix For: 5.7.0
>
>         Attachments: amq-3865.patch
>
>
> The tests do index of comparison of "foo\n" where on windows you'd need to do "foo\r\n".  I don't think the line endings are really significant to test.  
> If they are then I can change the test over to check the operating system and add carriage returns if necessary.  

--
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