aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2011-03-09 04:58:10 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2011-03-09 04:58:10 +0000
commit48e87a45641089eba1716e856505f74bd359f0e7 (patch)
treeb956b451284b6821812c31bb9c7070ac23048bfc /test
parent9239baa9fd8885f7d3554a0930a1a1a940215b68 (diff)
downloadjackcess-48e87a45641089eba1716e856505f74bd359f0e7.tar.gz
jackcess-48e87a45641089eba1716e856505f74bd359f0e7.zip
general revamp of table finding using index backed cursors; use object flags to determine system/hidden objects; read/write text column sort order
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@524 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/CursorBuilderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/CursorBuilderTest.java b/test/src/java/com/healthmarketscience/jackcess/CursorBuilderTest.java
index 260238d..c1872fa 100644
--- a/test/src/java/com/healthmarketscience/jackcess/CursorBuilderTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/CursorBuilderTest.java
@@ -44,7 +44,10 @@ public class CursorBuilderTest extends TestCase {
Cursor expected, Cursor found)
{
assertSame(expected.getTable(), found.getTable());
- assertSame(expected.getIndex(), found.getIndex());
+ if(expected instanceof IndexCursor) {
+ assertSame(((IndexCursor)expected).getIndex(),
+ ((IndexCursor)found).getIndex());
+ }
assertEquals(expected.getSavepoint().getCurrentPosition(),
found.getSavepoint().getCurrentPosition());