summaryrefslogtreecommitdiff
path: root/core/src/test/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/java/com')
-rw-r--r--core/src/test/java/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java8
-rw-r--r--core/src/test/java/com/google/zxing/oned/Code128WriterTestCase.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/test/java/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java b/core/src/test/java/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java
index 0f258519a..ba37a9bec 100644
--- a/core/src/test/java/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java
+++ b/core/src/test/java/com/google/zxing/common/AbstractNegativeBlackBoxTestCase.java
@@ -45,6 +45,8 @@ public abstract class AbstractNegativeBlackBoxTestCase extends AbstractBlackBoxT
private static final Logger log = Logger.getLogger(AbstractNegativeBlackBoxTestCase.class.getSimpleName());
+ private final List<TestResult> testResults;
+
private static final class TestResult {
private final int falsePositivesAllowed;
private final float rotation;
@@ -54,17 +56,15 @@ public abstract class AbstractNegativeBlackBoxTestCase extends AbstractBlackBoxT
this.rotation = rotation;
}
- public int getFalsePositivesAllowed() {
+ int getFalsePositivesAllowed() {
return falsePositivesAllowed;
}
- public float getRotation() {
+ float getRotation() {
return rotation;
}
}
- private final List<TestResult> testResults;
-
// Use the multiformat reader to evaluate all decoders in the system.
protected AbstractNegativeBlackBoxTestCase(String testBasePathSuffix) {
super(testBasePathSuffix, new MultiFormatReader(), null);
diff --git a/core/src/test/java/com/google/zxing/oned/Code128WriterTestCase.java b/core/src/test/java/com/google/zxing/oned/Code128WriterTestCase.java
index bfb559d6e..312128fd7 100644
--- a/core/src/test/java/com/google/zxing/oned/Code128WriterTestCase.java
+++ b/core/src/test/java/com/google/zxing/oned/Code128WriterTestCase.java
@@ -44,7 +44,7 @@ public class Code128WriterTestCase extends Assert {
private Code128Reader reader;
@Before
- public void setup() {
+ public void setUp() {
writer = new Code128Writer();
reader = new Code128Reader();
}