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 2005/10/07 19:01:20 UTC

svn commit: r307166 - /directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java

Author: akarasulu
Date: Fri Oct  7 10:01:16 2005
New Revision: 307166

URL: http://svn.apache.org/viewcvs?rev=307166&view=rev
Log:
fixed a few mistakes made during renames

Modified:
    directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java

Modified: directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java?rev=307166&r1=307165&r2=307166&view=diff
==============================================================================
--- directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java (original)
+++ directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java Fri Oct  7 10:01:16 2005
@@ -31,7 +31,7 @@
 import javax.naming.directory.DirContext;
 
 import org.apache.ldap.server.AbstractAdminTestCase;
-import org.apache.ldap.server.configuration.MutableContextPartitionConfiguration;
+import org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration;
 
 
 /**
@@ -52,10 +52,10 @@
         Set indexedAttrs;
         Set pcfgs = new HashSet();
 
-        MutableContextPartitionConfiguration pcfg;
+        MutableDirectoryPartitionConfiguration pcfg;
         
         // Add partition 'testing'
-        pcfg = new MutableContextPartitionConfiguration();
+        pcfg = new MutableDirectoryPartitionConfiguration();
         pcfg.setName( "testing" );
         pcfg.setSuffix( "ou=testing" );
         
@@ -78,7 +78,7 @@
         pcfgs.add( pcfg );
         
         // Add partition 'example'
-        pcfg = new MutableContextPartitionConfiguration();
+        pcfg = new MutableDirectoryPartitionConfiguration();
         pcfg.setName( "example" );
         pcfg.setSuffix( "dc=example" );
         
@@ -102,7 +102,7 @@
         pcfgs.add( pcfg );
 
         // Add partition 'MixedCase'
-        pcfg = new MutableContextPartitionConfiguration();
+        pcfg = new MutableDirectoryPartitionConfiguration();
         pcfg.setName( "mixedcase" );
         pcfg.setSuffix( "dc=MixedCase" );
         



Re: svn commit: r307166 - /directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java

Posted by Trustin Lee <tr...@gmail.com>.
Oops,

Sorry for my mistake!

Trustin

2005/10/8, akarasulu@apache.org <ak...@apache.org>:
>
> Author: akarasulu
> Date: Fri Oct 7 10:01:16 2005
> New Revision: 307166
>
> URL: http://svn.apache.org/viewcvs?rev=307166&view=rev
> Log:
> fixed a few mistakes made during renames
>
> Modified:
>
> directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java
>
> Modified:
> directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java
> URL:
> http://svn.apache.org/viewcvs/directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java?rev=307166&r1=307165&r2=307166&view=diff
>
> ==============================================================================
> ---
> directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java
> (original)
> +++
> directory/apacheds/trunk/main/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java
> Fri Oct 7 10:01:16 2005
> @@ -31,7 +31,7 @@
> import javax.naming.directory.DirContext;
>
> import org.apache.ldap.server.AbstractAdminTestCase;
> -import
> org.apache.ldap.server.configuration.MutableContextPartitionConfiguration;
> +import
> org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration
> ;
>
>
> /**
> @@ -52,10 +52,10 @@
> Set indexedAttrs;
> Set pcfgs = new HashSet();
>
> - MutableContextPartitionConfiguration pcfg;
> + MutableDirectoryPartitionConfiguration pcfg;
>
> // Add partition 'testing'
> - pcfg = new MutableContextPartitionConfiguration();
> + pcfg = new MutableDirectoryPartitionConfiguration();
> pcfg.setName( "testing" );
> pcfg.setSuffix( "ou=testing" );
>
> @@ -78,7 +78,7 @@
> pcfgs.add( pcfg );
>
> // Add partition 'example'
> - pcfg = new MutableContextPartitionConfiguration();
> + pcfg = new MutableDirectoryPartitionConfiguration();
> pcfg.setName( "example" );
> pcfg.setSuffix( "dc=example" );
>
> @@ -102,7 +102,7 @@
> pcfgs.add( pcfg );
>
> // Add partition 'MixedCase'
> - pcfg = new MutableContextPartitionConfiguration();
> + pcfg = new MutableDirectoryPartitionConfiguration();
> pcfg.setName( "mixedcase" );
> pcfg.setSuffix( "dc=MixedCase" );
>
>
>
>


--
what we call human nature is actually human habit
--
http://gleamynode.net/