directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1376033 - /directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java
Date Wed, 22 Aug 2012 13:23:45 GMT
Author: elecharny
Date: Wed Aug 22 13:23:45 2012
New Revision: 1376033

URL: http://svn.apache.org/viewvc?rev=1376033&view=rev
Log:
Used the JdbmIndex( attribute ) instead of JdbmIndex()

Modified:
    directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java

Modified: directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java?rev=1376033&r1=1376032&r2=1376033&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/server-integ/src/test/java/org/apache/directory/IndexTest.java
Wed Aug 22 13:23:45 2012
@@ -93,7 +93,7 @@ public class IndexTest
 
         AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( SchemaConstants.OU_AT
);
 
-        jdbmIndex = new JdbmIndex<String, Entry>();
+        jdbmIndex = new JdbmIndex<String, Entry>( attributeType.getName() );
         jdbmIndex.setWkDirPath( dbFileDir.toURI() );
         jdbmIndex.init( schemaManager, attributeType );
 
@@ -110,7 +110,7 @@ public class IndexTest
 
 
     @Test
-    @Ignore( "Does not work with JDBM2" )
+    @Ignore("Does not work with JDBM2")
     public void testJdbmIndex() throws Exception
     {
         doTest( jdbmIndex );
@@ -143,7 +143,7 @@ public class IndexTest
         }
 
         assertFalse( cursor1.next() );
-        
+
         cursor1.close();
     }
 



Mime
View raw message