Test getSyntax/getDatabase
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Sep 2009 13:18:13 +0000 (15:18 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Sep 2009 13:18:13 +0000 (15:18 +0200)
src/test/java/yaz4jtest/ConnectionTest.java

index 2f143af..eace46f 100644 (file)
@@ -20,5 +20,8 @@ public class ConnectionTest {
                // first SUTRS record
                assertEquals(content.length, 1940);
                assertEquals(content[0], 103);
+                assertEquals(rec.getSyntax(), "SUTRS");
+                assertEquals(rec.getDatabase(), "gils");
+
        }
 }