directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r570887 - in /directory: apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/ apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/ shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap...
Date Wed, 29 Aug 2007 18:19:29 GMT
Author: ersiner
Date: Wed Aug 29 11:19:29 2007
New Revision: 570887

URL: http://svn.apache.org/viewvc?rev=570887&view=rev
Log:
Renaming SP related classes.

Added:
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureExecutionITest.java
      - copied, changed from r570883, directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/JavaStoredProcUtils.java
      - copied, changed from r570883, directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/BaseJavaStoredProcUtils.java
Removed:
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/BaseJavaStoredProcUtils.java
Modified:
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java?rev=570887&r1=570886&r2=570887&view=diff
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
(original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
Wed Aug 29 11:19:29 2007
@@ -27,7 +27,7 @@
 
 import org.apache.directory.server.core.unit.AbstractAdminTestCase;
 import org.apache.directory.shared.ldap.message.AttributesImpl;
-import org.apache.directory.shared.ldap.sp.BaseJavaStoredProcUtils;
+import org.apache.directory.shared.ldap.sp.JavaStoredProcUtils;
 import org.apache.directory.shared.ldap.trigger.TriggerUtils;
 import org.apache.directory.shared.ldap.util.AttributeUtils;
 
@@ -84,7 +84,7 @@
         injectEntries( ldif );
         
         // Load the stored procedure unit which has the stored procedure to be triggered.
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, BackupUtilitiesSP.class
);
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, BackupUtilitiesSP.class );
         
         // Create the Entry Trigger Specification.
         TriggerUtils.defineTriggerExecutionSpecificPoint( ctx );
@@ -108,7 +108,7 @@
     public void testAfterDeleteBackupDeletedEntryPrescriptiveTrigger() throws NamingException
     {
         // Load the stored procedure unit which has the stored procedure to be triggered.
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, BackupUtilitiesSP.class
);
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, BackupUtilitiesSP.class );
         
         // Create a container for backing up deleted entries.
         String ldif  = 
@@ -182,7 +182,7 @@
             "cn: teachers\n";
         
         // Load the stored procedure unit which has the stored procedure to be triggered.
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, ListUtilsSP.class );
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, ListUtilsSP.class );
 
         // Inject the ldif file into the server
         injectEntries( ldif );

Copied: directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureExecutionITest.java
(from r570883, directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureExecutionITest.java?p2=directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureExecutionITest.java&p1=directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java&r1=570883&r2=570887&rev=570887&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/StoredProcedureExecutionITest.java
Wed Aug 29 11:19:29 2007
@@ -37,7 +37,7 @@
 import org.apache.directory.server.unit.AbstractServerTest;
 import org.apache.directory.shared.ldap.message.AttributesImpl;
 import org.apache.directory.shared.ldap.name.LdapDN;
-import org.apache.directory.shared.ldap.sp.BaseJavaStoredProcUtils;
+import org.apache.directory.shared.ldap.sp.JavaStoredProcUtils;
 import org.apache.directory.shared.ldap.sp.LdapContextParameter;
 
 
@@ -45,7 +45,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev:$
  */
-public class StoredProcedureTest extends AbstractServerTest
+public class StoredProcedureExecutionITest extends AbstractServerTest
 {
     private LdapContext ctx = null;
     private LdapContext spCtx = null;
@@ -91,9 +91,9 @@
     {
         String procedureName = HelloWorldProcedure.class.getName() + ":sayHello";
         
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, HelloWorldProcedure.class
);
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, HelloWorldProcedure.class );
         
-        Object response = BaseJavaStoredProcUtils.callStoredProcedure( ctx, procedureName,
new Object[] { } );
+        Object response = JavaStoredProcUtils.callStoredProcedure( ctx, procedureName, new
Object[] { } );
         
         assertEquals( "Hello World!", response );
     }
@@ -103,9 +103,9 @@
     {
         String procedureName = HelloWorldProcedure.class.getName() + ":sayHelloTo";
         
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, HelloWorldProcedure.class
);
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, HelloWorldProcedure.class );
         
-        Object response = BaseJavaStoredProcUtils.callStoredProcedure( ctx, procedureName,
new Object[] { "Ersin" } );
+        Object response = JavaStoredProcUtils.callStoredProcedure( ctx, procedureName, new
Object[] { "Ersin" } );
         
         assertEquals( "Hello Ersin!", response );
     }
@@ -135,13 +135,13 @@
         
         injectEntries( ldif );
         
-        BaseJavaStoredProcUtils.loadStoredProcedureClass( spCtx, DITUtilitiesSP.class );
+        JavaStoredProcUtils.loadStoredProcedureClass( spCtx, DITUtilitiesSP.class );
         
         String spName = DITUtilitiesSP.class.getName() + ":deleteSubtree";
         Object[] params = new Object[] { new LdapContextParameter( "ou=system" ),
                                          new LdapDN( "ou=People" ) };
         
-        BaseJavaStoredProcUtils.callStoredProcedure( ctx, spName, params );
+        JavaStoredProcUtils.callStoredProcedure( ctx, spName, params );
         
         try
         {

Copied: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/JavaStoredProcUtils.java
(from r570883, directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/BaseJavaStoredProcUtils.java)
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/JavaStoredProcUtils.java?p2=directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/JavaStoredProcUtils.java&p1=directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/BaseJavaStoredProcUtils.java&r1=570883&r2=570887&rev=570887&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/BaseJavaStoredProcUtils.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/sp/JavaStoredProcUtils.java
Wed Aug 29 11:19:29 2007
@@ -43,7 +43,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev:$
  */
-public class BaseJavaStoredProcUtils
+public class JavaStoredProcUtils
 {
 
     



Mime
View raw message