]> source.dussan.org Git - jackcess.git/commitdiff
test isLinkedTable method, feature #28
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 13 Feb 2015 23:44:12 +0000 (23:44 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 13 Feb 2015 23:44:12 +0000 (23:44 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@915 f203690c-595d-4dc9-a70b-905162fa7fd2

src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java

index 93370bc1b12a4c2de1df817e67017b58d587a5fc..254901aafa7e2a35fc09c7a3b778157e61e0d7b2 100644 (file)
@@ -1441,6 +1441,10 @@ public class DatabaseTest extends TestCase
                 "Field1", "buzz"));
 
       assertTable(expectedRows, t3);
+
+      assertFalse(db.isLinkedTable(null));
+      assertFalse(db.isLinkedTable(t2));
+      assertTrue(db.isLinkedTable(t3));
       
       db.close();
     }