directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r539767 - /directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
Date Sat, 19 May 2007 14:58:54 GMT
Author: ersiner
Date: Sat May 19 07:58:53 2007
New Revision: 539767

URL: http://svn.apache.org/viewvc?view=rev&rev=539767
Log:
Minor Javadoc cleanup.

Modified:
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java?view=diff&rev=539767&r1=539766&r2=539767
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/DefaultServerTriggerServiceTest.java
Sat May 19 07:58:53 2007
@@ -81,7 +81,7 @@
         // Load the stored procedure unit which has the stored procedure to be triggered.
         JavaStoredProcedureUtils.loadStoredProcedureClass( ctx, ListUtilsSP.class );
         
-        // Create a container for backing up deleted entries.
+        // Create a group to be subscribed to.
         Attributes staffGroupEntry = new AttributesImpl( SchemaConstants.CN_AT, "staff",
true );
         Attribute objectClass = new AttributeImpl( SchemaConstants.OBJECT_CLASS_AT );
         staffGroupEntry.put( objectClass );
@@ -91,7 +91,7 @@
         Rdn staffRdn = new Rdn(SchemaConstants.CN_AT + "=" + "staff" );
         sysRoot.createSubcontext( staffRdn.getUpName(), staffGroupEntry );
         
-        // Create a container for backing up deleted entries.
+        // Create another group to be subscribed to.
         Attributes teachersGroupEntry = new AttributesImpl( SchemaConstants.CN_AT, "teachers",
true );
         objectClass = new AttributeImpl( SchemaConstants.OBJECT_CLASS_AT );
         teachersGroupEntry.put( objectClass );
@@ -104,7 +104,6 @@
         // Create the Triger Specification within a Trigger Subentry.
         String staffDN = staffRdn.getUpName() + "," + sysRoot.getNameInNamespace();
         String teachersDN = teachersRdn.getUpName() + "," + sysRoot.getNameInNamespace();
-        
         createTriggerSubentry( ctx, "triggerSubentry1",
             "AFTER Add " +
             "CALL \"" + ListUtilsSP.class.getName() + ".subscribeToGroup\" ( $entry , $ldapContext
\"" + staffDN + "\" ); " +
@@ -124,7 +123,7 @@
         // The trigger should be fired at this point.
         // ------------------------------------------
         
-        // Check if the Trigger really worked (backed up the deleted entry).
+        // Check if the Trigger really worked (subscribed the user to give grpups).
         Attributes staff = sysRoot.getAttributes( "cn=staff" );
         Attributes teachers = sysRoot.getAttributes( "cn=teachers" );
         String testEntryName = ( ( LdapContext )sysRoot.lookup( testEntryRdn.getUpName()
) ).getNameInNamespace();



Mime
View raw message