tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: [jira] Created: (TAP5-556) Fix TranslatorSourceImplTest
Date Thu, 05 Mar 2009 16:50:31 GMT
That's odd because the test explictly sets up Locale.EN to avoid this
kind of failure!

On Wed, Mar 4, 2009 at 11:47 PM, Igor Drobiazko (JIRA) <jira@apache.org> wrote:
> Fix TranslatorSourceImplTest
> ----------------------------
>
>                 Key: TAP5-556
>                 URL: https://issues.apache.org/jira/browse/TAP5-556
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: Igor Drobiazko
>
>
> SInce TAP5-540 is fixed I can't run TranslatorSourceImplTest.
>
> to_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time elapsed:
0.031 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3.143> but was:<3,143>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:129)
>        at org.testng.Assert.assertEquals(Assert.java:139)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.to_client(TranslatorSourceImplTest.java:130)
>
> to_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time elapsed:
0 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<-22.7> but was:<-22,7>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:129)
>        at org.testng.Assert.assertEquals(Assert.java:139)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.to_client(TranslatorSourceImplTest.java:130)
>
> to_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time elapsed:
0 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<-9876543219876543321987654321.12345123451234512345>
but was:<-9876543219876543321987654321,12345123451234512345>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:129)
>        at org.testng.Assert.assertEquals(Assert.java:139)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.to_client(TranslatorSourceImplTest.java:130)
>
> parse_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time
elapsed: 0.016 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<20000> but was:<20>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:118)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.parse_client(TranslatorSourceImplTest.java:169)
>
> parse_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time
elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3.1428571429> but was:<3.1428571429E10>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:118)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.parse_client(TranslatorSourceImplTest.java:169)
>
> parse_client(org.apache.tapestry5.internal.services.TranslatorSourceImplTest)  Time
elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<28.95> but was:<2895.0>
>        at org.testng.Assert.fail(Assert.java:84)
>        at org.testng.Assert.failNotEquals(Assert.java:438)
>        at org.testng.Assert.assertEquals(Assert.java:108)
>        at org.testng.Assert.assertEquals(Assert.java:118)
>        at org.apache.tapestry5.internal.services.TranslatorSourceImplTest.parse_client(TranslatorSourceImplTest.java:169)
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message