You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2009/09/03 21:48:07 UTC
svn commit: r811094 -
/directory/apacheds/branches/apacheds-schema/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
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() );