Use smaller test data
authorDennis Schafroth <dennis@indexdata.com>
Mon, 9 Jan 2012 16:25:42 +0000 (17:25 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 9 Jan 2012 16:25:42 +0000 (17:25 +0100)
src/org/marc4j/test/GzipRecordTest.java

index 3e0c190..1cb6ddf 100644 (file)
@@ -18,7 +18,7 @@ public class GzipRecordTest extends TestCase {
 \r
     public void testGzipRecordRead() throws Exception {\r
         InputStream input = getClass().getResourceAsStream(\r
-                "resources/oais.26.mrc.gz");\r
+                "resources/brkrtest.mrc.gz");\r
         assertTrue("No test data", input != null);\r
         GZIPInputStream gzipped = new GZIPInputStream(input);\r
         MarcReader reader = new MarcStreamReader(gzipped, "MARC-8");\r
@@ -27,7 +27,7 @@ public class GzipRecordTest extends TestCase {
             record = reader.next();\r
             ++index;\r
         }\r
-        assertTrue("Number of records was not correct: " +  index, index == 60221); \r
+        assertTrue("Number of records was not correct: " +  index, index == 8); \r
         input.close();\r
     }\r
 \r