directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r432700 - /directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java
Date Fri, 18 Aug 2006 19:47:36 GMT
Author: ersiner
Date: Fri Aug 18 12:47:34 2006
New Revision: 432700

URL: http://svn.apache.org/viewvc?rev=432700&view=rev
Log:
Cosmetic changes.

Modified:
    directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java

Modified: directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java?rev=432700&r1=432699&r2=432700&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java
(original)
+++ directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/subtree/BadSubentryServiceITest.java
Fri Aug 18 12:47:34 2006
@@ -64,8 +64,8 @@
         objectClass.add( "subentry" );
         objectClass.add( "collectiveAttributeSubentry" );
         subentry.put( objectClass );
-        subentry.put( "c-o", "Test Org" );
         subentry.put( "subtreeSpecification", "{ }" );
+        subentry.put( "c-o", "Test Org" );
         subentry.put( "cn", cn );
         return subentry;
     }
@@ -131,8 +131,7 @@
         Map resultMap = new HashMap();
         SearchControls controls = new SearchControls();
         controls.setSearchScope( SearchControls.SUBTREE_SCOPE );
-        controls.setReturningAttributes( new String[]
-            { "+", "*" } );
+        controls.setReturningAttributes( new String[] { "+", "*" } );
         NamingEnumeration results = super.sysRoot.search( "", "(objectClass=*)", controls
);
         while ( results.hasMore() )
         {
@@ -178,7 +177,7 @@
         assertTrue( accessControlSubentries.contains( "2.5.4.3=accesscontroltestsubentry,2.5.4.11=system"
) );
         
         assertFalse( "'accessControlSubentries' operational attribute SHOULD NOT " + 
-            "contain references to non-'accessControlSubentry's like collectiveAttributeSubentry's",

+            "contain references to non-'accessControlSubentry's like 'collectiveAttributeSubentry's",

             accessControlSubentries.contains( "2.5.4.3=collectiveattributetestsubentry,2.5.4.11=system"
) );
         
         assertEquals( 1, accessControlSubentries.size() );



Mime
View raw message