directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r811094 - /directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
Date Thu, 03 Sep 2009 19:48:07 GMT
Author: kayyagari
Date: Thu Sep  3 19:48:07 2009
New Revision: 811094

URL: http://svn.apache.org/viewvc?rev=811094&view=rev
Log:
fixed the failing testConvertIndex test

Modified:
    directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java

Modified: directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java?rev=811094&r1=811093&r2=811094&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
(original)
+++ directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
Thu Sep  3 19:48:07 2009
@@ -471,7 +471,7 @@
     @Test
     public void testConvertIndex() throws Exception
     {
-        Index nonJdbmIndex = new Index()
+        Index nonAvlIndex = new Index()
         {
 
             public void add( Object attrVal, Long id ) throws Exception { }
@@ -655,9 +655,9 @@
             
         };
         
-        Method convertIndex = store.getClass().getDeclaredMethod( "convertIndex", Index.class
);
+        Method convertIndex = store.getClass().getDeclaredMethod( "convert", Index.class
);
         convertIndex.setAccessible( true );
-        Object obj = convertIndex.invoke( store, nonJdbmIndex );
+        Object obj = convertIndex.invoke( store, nonAvlIndex );
         
         assertNotNull( obj );
         assertEquals( AvlIndex.class, obj.getClass() );



Mime
View raw message