cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r798461 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java
Date Tue, 28 Jul 2009 09:19:01 GMT
Author: sergeyb
Date: Tue Jul 28 09:18:58 2009
New Revision: 798461

URL: http://svn.apache.org/viewvc?rev=798461&view=rev
Log:
CXF-2362 : attempting to fix AegisJSONProviderTest on AIX

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java?rev=798461&r1=798460&r2=798461&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisJSONProviderTest.java
Tue Jul 28 09:18:58 2009
@@ -146,9 +146,11 @@
                   MediaType.APPLICATION_JSON_TYPE, new MetadataMap<String, Object>(),
os);
         
         String s = os.toString();
-        String data = "{\"ns1.ManyTags\":[{\"ns1.tags\":[{},{\"ns1.TagVO\""
+        String data1 = "{\"ns1.ManyTags\":[{\"ns1.tags\":[{},{\"ns1.TagVO\""
             + ":{\"ns1.group\":\"b\",\"ns1.name\":\"a\"}}]}]}";
-        assertEquals(data, s);
+        String data2 = "{\"ns1.ManyTags\":[{\"ns1.tags\":[{},{\"ns1.TagVO\""
+            + ":{\"ns1.name\":\"a\",\"ns1.group\":\"b\"}}]}]}";
+        assertTrue(data1.equals(s) || data2.equals(s));
     }
     
     private TagVO createTag(String name, String group) {



Mime
View raw message