X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fdatamatrix%2FDataMatrixBlackBox1TestCase.java;h=52a9461a35d7fbc9be5d3a1f71d3814643c5a996;hp=38204036e42c030459f7a6d760b3c572f779542a;hb=25f7d666fd9d66af0b72641c3dd7098bf42990ea;hpb=869f0072eb2d0f7860d50e0a0e3ab601d2c22e14 diff --git a/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox1TestCase.java b/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox1TestCase.java index 38204036..52a9461a 100644 --- a/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox1TestCase.java +++ b/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox1TestCase.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. @@ -16,12 +16,9 @@ package com.google.zxing.datamatrix; -//import com.google.zxing.MultiFormatReader; import com.google.zxing.BarcodeFormat; import com.google.zxing.common.AbstractBlackBoxTestCase; -import java.io.File; - /** * @author bbrown@google.com (Brian Brown) */ @@ -29,7 +26,11 @@ public final class DataMatrixBlackBox1TestCase extends AbstractBlackBoxTestCase public DataMatrixBlackBox1TestCase() { // TODO use MultiFormatReader here once Data Matrix decoder is done - super(new File("test/data/blackbox/datamatrix-1"), new DataMatrixReader(), 1.0, BarcodeFormat.DATAMATRIX); + super("test/data/blackbox/datamatrix-1", new DataMatrixReader(), BarcodeFormat.DATA_MATRIX); + addTest(13, 13, 0.0f); + addTest(13, 13, 90.0f); + addTest(13, 13, 180.0f); + addTest(13, 13, 270.0f); } } \ No newline at end of file