4 import static org.junit.Assert.*;
5 import org.yaz4j.exception.ZoomException;
10 @SuppressWarnings("deprecation")
11 public class DinosaurTest {
15 Connection con = new Connection("z3950.loc.gov:7090/voyager", 0);
18 con.setSyntax("usmarc");
20 ResultSet set = con.search("@attr 1=7 0253333490",
21 Connection.QueryType.PrefixQuery);
23 Record rec = set.getRecord(0);
25 } catch (ZoomException ze) {
26 fail(ze.getMessage());