Issue 492
[zxing.git] / core / test / src / com / google / zxing / negative / PartialBlackBoxTestCase.java
index a077ccb..227d5a4 100644 (file)
@@ -18,8 +18,6 @@ package com.google.zxing.negative;
 
 import com.google.zxing.common.AbstractNegativeBlackBoxTestCase;
 
-import java.io.File;
-
 /**
  * This test ensures that partial barcodes do not decode.
  *
@@ -28,11 +26,11 @@ import java.io.File;
 public final class PartialBlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {
 
   public PartialBlackBoxTestCase() {
-    super(new File("test/data/blackbox/partial"));
-    addTest(0, 0.0f);
+    super("test/data/blackbox/partial");
+    addTest(1, 0.0f);
     addTest(1, 90.0f);
     addTest(1, 180.0f);
-    addTest(0, 270.0f);
+    addTest(1, 270.0f);
   }
 
-}
\ No newline at end of file
+}