Author: aheritier
Date: Fri Jan 20 06:35:28 2006
New Revision: 370818

URL: http://svn.apache.org/viewcvs?rev=370818&view=rev
Log:
Force the english locale to test MKS or the test fails in a non-english system.

Modified:
    
maven/maven-1/plugins/trunk/changelog/src/test/org/apache/maven/mkslib/MksChangeLogParserTest.java

Modified: 
maven/maven-1/plugins/trunk/changelog/src/test/org/apache/maven/mkslib/MksChangeLogParserTest.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/src/test/org/apache/maven/mkslib/MksChangeLogParserTest.java?rev=370818&r1=370817&r2=370818&view=diff
==============================================================================
--- 
maven/maven-1/plugins/trunk/changelog/src/test/org/apache/maven/mkslib/MksChangeLogParserTest.java
 (original)
+++ 
maven/maven-1/plugins/trunk/changelog/src/test/org/apache/maven/mkslib/MksChangeLogParserTest.java
 Fri Jan 20 06:35:28 2006
@@ -27,6 +27,7 @@
 
 import java.util.Collection;
 import java.util.Iterator;
+import java.util.Locale;
 
 /**
  * This class test the mks parser with an inputstream.
@@ -58,6 +59,9 @@
      */
     public void setUp() throws Exception
     {
+        // We force the english locale
+        // because the test file uses it.
+        Locale.setDefault(Locale.ENGLISH);
         String baseDir = System.getProperty( "basedir" );
 
         assertNotNull( "The system property basedir was not defined.", baseDir 
);


Reply via email to