Added BarcodeFormat to Result, indicating what type of barcode was detected. Added...
[zxing.git] / core / test / src / com / google / zxing / oned / UPCABlackBox1TestCase.java
index 49c68ce..7d099d4 100644 (file)
@@ -17,6 +17,7 @@
 package com.google.zxing.oned;
 
 import com.google.zxing.MultiFormatReader;
+import com.google.zxing.BarcodeFormat;
 import com.google.zxing.common.AbstractBlackBoxTestCase;
 
 import java.io.File;
@@ -27,7 +28,7 @@ import java.io.File;
 public final class UPCABlackBox1TestCase extends AbstractBlackBoxTestCase {
 
   public UPCABlackBox1TestCase() {
-    super(new File("test/data/blackbox/upca-1"), new MultiFormatReader(), 0.5);
+    super(new File("test/data/blackbox/upca-1"), new MultiFormatReader(), 0.5, BarcodeFormat.UPC_A);
   }
 
 }
\ No newline at end of file