directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r835393 - /directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java
Date Thu, 12 Nov 2009 14:38:37 GMT
Author: elecharny
Date: Thu Nov 12 14:38:37 2009
New Revision: 835393

URL: http://svn.apache.org/viewvc?rev=835393&view=rev
Log:
Added some comments

Modified:
    directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java

Modified: directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java?rev=835393&r1=835392&r2=835393&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaAttributeTypeHandlerIT.java
Thu Nov 12 14:38:37 2009
@@ -132,11 +132,14 @@
         LdapDN dn = getAttributeTypeContainer( "apachemeta" );
         dn.add( "m-oid=" + OID );
         
+        // Pre-checks
         assertFalse( isOnDisk( dn ) );
         assertFalse( service.getSchemaManager().getAttributeTypeRegistry().contains( OID
) );
 
+        // Addition
         getSchemaContext( service ).createSubcontext( dn, attrs );
         
+        // Post-checks
         assertTrue( service.getSchemaManager().getAttributeTypeRegistry().contains( OID )
);
         assertEquals( service.getSchemaManager().getAttributeTypeRegistry().getSchemaName(
OID ), "apachemeta" );
         assertTrue( isOnDisk( dn ) );



Mime
View raw message