X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fqrcode%2FQRCodeBlackBox1TestCase.java;h=b0e164586f9c7ec3bb3851f6024bbdf3cda5bfdb;hb=608fe313d82bb79f0f5a96856697bdfb4a6305d3;hp=801f626ebdbf5922e5d32295e9172f939f222943;hpb=b921215268ef412c6863e68e566bb7047ec1c4a4;p=zxing.git diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java index 801f626e..b0e16458 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2008 Google Inc. + * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,15 +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 QRCodeBlackBox1TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox1TestCase() { - super(new File("test/data/blackbox/qrcode-1"), new MultiFormatReader(), 0.5, BarcodeFormat.QR_CODE); + super("test/data/blackbox/qrcode-1", new MultiFormatReader(), BarcodeFormat.QR_CODE); + addTest(17, 17, 0.0f); + addTest(13, 13, 90.0f); + addTest(16, 16, 180.0f); + addTest(14, 14, 270.0f); } -} \ No newline at end of file +}