You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2004/07/17 00:52:32 UTC

cvs commit: jakarta-commons/jxpath/src/test/org/apache/commons/jxpath JXPathTestCase.java

dmitri      2004/07/16 15:52:32

  Modified:    jxpath/src/test/org/apache/commons/jxpath
                        JXPathTestCase.java
  Log:
  PR 30133. Made test cases Locale-independent
  
  Revision  Changes    Path
  1.36      +3 -1      jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java
  
  Index: JXPathTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/JXPathTestCase.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- JXPathTestCase.java	29 Feb 2004 14:17:40 -0000	1.35
  +++ JXPathTestCase.java	16 Jul 2004 22:52:32 -0000	1.36
  @@ -21,6 +21,7 @@
   import java.util.HashSet;
   import java.util.Iterator;
   import java.util.List;
  +import java.util.Locale;
   import java.util.Set;
   
   import junit.framework.TestCase;
  @@ -42,6 +43,7 @@
        */
       public JXPathTestCase(String name) {
           super(name);
  +        Locale.setDefault(Locale.US);
       }
       
       protected void assertXPathValue(JXPathContext ctx,
  
  
  

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