diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2011-03-31 03:58:26 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2011-03-31 03:58:26 +0000 |
commit | 72f50d3386f4432cec006e7167d0da1d1ae831c8 (patch) | |
tree | ce75a5536e07efa7e09a6c963ebd077dca260ece /test | |
parent | fbaa90e40a43ad6951a87917777b2495270a816b (diff) | |
download | jackcess-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.java | 10 |
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, |