directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r761337 - /directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java
Date Thu, 02 Apr 2009 16:21:17 GMT
Author: akarasulu
Date: Thu Apr  2 16:21:16 2009
New Revision: 761337

URL: http://svn.apache.org/viewvc?rev=761337&view=rev
Log:
fixing breakage

Modified:
    directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java

Modified: directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java?rev=761337&r1=761336&r2=761337&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java
(original)
+++ directory/apacheds/branches/ldif-partition/core-avl/src/test/java/org/apache/directory/server/core/avltree/AvlTreeMapTest.java
Thu Apr  2 16:21:16 2009
@@ -120,10 +120,10 @@
         tree = new AvlTreeMapImpl<Integer, Integer>( comparator, comparator, false
);
         
         assertNull( tree.insert( 43, 891 ) );
-        assertEquals( 891, tree.find( 43 ).getValue().intValue() );
+        assertEquals( 891, tree.find( 43 ).getValue().getSingleton().intValue() );
         
         assertNotNull( tree.insert( 43, 16 ) );
-        assertEquals( 16, tree.find( 43 ).getValue().intValue() );
+        assertEquals( 16, tree.find( 43 ).getValue().getSingleton().intValue() );
     }
     
 
@@ -189,7 +189,7 @@
         LinkedAvlMapNode node = tree.find( 3 );
         assertNotNull( node );
      
-        assertTrue( node.value.getClass() ==  AvlTreeImpl.class );
+        assertTrue( node.value.getOrderedSet().getClass() ==  AvlTreeImpl.class );
         
         AvlTree dupsTree = ( AvlTree ) node.value;
         assertEquals( 3, dupsTree.getSize() );



Mime
View raw message