You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2009/04/03 16:49:06 UTC

svn commit: r761703 - in /directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core: jndi/MixedCaseITest.java operations/search/SearchWithIndicesITest.java

Author: akarasulu
Date: Fri Apr  3 14:49:06 2009
New Revision: 761703

URL: http://svn.apache.org/viewvc?rev=761703&view=rev
Log:
fixing some breakage in test with changes to xdbm interfaces

Modified:
    directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/jndi/MixedCaseITest.java
    directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesITest.java

Modified: directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/jndi/MixedCaseITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/jndi/MixedCaseITest.java?rev=761703&r1=761702&r2=761703&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/jndi/MixedCaseITest.java (original)
+++ directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/jndi/MixedCaseITest.java Fri Apr  3 14:49:06 2009
@@ -30,7 +30,6 @@
 import org.apache.directory.server.core.integ.annotations.Factory;
 import org.apache.directory.server.core.integ.annotations.CleanupLevel;
 import org.apache.directory.server.core.partition.Partition;
-import org.apache.directory.server.xdbm.Index;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition;
 import org.apache.directory.shared.ldap.exception.LdapNameNotFoundException;
@@ -88,7 +87,7 @@
             partition.setId( "apache" );
             partition.setSuffix( SUFFIX_DN );
 
-            HashSet<Index<?, ServerEntry>> indexedAttributes = new HashSet<Index<?, ServerEntry>>();
+            HashSet<JdbmIndex<?, ServerEntry>> indexedAttributes = new HashSet<JdbmIndex<?, ServerEntry>>();
             indexedAttributes.add( new JdbmIndex<String,ServerEntry>( "objectClass" ) );
             indexedAttributes.add( new JdbmIndex<String,ServerEntry>( "ou" ) );
             indexedAttributes.add( new JdbmIndex<String,ServerEntry>( "uid" ) );

Modified: directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesITest.java?rev=761703&r1=761702&r2=761703&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesITest.java (original)
+++ directory/apacheds/branches/ldif-partition/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesITest.java Fri Apr  3 14:49:06 2009
@@ -30,7 +30,6 @@
 import org.apache.directory.server.core.integ.Level;
 import org.apache.directory.server.core.integ.annotations.Factory;
 import org.apache.directory.server.core.integ.annotations.CleanupLevel;
-import org.apache.directory.server.xdbm.Index;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition;
 
@@ -130,7 +129,7 @@
             partition.setId( "system" );
             partition.setSuffix( "ou=system" );
 
-            Set<Index<?, ServerEntry>> indices = new HashSet<Index<?, ServerEntry>>();
+            Set<JdbmIndex<?, ServerEntry>> indices = new HashSet<JdbmIndex<?, ServerEntry>>();
             indices.addAll( partition.getIndexedAttributes() );
             indices.add( new JdbmIndex<String,ServerEntry>( "gidNumber" ) );
             partition.setIndexedAttributes( indices );