Add some basic Code 39, Code 128 tests

git-svn-id: https://zxing.googlecode.com/svn/trunk@214 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-02-19 21:09:55 +00:00
parent 8c3045d9eb
commit 82bc8e437a
27 changed files with 122 additions and 0 deletions

View file

@ -0,0 +1 @@
168901

View file

@ -0,0 +1 @@
http://www.computalabel.com/Images/C128.GIF

View file

@ -0,0 +1 @@
Code 128

View file

@ -0,0 +1 @@
http://www.adams1.com/pub/russadam/gif/128pix1.gif

View file

@ -0,0 +1 @@
102030405060708090

View file

@ -0,0 +1 @@
http://freebarcodefonts.dobsonsw.com/images/code128bar.jpg

View file

@ -0,0 +1 @@
123456

View file

@ -0,0 +1 @@
http://www.sagedata.com/images/2007/Code_128_Barcode_Graphic.jpg

View file

@ -0,0 +1 @@
8101054321120021123456

View file

@ -0,0 +1 @@
http://mdn.morovia.com/manuals/mbc3/images/ean128-non-standard-sample.gif

View file

@ -0,0 +1 @@
TEST-SHEET

View file

@ -0,0 +1 @@
http://www.zygo.btinternet.co.uk/Code39.gif

View file

@ -0,0 +1 @@
WWW.CITRONSOFT.COM

View file

@ -0,0 +1 @@
http://www.citronsoft.com/barcode/screenshot/BarCode39v2.jpg

View file

@ -0,0 +1 @@
MOROVIA

View file

@ -0,0 +1 @@
http://www.filebuzz.com/software_screenshot/full/6751-Morovia_Co.gif

View file

@ -0,0 +1 @@
ABC123

View file

@ -0,0 +1 @@
http://www.abcfont.com/abc391/ix_3917x.gif

View file

@ -0,0 +1 @@
012345

View file

@ -0,0 +1 @@
http://www.blitztools.com/barcode-knowhow/code-39.png

View file

@ -0,0 +1 @@
Extended !?*#

View file

@ -0,0 +1 @@
http://www.tkb-4u.com/images/barcodes/code39e.gif

View file

@ -0,0 +1 @@
12ab

View file

@ -0,0 +1 @@
http://www.dlsoft.com/support/barcode_types/images/c392.gif

View file

@ -0,0 +1,33 @@
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.zxing.oned;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.common.AbstractBlackBoxTestCase;
import java.io.File;
/**
* @author srowen@google.com (Sean Owen)
*/
public final class Code128BlackBox1TestCase extends AbstractBlackBoxTestCase {
public Code128BlackBox1TestCase() {
super(new File("test/data/blackbox/code128-1"), new MultiFormatReader(), 1.0);
}
}

View file

@ -0,0 +1,33 @@
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.zxing.oned;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.common.AbstractBlackBoxTestCase;
import java.io.File;
/**
* @author srowen@google.com (Sean Owen)
*/
public final class Code39BlackBox1TestCase extends AbstractBlackBoxTestCase {
public Code39BlackBox1TestCase() {
super(new File("test/data/blackbox/code39-1"), new MultiFormatReader(), 1.0);
}
}

View file

@ -0,0 +1,32 @@
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.zxing.oned;
import com.google.zxing.common.AbstractBlackBoxTestCase;
import java.io.File;
/**
* @author srowen@google.com (Sean Owen)
*/
public final class Code39ExtendedBlackBox2TestCase extends AbstractBlackBoxTestCase {
public Code39ExtendedBlackBox2TestCase() {
super(new File("test/data/blackbox/code39-2"), new Code39Reader(false, true), 1.0);
}
}