From e7a79314934df8fe65c400429e255fc0cb1c8372 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Mon, 9 Jan 2012 17:25:42 +0100 Subject: [PATCH] Use smaller test data --- src/org/marc4j/test/GzipRecordTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/marc4j/test/GzipRecordTest.java b/src/org/marc4j/test/GzipRecordTest.java index 3e0c190..1cb6ddf 100644 --- a/src/org/marc4j/test/GzipRecordTest.java +++ b/src/org/marc4j/test/GzipRecordTest.java @@ -18,7 +18,7 @@ public class GzipRecordTest extends TestCase { public void testGzipRecordRead() throws Exception { InputStream input = getClass().getResourceAsStream( - "resources/oais.26.mrc.gz"); + "resources/brkrtest.mrc.gz"); assertTrue("No test data", input != null); GZIPInputStream gzipped = new GZIPInputStream(input); MarcReader reader = new MarcStreamReader(gzipped, "MARC-8"); @@ -27,7 +27,7 @@ public class GzipRecordTest extends TestCase { record = reader.next(); ++index; } - assertTrue("Number of records was not correct: " + index, index == 60221); + assertTrue("Number of records was not correct: " + index, index == 8); input.close(); } -- 1.7.10.4