tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Christensen (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-1223) Integration tests in tapestry-core fails because of differences in date formats (locale)
Date Thu, 04 Jan 2007 16:47:28 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462252
] 

Thomas Christensen commented on TAPESTRY-1223:
----------------------------------------------

Wrong patch command line. Correct is:
patch -p0 < file

> Integration tests in tapestry-core fails because of differences in date formats (locale)
> ----------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1223
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1223
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.0
>         Environment: Mac OSX, Danish locale, Tapestry v5.0 snapshot 3rd of Jan 2007
>            Reporter: Thomas Christensen
>            Priority: Trivial
>             Fix For: 5.0
>
>
> The integration tests fails with the following message:
> -------------------------------------------------------------------------------
> Test set: Tapestry Core
> -------------------------------------------------------------------------------
> Tests run: 501, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 89.77 sec <<<
FAILURE!
> org.apache.tapestry.integration.IntegrationTests.instance_mixin(org.apache.tapestry.integration.IntegrationTests.instance_mixin)
 Time elapsed: 1.19 sec  <<< FAILURE!
> java.lang.AssertionError: Page did not contain source '[Ljava.lang.String;@9cf2df'.
> 	at org.apache.tapestry.integration.IntegrationTests.assertSourcePresent(IntegrationTests.java:517)
> 	at org.apache.tapestry.integration.IntegrationTests.instance_mixin(IntegrationTests.java:264)
> This seems to be due to hardcoded US formattede dates in the test case in question. Comparing
these to dates formatted according to the JVM's or the HTTP sessions locale ends up failing
the test.

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

        

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


Mime
View raw message