commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bspeak...@apache.org
Subject svn commit: r594644 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
Date Tue, 13 Nov 2007 21:21:51 GMT
Author: bspeakmon
Date: Tue Nov 13 13:21:50 2007
New Revision: 594644

URL: http://svn.apache.org/viewvc?rev=594644&view=rev
Log:
- force Locale.US for tests

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java?rev=594644&r1=594643&r2=594644&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
(original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
Tue Nov 13 13:21:50 2007
@@ -50,6 +50,8 @@
      */
     protected void setUp() throws Exception {
         super.setUp();
+	// tests depend on Locale.US
+        java.util.Locale.setDefault(java.util.Locale.US);
     }
 
     protected abstract MessageFormat createMessageFormat(String pattern);



Mime
View raw message