directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r515056 - /directory/apacheds/branches/1.0/core-unit/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceITest.java
Date Tue, 06 Mar 2007 10:26:46 GMT
Author: elecharny
Date: Tue Mar  6 02:26:46 2007
New Revision: 515056

URL: http://svn.apache.org/viewvc?view=rev&rev=515056
Log:
As the SchemaService now set the objectClass attribute names to "objectClass" instead of "ObjectClass",
modified the test accordingly

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

Modified: directory/apacheds/branches/1.0/core-unit/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/1.0/core-unit/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceITest.java?view=diff&rev=515056&r1=515055&r2=515056
==============================================================================
--- directory/apacheds/branches/1.0/core-unit/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceITest.java
(original)
+++ directory/apacheds/branches/1.0/core-unit/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceITest.java
Tue Mar  6 02:26:46 2007
@@ -56,7 +56,7 @@
     private DirContext createSubContext( DirContext ctx, String type, String value ) throws
NamingException
     {
         Attributes attrs = new LockableAttributesImpl( type, value );
-        Attribute attr = new LockableAttributeImpl( "ObjectClass" );
+        Attribute attr = new LockableAttributeImpl( "objectClass" );
         attr.add( "top"  );
         attr.add( "person" );
         attr.add( "OrganizationalPerson" );
@@ -123,7 +123,7 @@
         try
         {
             Attributes attrs = new LockableAttributesImpl( "ou", "users" );
-            Attribute attr = new LockableAttributeImpl( "ObjectClass" );
+            Attribute attr = new LockableAttributeImpl( "objectClass" );
             attr.add( "top"  );
             attr.add( "OrganizationalUnit" );
             attrs.put( attr );
@@ -141,7 +141,7 @@
         try
         {
             Attributes attrs = new LockableAttributesImpl( "ou", "uzerz" );
-            Attribute attr = new LockableAttributeImpl( "ObjectClass" );
+            Attribute attr = new LockableAttributeImpl( "objectClass" );
             attr.add( "top"  );
             attr.add( "OrganizationalUnit" );
             attrs.put( attr );



Mime
View raw message