You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Sean Lin (JIRA)" <ji...@apache.org> on 2009/02/24 06:08:01 UTC

[jira] Created: (SHINDIG-939) java shindig build fails due to test failure in CSSContentRewriter.java

java shindig build fails due to test failure in CSSContentRewriter.java
-----------------------------------------------------------------------

                 Key: SHINDIG-939
                 URL: https://issues.apache.org/jira/browse/SHINDIG-939
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: trunk
         Environment: windows vista
            Reporter: Sean Lin
            Priority: Minor
             Fix For: trunk


Test build fails when building java shindig under Vista (assumed that this issue only occurs under windows).

Fix is to add 

expected = expected.replaceAll("\r\n", "\n");

before the assert in testCssBasic in CSSContentRewriterTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-939) java shindig build fails due to test failure in CSSContentRewriter.java

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

Sean Lin updated SHINDIG-939:
-----------------------------

    Attachment: fix-CSSContentRewriterTest-bug.patch

fix for this issue

> java shindig build fails due to test failure in CSSContentRewriter.java
> -----------------------------------------------------------------------
>
>                 Key: SHINDIG-939
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-939
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: windows vista
>            Reporter: Sean Lin
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: fix-CSSContentRewriterTest-bug.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Test build fails when building java shindig under Vista (assumed that this issue only occurs under windows).
> Fix is to add 
> expected = expected.replaceAll("\r\n", "\n");
> before the assert in testCssBasic in CSSContentRewriterTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-939) java shindig build fails due to test failure in CSSContentRewriterTest.java

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

Sean Lin updated SHINDIG-939:
-----------------------------

    Summary: java shindig build fails due to test failure in CSSContentRewriterTest.java  (was: java shindig build fails due to test failure in CSSContentRewriter.java)

> java shindig build fails due to test failure in CSSContentRewriterTest.java
> ---------------------------------------------------------------------------
>
>                 Key: SHINDIG-939
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-939
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: windows vista
>            Reporter: Sean Lin
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: fix-CSSContentRewriterTest-bug.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Test build fails when building java shindig under Vista (assumed that this issue only occurs under windows).
> Fix is to add 
> expected = expected.replaceAll("\r\n", "\n");
> before the assert in testCssBasic in CSSContentRewriterTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SHINDIG-939) java shindig build fails due to test failure in CSSContentRewriterTest.java

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

Louis Ryan closed SHINDIG-939.
------------------------------

    Resolution: Fixed
      Assignee: Louis Ryan

Applied fix which ignores whitespace when comparing output. Similar to the suggested patch thanks.

> java shindig build fails due to test failure in CSSContentRewriterTest.java
> ---------------------------------------------------------------------------
>
>                 Key: SHINDIG-939
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-939
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: windows vista
>            Reporter: Sean Lin
>            Assignee: Louis Ryan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: fix-CSSContentRewriterTest-bug.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Test build fails when building java shindig under Vista (assumed that this issue only occurs under windows).
> Fix is to add 
> expected = expected.replaceAll("\r\n", "\n");
> before the assert in testCssBasic in CSSContentRewriterTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.