X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fqrcode%2FQRCodeBlackBox1TestCase.java;h=7d45588d4fcaae819a4337873ce0fe5e5c3f9d00;hb=24cce4a4fafd6e87eaeed2c8492171ae99bc8f6e;hp=a0cdba9123611306519f1a2ba6d48437902c857b;hpb=04e35c02f0656ed2f9813c94c7497f42a9f7a181;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 a0cdba91..7d45588d 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(), 16, BarcodeFormat.QR_CODE); + super("test/data/blackbox/qrcode-1", new MultiFormatReader(), BarcodeFormat.QR_CODE); + addTest(19, 19, 0.0f); + addTest(15, 15, 90.0f); + addTest(17, 17, 180.0f); + addTest(14, 14, 270.0f); } } \ No newline at end of file