X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fqrcode%2FQRCodeBlackBox2TestCase.java;h=658b3238be34331d0a379dabd030c212308887d9;hb=abe15d5bb8bd23019ca9c4ab48f9385c6a92bd0e;hp=06707e79e1afa0cecb9d909c10955f11267ac4b8;hpb=adcb498790b50fa7fa9a76b7c823d9bdb64ff322;p=zxing.git diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java index 06707e79..658b3238 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java @@ -20,19 +20,17 @@ import com.google.zxing.MultiFormatReader; import com.google.zxing.BarcodeFormat; import com.google.zxing.common.AbstractBlackBoxTestCase; -import java.io.File; - /** - * @author srowen@google.com (Sean Owen) + * @author Sean Owen */ public final class QRCodeBlackBox2TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox2TestCase() { - super(new File("test/data/blackbox/qrcode-2"), new MultiFormatReader(), BarcodeFormat.QR_CODE); - addTest(10, 0.0f); - addTest(6, 90.0f); - addTest(8, 180.0f); - addTest(2, 270.0f); + super("test/data/blackbox/qrcode-2", new MultiFormatReader(), BarcodeFormat.QR_CODE); + addTest(23, 23, 0.0f); + addTest(21, 21, 90.0f); + addTest(20, 20, 180.0f); + addTest(18, 18, 270.0f); } } \ No newline at end of file