diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2011-03-09 04:58:10 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2011-03-09 04:58:10 +0000 |
commit | 48e87a45641089eba1716e856505f74bd359f0e7 (patch) | |
tree | b956b451284b6821812c31bb9c7070ac23048bfc /test | |
parent | 9239baa9fd8885f7d3554a0930a1a1a940215b68 (diff) | |
download | jackcess-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.java | 5 |
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()); |