X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fqrcode%2FQRCodeBlackBox2TestCase.java;h=a5bac913b2e6456d7ed0e25a9d222c96bb697024;hb=608fe313d82bb79f0f5a96856697bdfb4a6305d3;hp=a7a5988bb32bb7c9ea072f0c66a9e652163832dc;hpb=12720186d76fafe9d0c43ab0918da4d4c61ad0b9;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 a7a5988b..a5bac913 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.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,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(5, 90.0f); - addTest(8, 180.0f); - addTest(2, 270.0f); + super("test/data/blackbox/qrcode-2", new MultiFormatReader(), BarcodeFormat.QR_CODE); + addTest(21, 21, 0.0f); + addTest(18, 18, 90.0f); + addTest(20, 20, 180.0f); + addTest(18, 18, 270.0f); } -} \ No newline at end of file +}