cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1245645 - /cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java
Date Fri, 17 Feb 2012 16:37:27 GMT
Author: dkulp
Date: Fri Feb 17 16:37:27 2012
New Revision: 1245645

URL: http://svn.apache.org/viewvc?rev=1245645&view=rev
Log:
Fix failing test that relied on some stuff that was not back portable to 2.4.x

Modified:
    cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java

Modified: cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java?rev=1245645&r1=1245644&r2=1245645&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BeanTest.java
Fri Feb 17 16:37:27 2012
@@ -643,9 +643,8 @@ public class BeanTest extends AbstractAe
         type.setSchemaType(new QName("urn:foo", "ExtendingInterface"));
 
         Set<AegisType> dependencies = type.getDependencies();
-        assertEquals(2, dependencies.size());
-        dependencies.remove(stringType);
-        assertEquals(SimpleInterface.class, dependencies.iterator().next().getTypeClass());
+        assertEquals(1, dependencies.size());
+        assertEquals(String.class, dependencies.iterator().next().getTypeClass());
     }
 
     @Test



Mime
View raw message