sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SLING-6620) HTL integration tests do not honor locale format
Date Thu, 13 Apr 2017 15:27:41 GMT

     [ https://issues.apache.org/jira/browse/SLING-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Radu Cotescu resolved SLING-6620.
---------------------------------
    Resolution: Fixed

> HTL integration tests do not honor locale format
> ------------------------------------------------
>
>                 Key: SLING-6620
>                 URL: https://issues.apache.org/jira/browse/SLING-6620
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>         Environment: user.country = US
> user.country.format = DE
> user.language = en
> user.language.format = de
>            Reporter: Oliver Lietz
>            Assignee: Radu Cotescu
>
> {noformat}
> Failed tests: 
>   TestBuilder$1.runTest:146 Expected value '01 December '18 12:00 AM; day in year: 335;
week in year: 49' for selector '#format-date-11'. Instead we got '01 Dezember '18 12:00 AM;
day in year: 335; week in year: 48'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value 'December' for selector '#format-date-3'.
Instead we got 'Dezember'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '1,000.00' for selector '#format-number-6'.
Instead we got '1.000,00'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '-3.14' for selector '#format-number-7'. Instead
we got '-3,14'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '(3.14)' for selector '#format-number-8'.
Instead we got '(3,14)'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '-.314E01' for selector '#format-number-9'.
Instead we got '-,314E01'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message