directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r440059 - in /directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server: ./ DefaultServerTriggerServiceTest.java StoredProcedureTest.java
Date Mon, 04 Sep 2006 12:55:21 GMT
Author: ersiner
Date: Mon Sep  4 05:55:20 2006
New Revision: 440059

URL: http://svn.apache.org/viewvc?view=rev&rev=440059
Log:
Adopted code for new SP resource loading scheme.

Modified:
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/   (props
changed)
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java

Propchange: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Sep  4 05:55:20 2006
@@ -0,0 +1 @@
+EndlessTest.java

Modified: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java?view=diff&rev=440059&r1=440058&r2=440059
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
(original)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
Mon Sep  4 05:55:20 2006
@@ -75,7 +75,7 @@
     public void testAfterDeleteBackupDeletedEntry() throws NamingException
     {
         // Load the stored procedure unit which has the stored procedure to be triggered.
-        JavaStoredProcedureUtils.loadStoredProcedureClass( ctx, BackupUtilities.class.getName(),
this.getClass() );
+        JavaStoredProcedureUtils.loadStoredProcedureClass( ctx, BackupUtilities.class );
         
         // Create a container for backing up deleted entries.
         Attributes backupContext = new BasicAttributes( "ou", "backupContext", true );

Modified: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java?view=diff&rev=440059&r1=440058&r2=440059
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
(original)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/StoredProcedureTest.java
Mon Sep  4 05:55:20 2006
@@ -59,7 +59,7 @@
         env.put( "java.naming.security.authentication", "simple" );
         ctx = new InitialLdapContext( env, null );
 
-        JavaStoredProcedureUtils.loadStoredProcedureClass( ctx, HelloWorldProcedure.class.getName(),
getClass() );
+        JavaStoredProcedureUtils.loadStoredProcedureClass( ctx, HelloWorldProcedure.class
);
     }
 
 



Mime
View raw message