You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/03/02 15:37:40 UTC
svn commit: r918056 -
/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/modify/ModifyMultipleChangesIT.java
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() );
}
}