summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2011-03-31 03:58:26 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2011-03-31 03:58:26 +0000
commit72f50d3386f4432cec006e7167d0da1d1ae831c8 (patch)
treece75a5536e07efa7e09a6c963ebd077dca260ece /test
parentfbaa90e40a43ad6951a87917777b2495270a816b (diff)
downloadjackcess-72f50d3386f4432cec006e7167d0da1d1ae831c8.tar.gz
jackcess-72f50d3386f4432cec006e7167d0da1d1ae831c8.zip
add method to grab default sort order
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@541 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
index 367d669..7c1dbe3 100644
--- a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
@@ -1130,6 +1130,16 @@ public class DatabaseTest extends TestCase {
db.close();
}
}
+
+ public void testDbSortOrder() throws Exception {
+
+ for (final TestDB testDB : SUPPORTED_DBS_TEST_FOR_READ) {
+
+ Database db = open(testDB);
+ assertEquals(Column.GENERAL_SORT_ORDER, db.getDefaultSortOrder());
+ db.close();
+ }
+ }
static Object[] createTestRow(String col1Val) {
return new Object[] {col1Val, "R", "McCune", 1234, (byte) 0xad, 555.66d,