summaryrefslogtreecommitdiffstats
path: root/test/src/java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2007-11-21 17:28:21 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2007-11-21 17:28:21 +0000
commitd40e7e7227a22b0cb8f3cbe1f52728a8fa0e08e5 (patch)
treefad6caeed540a4635c4237e85966b59f8134ce2b /test/src/java
parent1c3ffff58cabb77b0e0da85337546502c06d840b (diff)
downloadjackcess-d40e7e7227a22b0cb8f3cbe1f52728a8fa0e08e5.tar.gz
jackcess-d40e7e7227a22b0cb8f3cbe1f52728a8fa0e08e5.zip
add some convenience methods for finding values in a table
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@181 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test/src/java')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/CursorTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/CursorTest.java b/test/src/java/com/healthmarketscience/jackcess/CursorTest.java
index d527c0f..5a0568c 100644
--- a/test/src/java/com/healthmarketscience/jackcess/CursorTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/CursorTest.java
@@ -111,6 +111,11 @@ public class CursorTest extends TestCase {
assertEquals(createExpectedRow("id", 6,
"value", "data" + 6),
cursor.getCurrentRow());
+
+ assertEquals("data" + 9,
+ Cursor.findValue(table,
+ table.getColumn("value"),
+ table.getColumn("id"), 9));
db.close();
}