From c956d1d8b5220aa4d9d4cb2d1b47da03066ac7c0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 22 Sep 2009 15:18:13 +0200 Subject: [PATCH] Test getSyntax/getDatabase --- src/test/java/yaz4jtest/ConnectionTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/yaz4jtest/ConnectionTest.java b/src/test/java/yaz4jtest/ConnectionTest.java index 2f143af..eace46f 100644 --- a/src/test/java/yaz4jtest/ConnectionTest.java +++ b/src/test/java/yaz4jtest/ConnectionTest.java @@ -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"); + } } -- 1.7.10.4