jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex...@apache.org
Subject svn commit: r966584 - in /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query: LimitAndOffsetTest.java TestAll.java
Date Thu, 22 Jul 2010 11:25:48 GMT
Author: alexkli
Date: Thu Jul 22 11:25:47 2010
New Revision: 966584

URL: http://svn.apache.org/viewvc?rev=966584&view=rev
Log:
#0000 fixing jcr query LimitAndOffsetTest and adding it to the TestAll suite

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/TestAll.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java?rev=966584&r1=966583&r2=966584&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java
Thu Jul 22 11:25:47 2010
@@ -128,7 +128,7 @@ public class LimitAndOffsetTest extends 
         QueryResult result = query.execute();
         NodeIterator nodes = result.getNodes();
         nodes.skip(1);
-        assertTrue(nodes.nextNode() == node3);
+        assertTrue(node3.isSame(nodes.nextNode()));
     }
 
     public void testOffsetAndLimitWithGetSize() throws Exception {

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/TestAll.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/TestAll.java?rev=966584&r1=966583&r2=966584&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/TestAll.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/TestAll.java
Thu Jul 22 11:25:47 2010
@@ -63,6 +63,7 @@ public class TestAll extends TestCase {
         suite.addTestSuite(ParentNodeTest.class);
         suite.addTestSuite(SimilarQueryTest.class);
         suite.addTestSuite(FulltextSQL2QueryTest.class);
+        suite.addTestSuite(LimitAndOffsetTest.class);
 
         return suite;
     }



Mime
View raw message