directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r918056 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java
Date Tue, 02 Mar 2010 14:37:40 GMT
Author: kayyagari
Date: Tue Mar  2 14:37:39 2010
New Revision: 918056

URL: http://svn.apache.org/viewvc?rev=918056&view=rev
Log:
fixed the failing test (the eralier code was checking for the presence of a Attribute OBJECT
inside a Attribute instance instead of its value)

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java?rev=918056&r1=918055&r2=918056&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java
Tue Mar  2 14:37:39 2010
@@ -38,7 +38,6 @@
 import org.apache.directory.server.core.annotations.ApplyLdifs;
 import org.apache.directory.server.core.integ.AbstractLdapTestUnit;
 import org.apache.directory.server.core.integ.FrameworkRunner;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -149,7 +148,6 @@
      * we modify an attribute two times.
      */
     @Test
-    @Ignore
     public void testModifyMultipleChangeDeleteAddSnInMust() throws Exception 
     {
         LdapContext sysRoot = getSystemContext( service );
@@ -169,7 +167,7 @@
         Attributes attrs = sysRoot.getAttributes( RDN_TORI_AMOS );
         Attribute attr = attrs.get( "sn" );
         assertNotNull( attr );
-        assertTrue( attr.contains( snNew ) );
+        assertTrue( attr.contains( snNew.get() ) );
         assertEquals( 1, attr.size() );
     }
 }



Mime
View raw message