cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r530103 - /incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java
Date Wed, 18 Apr 2007 17:47:46 GMT
Author: gnodet
Date: Wed Apr 18 10:47:45 2007
New Revision: 530103

URL: http://svn.apache.org/viewvc?view=rev&rev=530103
Log:
Fix junit test on french locale ;-)

Modified:
    incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java

Modified: incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java?view=diff&rev=530103&r1=530102&r2=530103
==============================================================================
--- incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java
(original)
+++ incubator/cxf/trunk/rt/frontend/js/src/test/java/org/apache/cxf/js/rhino/ProviderFactoryTest.java
Wed Apr 18 10:47:45 2007
@@ -71,7 +71,8 @@
             ph.createAndPublish(f);
             fail("expected exception did not occur");
         } catch (EvaluatorException ex) {
-            assertTrue("wrong exception", ex.getMessage().startsWith("syntax error"));
+            assertTrue("wrong exception", ex.getMessage().startsWith("syntax error")
+                                       || ex.getMessage().startsWith("erreur de syntaxe"));
         }
         EasyMock.verify(dpMock);
     }



Mime
View raw message