cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1201698 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
Date Mon, 14 Nov 2011 13:42:44 GMT
Author: sergeyb
Date: Mon Nov 14 13:42:44 2011
New Revision: 1201698

URL: http://svn.apache.org/viewvc?rev=1201698&view=rev
Log:
Fixing a failing test

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java?rev=1201698&r1=1201697&r2=1201698&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
Mon Nov 14 13:42:44 2011
@@ -100,9 +100,8 @@ public class InjectionUtilsTest extends 
         assertEquals("lv22", map.get("d.c").get(1));
         
         assertEquals(2, map.get("d.s").size());
-        assertEquals("set1", map.get("d.s").get(0));
-        assertEquals("set2", map.get("d.s").get(1));
-        
+        assertTrue(map.get("d.s").contains("set1"));
+        assertTrue(map.get("d.s").contains("set2"));
     }
 
     static class CustomerBean1 {



Mime
View raw message