directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r937666 - in /directory/apacheds/trunk: avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/ avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/ jdbm-partition/src/main/java/org/apache/director...
Date Sat, 24 Apr 2010 18:11:02 GMT
Author: seelmann
Date: Sat Apr 24 18:11:01 2010
New Revision: 937666

URL: http://svn.apache.org/viewvc?rev=937666&view=rev
Log:
Renamed get/setWorkingDirectory to get/setPartitionDir, use same method names in Partition
and Store

Modified:
    directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlStore.java
    directory/apacheds/trunk/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
    directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
    directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
    directory/apacheds/trunk/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStoreTest.java
    directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifStore.java
    directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractStore.java
    directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Store.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/AndCursorTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/GreaterEqTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OneLevelScopeTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OrCursorTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubstringTest.java
    directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubtreeScopeTest.java

Modified: directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlStore.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlStore.java
(original)
+++ directory/apacheds/trunk/avl-partition/src/main/java/org/apache/directory/server/core/partition/avl/AvlStore.java
Sat Apr 24 18:11:01 2010
@@ -2095,7 +2095,7 @@ public class AvlStore<E> extends Abstrac
 
 
     @Override
-    public File getWorkingDirectory()
+    public File getPartitionDir()
     {
         // returns null always
         return null;

Modified: directory/apacheds/trunk/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
(original)
+++ directory/apacheds/trunk/avl-partition/src/test/java/org/apache/directory/server/core/partition/avl/AvlStoreTest.java
Sat Apr 24 18:11:01 2010
@@ -202,9 +202,9 @@ public class AvlStoreTest
         store.setUserIndices( set );
         assertEquals( set.size(), store.getUserIndices().size() );
 
-        assertNull( store.getWorkingDirectory() );
-        store.setWorkingDirectory( new File( "." ) );
-        assertNull( store.getWorkingDirectory() );
+        assertNull( store.getPartitionDir() );
+        store.setPartitionDir( new File( "." ) );
+        assertNull( store.getPartitionDir() );
 
         assertFalse( store.isInitialized() );
         assertFalse( store.isSyncOnWrite() );
@@ -378,7 +378,7 @@ public class AvlStoreTest
         {
         }
 
-        assertNull( store.getWorkingDirectory() );
+        assertNull( store.getPartitionDir() );
 
         assertTrue( store.isInitialized() );
         assertFalse( store.isSyncOnWrite() );

Modified: directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
(original)
+++ directory/apacheds/trunk/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java
Sat Apr 24 18:11:01 2010
@@ -60,7 +60,7 @@ public class JdbmPartition extends Abstr
     @SuppressWarnings("unchecked")
     protected void doInit() throws Exception
     {
-        store.setWorkingDirectory( getPartitionDir() );
+        store.setPartitionDir( getPartitionDir() );
 
         EvaluatorBuilder<Long> evaluatorBuilder = new EvaluatorBuilder<Long>(
store, schemaManager );
         CursorBuilder<Long> cursorBuilder = new CursorBuilder<Long>( store, evaluatorBuilder
);
@@ -84,7 +84,7 @@ public class JdbmPartition extends Abstr
         // Normalize the suffix
         suffix.normalize( schemaManager.getNormalizerMapping() );
         store.setSuffixDn( suffix.getNormName() );
-        store.setWorkingDirectory( getPartitionDir() );
+        store.setPartitionDir( getPartitionDir() );
 
         Set<Index<?, ServerEntry, Long>> userIndices = new HashSet<Index<?,
ServerEntry, Long>>();
 

Modified: directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Sat Apr 24 18:11:01 2010
@@ -181,10 +181,10 @@ public class JdbmStore<E> extends Abstra
 
         this.upSuffix = new DN( suffixDn );
         this.normSuffix = DN.normalize( upSuffix, schemaManager.getNormalizerMapping() );
-        workingDirectory.mkdirs();
+        partitionDir.mkdirs();
 
         // First, check if the file storing the data exists
-        String path = workingDirectory.getPath() + File.separator + "master";
+        String path = partitionDir.getPath() + File.separator + "master";
         BaseRecordManager base = new BaseRecordManager( path );
         base.disableTransactions();
 
@@ -228,7 +228,7 @@ public class JdbmStore<E> extends Abstra
                 String oid = schemaManager.getAttributeTypeRegistry().getOidByName( index.getAttributeId()
);
                 tmp.put( oid, index );
                 ( ( JdbmIndex ) index ).init( schemaManager, schemaManager.lookupAttributeTypeRegistry(
oid ),
-                    workingDirectory );
+                    partitionDir );
             }
             systemIndices = tmp;
         }
@@ -239,7 +239,7 @@ public class JdbmStore<E> extends Abstra
             rdnIdx.setAttributeId( ApacheSchemaConstants.APACHE_RDN_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_RDN_AT_OID, ( JdbmIndex ) rdnIdx
);
             rdnIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_RDN_AT_OID ),
workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_RDN_AT_OID ),
partitionDir );
         }
         
         if ( presenceIdx == null )
@@ -248,7 +248,7 @@ public class JdbmStore<E> extends Abstra
             presenceIdx.setAttributeId( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID, presenceIdx
);
             presenceIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID
), workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID
), partitionDir );
         }
 
         if ( oneLevelIdx == null )
@@ -257,7 +257,7 @@ public class JdbmStore<E> extends Abstra
             oneLevelIdx.setAttributeId( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID, oneLevelIdx
);
             oneLevelIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID
), workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID
), partitionDir );
         }
 
         if ( oneAliasIdx == null )
@@ -266,7 +266,7 @@ public class JdbmStore<E> extends Abstra
             oneAliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID, oneAliasIdx
);
             oneAliasIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID
), workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID
), partitionDir );
         }
 
         if ( subAliasIdx == null )
@@ -275,7 +275,7 @@ public class JdbmStore<E> extends Abstra
             subAliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID, subAliasIdx
);
             subAliasIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID
), workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID
), partitionDir );
         }
 
         if ( aliasIdx == null )
@@ -284,7 +284,7 @@ public class JdbmStore<E> extends Abstra
             aliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_ALIAS_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_ALIAS_AT_OID, aliasIdx );
             aliasIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ALIAS_AT_OID ),
workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ALIAS_AT_OID ),
partitionDir );
         }
 
         if ( subLevelIdx == null )
@@ -293,7 +293,7 @@ public class JdbmStore<E> extends Abstra
             subLevelIdx.setAttributeId( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID );
             systemIndices.put( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID, subLevelIdx
);
             subLevelIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID
), workingDirectory );
+                .lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID
), partitionDir );
         }
 
         if ( entryCsnIdx == null )
@@ -302,7 +302,7 @@ public class JdbmStore<E> extends Abstra
             entryCsnIdx.setAttributeId( SchemaConstants.ENTRY_CSN_AT_OID );
             systemIndices.put( SchemaConstants.ENTRY_CSN_AT_OID, entryCsnIdx );
             entryCsnIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( SchemaConstants.ENTRY_CSN_AT_OID ), workingDirectory
);
+                .lookupAttributeTypeRegistry( SchemaConstants.ENTRY_CSN_AT_OID ), partitionDir
);
         }
 
         if ( entryUuidIdx == null )
@@ -311,7 +311,7 @@ public class JdbmStore<E> extends Abstra
             entryUuidIdx.setAttributeId( SchemaConstants.ENTRY_UUID_AT_OID );
             systemIndices.put( SchemaConstants.ENTRY_UUID_AT_OID, entryUuidIdx );
             entryUuidIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( SchemaConstants.ENTRY_UUID_AT_OID ), workingDirectory
);
+                .lookupAttributeTypeRegistry( SchemaConstants.ENTRY_UUID_AT_OID ), partitionDir
);
         }
 
         if ( objectClassIdx == null )
@@ -320,7 +320,7 @@ public class JdbmStore<E> extends Abstra
             objectClassIdx.setAttributeId( SchemaConstants.OBJECT_CLASS_AT_OID );
             systemIndices.put( SchemaConstants.OBJECT_CLASS_AT_OID, objectClassIdx );
             objectClassIdx.init( schemaManager, schemaManager
-                .lookupAttributeTypeRegistry( SchemaConstants.OBJECT_CLASS_AT_OID ), workingDirectory
);
+                .lookupAttributeTypeRegistry( SchemaConstants.OBJECT_CLASS_AT_OID ), partitionDir
);
         }
     }
 
@@ -350,7 +350,7 @@ public class JdbmStore<E> extends Abstra
                 if ( mr != null )
                 {
                     ( ( JdbmIndex ) index ).init( schemaManager, schemaManager.lookupAttributeTypeRegistry(
oid ),
-                        workingDirectory );
+                        partitionDir );
                     tmp.put( oid, index );
                 }
                 else

Modified: directory/apacheds/trunk/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStoreTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStoreTest.java
(original)
+++ directory/apacheds/trunk/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStoreTest.java
Sat Apr 24 18:11:01 2010
@@ -132,7 +132,7 @@ public class JdbmStoreTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );
         store.addIndex( new JdbmIndex( SchemaConstants.UID_AT_OID ) );
@@ -179,7 +179,7 @@ public class JdbmStoreTest
         JdbmStore<ServerEntry> store2 = new JdbmStore<ServerEntry>();
         store2.setName( "example2" );
         store2.setCacheSize( 10 );
-        store2.setWorkingDirectory( wkdir2 );
+        store2.setPartitionDir( wkdir2 );
         store2.setSyncOnWrite( false );
         store2.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );
         store2.addIndex( new JdbmIndex( SchemaConstants.UID_AT_OID ) );
@@ -258,9 +258,9 @@ public class JdbmStoreTest
         store.setUserIndices( set );
         assertEquals( set.size(), store.getUserIndices().size() );
 
-        assertNull( store.getWorkingDirectory() );
-        store.setWorkingDirectory( new File( "." ) );
-        assertEquals( new File( "." ), store.getWorkingDirectory() );
+        assertNull( store.getPartitionDir() );
+        store.setPartitionDir( new File( "." ) );
+        assertEquals( new File( "." ), store.getPartitionDir() );
 
         assertFalse( store.isInitialized() );
         assertTrue( store.isSyncOnWrite() );
@@ -424,10 +424,10 @@ public class JdbmStoreTest
         {
         }
 
-        assertNotNull( store.getWorkingDirectory() );
+        assertNotNull( store.getPartitionDir() );
         try
         {
-            store.setWorkingDirectory( new File( "." ) );
+            store.setPartitionDir( new File( "." ) );
             fail();
         }
         catch ( IllegalStateException e )

Modified: directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifStore.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifStore.java
(original)
+++ directory/apacheds/trunk/ldif-partition/src/main/java/org/apache/directory/server/core/partition/ldif/LdifStore.java
Sat Apr 24 18:11:01 2010
@@ -92,11 +92,11 @@ public class LdifStore<E> extends Abstra
     public void loadConfig() throws Exception
     {
         String upsuffixDir = wrappedStore.getUpSuffix().getName().toLowerCase();
-        File dir = new File( workingDirectory, upsuffixDir );
+        File dir = new File( partitionDir, upsuffixDir );
 
         if ( !dir.exists() )
         {
-            throw new Exception( I18n.err( I18n.ERR_631, upsuffixDir, workingDirectory.getAbsolutePath()
) );
+            throw new Exception( I18n.err( I18n.ERR_631, upsuffixDir, partitionDir.getAbsolutePath()
) );
         }
 
         loadEntry( dir );
@@ -163,7 +163,7 @@ public class LdifStore<E> extends Abstra
         int size = entryDn.size();
 
         StringBuilder filePath = new StringBuilder();
-        filePath.append( workingDirectory.getAbsolutePath() ).append( File.separator );
+        filePath.append( partitionDir.getAbsolutePath() ).append( File.separator );
 
         for ( int i = 0; i < size; i++ )
         {

Modified: directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractStore.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractStore.java
(original)
+++ directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractStore.java
Sat Apr 24 18:11:01 2010
@@ -42,7 +42,7 @@ public abstract class AbstractStore<E, I
     protected boolean initialized;
 
     /** the working directory to use for files */
-    protected File workingDirectory;
+    protected File partitionDir;
 
     /** true if we sync disks on every write operation */
     protected boolean isSyncOnWrite = true;
@@ -72,16 +72,16 @@ public abstract class AbstractStore<E, I
     }
 
 
-    public void setWorkingDirectory( File workingDirectory )
+    public void setPartitionDir( File partitionDir )
     {
-        protect( "workingDirectory" );
-        this.workingDirectory = workingDirectory;
+        protect( "partitionDir" );
+        this.partitionDir = partitionDir;
     }
 
 
-    public File getWorkingDirectory()
+    public File getPartitionDir()
     {
-        return workingDirectory;
+        return partitionDir;
     }
 
 

Modified: directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Store.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Store.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Store.java
(original)
+++ directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/Store.java
Sat Apr 24 18:11:01 2010
@@ -88,15 +88,19 @@ public interface Store<E, ID>
      */
 
     /**
-     * Sets the working directory for the store
+     * Sets the partition directory (working directory) for the store.
+     * 
+     * @param partitionDir the new partition directory
      */
-    void setWorkingDirectory( File workingDirectory );
+    void setPartitionDir( File partitionDir );
 
 
     /**
-     * @return The current working directory for the store
+     * Gets the partition directory (working directory) for the store.
+     * 
+     * @return The current partition directory (working directory) for the store
      */
-    File getWorkingDirectory();
+    File getPartitionDir();
 
 
     /**

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/AndCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/AndCursorTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/AndCursorTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/AndCursorTest.java
Sat Apr 24 18:11:01 2010
@@ -132,7 +132,7 @@ public class AndCursorTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/GreaterEqTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/GreaterEqTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/GreaterEqTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/GreaterEqTest.java
Sat Apr 24 18:11:01 2010
@@ -129,7 +129,7 @@ public class GreaterEqTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/LessEqTest.java
Sat Apr 24 18:11:01 2010
@@ -129,7 +129,7 @@ public class LessEqTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
Sat Apr 24 18:11:01 2010
@@ -128,7 +128,7 @@ public class NestedFilterTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
Sat Apr 24 18:11:01 2010
@@ -129,7 +129,7 @@ public class NotCursorTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OneLevelScopeTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OneLevelScopeTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OneLevelScopeTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OneLevelScopeTest.java
Sat Apr 24 18:11:01 2010
@@ -124,7 +124,7 @@ public class OneLevelScopeTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( true );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OrCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OrCursorTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OrCursorTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/OrCursorTest.java
Sat Apr 24 18:11:01 2010
@@ -131,7 +131,7 @@ public class OrCursorTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
Sat Apr 24 18:11:01 2010
@@ -117,7 +117,7 @@ public class PresenceTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubstringTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubstringTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubstringTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubstringTest.java
Sat Apr 24 18:11:01 2010
@@ -115,7 +115,7 @@ public class SubstringTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( false );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );

Modified: directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubtreeScopeTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubtreeScopeTest.java?rev=937666&r1=937665&r2=937666&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubtreeScopeTest.java
(original)
+++ directory/apacheds/trunk/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/SubtreeScopeTest.java
Sat Apr 24 18:11:01 2010
@@ -124,7 +124,7 @@ public class SubtreeScopeTest
         store = new JdbmStore<ServerEntry>();
         store.setName( "example" );
         store.setCacheSize( 10 );
-        store.setWorkingDirectory( wkdir );
+        store.setPartitionDir( wkdir );
         store.setSyncOnWrite( true );
 
         store.addIndex( new JdbmIndex( SchemaConstants.OU_AT_OID ) );



Mime
View raw message