directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r527126 - /directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java
Date Tue, 10 Apr 2007 13:05:36 GMT
Author: elecharny
Date: Tue Apr 10 06:05:36 2007
New Revision: 527126

URL: http://svn.apache.org/viewvc?view=rev&rev=527126
Log:
Modified the test accordingly to the Interceptor interface changes :
we now have a ServiceContext parameter for many operations

Modified:
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java

Modified: directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java?view=diff&rev=527126&r1=527125&r2=527126
==============================================================================
--- directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java
(original)
+++ directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/interceptor/InterceptorChainTest.java
Tue Apr 10 06:05:36 2007
@@ -332,32 +332,32 @@
         }
 
 
-        public boolean compare( NextInterceptor next, LdapDN name, String oid, Object value
) throws NamingException
+        public boolean compare( NextInterceptor next, ServiceContext compareContext ) throws
NamingException
         {
             interceptors.add( this );
-            return next.compare( name, oid, value );
+            return next.compare( compareContext );
         }
 
 
-        public void delete( NextInterceptor next, LdapDN name ) throws NamingException
+        public void delete( NextInterceptor next, ServiceContext deleteContext ) throws NamingException
         {
             interceptors.add( this );
-            next.delete( name );
+            next.delete( deleteContext );
         }
 
 
-        public void add(NextInterceptor next, LdapDN name, Attributes entry)
+        public void add(NextInterceptor next, ServiceContext addContext )
             throws NamingException
         {
             interceptors.add( this );
-            next.add(name, entry );
+            next.add( addContext );
         }
 
 
-        public void modify( NextInterceptor next, LdapDN name, int modOp, Attributes attributes
) throws NamingException
+        public void modify( NextInterceptor next, ServiceContext modifyContext ) throws NamingException
         {
             interceptors.add( this );
-            next.modify( name, modOp, attributes );
+            next.modify( modifyContext );
         }
 
 



Mime
View raw message