You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/12/19 00:32:46 UTC

svn commit: r357558 - /directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java

Author: elecharny
Date: Sun Dec 18 15:32:37 2005
New Revision: 357558

URL: http://svn.apache.org/viewcvs?rev=357558&view=rev
Log:
Replaced LdapName by LdapDN

Modified:
    directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java

Modified: directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java?rev=357558&r1=357557&r2=357558&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java (original)
+++ directory/apacheds/branches/DN-refactoring/core/src/test/java/org/apache/ldap/server/interceptor/InterceptorChainTest.java Sun Dec 18 15:32:37 2005
@@ -29,9 +29,7 @@
 import org.apache.ldap.server.configuration.DirectoryPartitionConfiguration;
 import org.apache.ldap.server.configuration.MutableInterceptorConfiguration;
 import org.apache.ldap.common.filter.ExprNode;
-import org.apache.ldap.common.name.LdapName;
-//import org.slf4j.Logger;
-//import org.slf4j.LoggerFactory;
+import org.apache.ldap.common.name.LdapDN;
 
 import javax.naming.NamingException;
 import javax.naming.Name;
@@ -87,7 +85,7 @@
 
     public void testNoBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );
@@ -112,7 +110,7 @@
 
     public void testSingleBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );
@@ -141,7 +139,7 @@
 
     public void testAdjacentDoubleBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );
@@ -174,7 +172,7 @@
 
     public void testFrontAndBackDoubleBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );
@@ -203,7 +201,7 @@
 
     public void testDoubleBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );
@@ -232,7 +230,7 @@
 
     public void testCompleteBypass() throws NamingException
     {
-        Name dn = new LdapName( "ou=system" );
+        Name dn = new LdapDN( "ou=system" );
         Context ctx = new DeadContext();
         DirectoryService ds = new MockDirectoryService();
         DirectoryPartitionNexusProxy proxy = new DirectoryPartitionNexusProxy( ctx, ds );