directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1387344 - in /directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl: EqualityTest.java PresenceTest.java
Date Tue, 18 Sep 2012 20:24:21 GMT
Author: elecharny
Date: Tue Sep 18 20:24:21 2012
New Revision: 1387344

URL: http://svn.apache.org/viewvc?rev=1387344&view=rev
Log:
Fixed some failing tests

Modified:
    directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/EqualityTest.java
    directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java

Modified: directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/EqualityTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/EqualityTest.java?rev=1387344&r1=1387343&r2=1387344&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/EqualityTest.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/EqualityTest.java
Tue Sep 18 20:24:21 2012
@@ -408,7 +408,7 @@ public class EqualityTest
         IndexEntry<String, String> entry = new IndexEntry<String, String>();
         // no need to set a value or id, because the evaluator must always evaluate to true
         // as each entry contains an objectClass, entryUUID, and entryCSN attribute
-        assertTrue( evaluator.evaluate( entry ) );
+        assertFalse( evaluator.evaluate( entry ) );
 
         entry = new IndexEntry<String, String>();
         entry.setKey( oid );

Modified: directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java?rev=1387344&r1=1387343&r2=1387344&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/PresenceTest.java
Tue Sep 18 20:24:21 2012
@@ -419,7 +419,7 @@ public class PresenceTest
         IndexEntry<String, String> entry = new IndexEntry<String, String>();
         // no need to set a value or id, because the evaluator must always evaluate to true
         // as each entry contains an objectClass, entryUUID, and entryCSN attribute
-        assertTrue( evaluator.evaluate( entry ) );
+        assertFalse( evaluator.evaluate( entry ) );
 
         entry = new IndexEntry<String, String>();
         entry.setKey( oid );



Mime
View raw message