struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4049) Avoid using Locale.setDefault() in tests
Date Wed, 13 Aug 2014 10:50:12 GMT

    [ https://issues.apache.org/jira/browse/WW-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095346#comment-14095346
] 

Hudson commented on WW-4049:
----------------------------

FAILURE: Integrated in Struts-JDK6-develop #75 (See [https://builds.apache.org/job/Struts-JDK6-develop/75/])
WW-4049 Removes Locale.setDefault() from tests (lukaszlenart: rev d749bb8f7a4d7b0007e088385d8a0c9387d63618)
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/VisitorFieldValidatorModelTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/VisitorFieldValidatorTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/DateRangeValidatorTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/SimpleActionValidationTest.java
* xwork-core/src/main/java/com/opensymphony/xwork2/config/impl/DefaultConfiguration.java
* core/src/test/java/org/apache/struts2/dispatcher/DispatcherTest.java
* xwork-core/src/test/resources/log4j.properties
* xwork-core/pom.xml
* core/src/test/java/org/apache/struts2/config/DefaultBeanSelectionProviderTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/DoubleRangeValidatorTest.java
* plugins/oval/src/test/java/org/apache/struts2/oval/interceptor/OValValidationInterceptorTest.java
* xwork-core/src/main/java/com/opensymphony/xwork2/conversion/impl/DefaultTypeConverter.java
* xwork-core/src/test/java/com/opensymphony/xwork2/validator/validators/DateRangeFieldValidatorTest.java


> Avoid using Locale.setDefault() in tests
> ----------------------------------------
>
>                 Key: WW-4049
>                 URL: https://issues.apache.org/jira/browse/WW-4049
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Unit Tests
>    Affects Versions: 2.3.14
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.18
>
>
> Locale should be passed throughout the ActionContext and not changed globally by Locale.setDefault().



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message