You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2003/11/26 18:33:48 UTC
cvs commit: db-ojb/src/test/org/apache/ojb/odmg ScrollableQueryResultsTest.java
brj 2003/11/26 09:33:48
Modified: src/test/org/apache/ojb/odmg ScrollableQueryResultsTest.java
Log:
fixed problems with 'undefined' paging indices
Revision Changes Path
1.18 +3 -3 db-ojb/src/test/org/apache/ojb/odmg/ScrollableQueryResultsTest.java
Index: ScrollableQueryResultsTest.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/ScrollableQueryResultsTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ScrollableQueryResultsTest.java 18 Apr 2003 13:04:33 -0000 1.17
+++ ScrollableQueryResultsTest.java 26 Nov 2003 17:33:48 -0000 1.18
@@ -229,7 +229,7 @@
}
tx.commit();
// check that we got the right amount back.
- if (count != (end - start))
+ if (count != (end - start + 1))
{
fail(
"count not right, found <"
@@ -287,7 +287,7 @@
}
tx.commit();
// check that we got the right amount back.
- if (count != (end))
+ if (count != end)
{
fail(
"count not right, found <"
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org