X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fnegative%2FPartialBlackBoxTestCase.java;h=227d5a48aa97bf506ebe89eeb3f291db3c954509;hp=ae165f01fd320dc08f7b884efa865b726c83aa01;hb=b61546ae341d108aab710a5de0d648ff4711c7c0;hpb=a974feffab73383221cf62fe3a068ed584fde491 diff --git a/core/test/src/com/google/zxing/negative/PartialBlackBoxTestCase.java b/core/test/src/com/google/zxing/negative/PartialBlackBoxTestCase.java index ae165f01..227d5a48 100644 --- a/core/test/src/com/google/zxing/negative/PartialBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/negative/PartialBlackBoxTestCase.java @@ -18,8 +18,6 @@ package com.google.zxing.negative; import com.google.zxing.common.AbstractNegativeBlackBoxTestCase; -import java.io.File; - /** * This test ensures that partial barcodes do not decode. * @@ -28,11 +26,11 @@ import java.io.File; public final class PartialBlackBoxTestCase extends AbstractNegativeBlackBoxTestCase { public PartialBlackBoxTestCase() { - super(new File("test/data/blackbox/partial")); - addTest(0, 0.0f); + super("test/data/blackbox/partial"); + addTest(1, 0.0f); addTest(1, 90.0f); addTest(1, 180.0f); - addTest(0, 270.0f); + addTest(1, 270.0f); } }