mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
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:
parent
8c3045d9eb
commit
82bc8e437a
1
core/test/data/blackbox/code128-1/1.txt
Normal file
1
core/test/data/blackbox/code128-1/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
168901
|
1
core/test/data/blackbox/code128-1/1.url
Normal file
1
core/test/data/blackbox/code128-1/1.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.computalabel.com/Images/C128.GIF
|
1
core/test/data/blackbox/code128-1/2.txt
Normal file
1
core/test/data/blackbox/code128-1/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Code 128
|
1
core/test/data/blackbox/code128-1/2.url
Normal file
1
core/test/data/blackbox/code128-1/2.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.adams1.com/pub/russadam/gif/128pix1.gif
|
1
core/test/data/blackbox/code128-1/3.txt
Normal file
1
core/test/data/blackbox/code128-1/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
102030405060708090
|
1
core/test/data/blackbox/code128-1/3.url
Normal file
1
core/test/data/blackbox/code128-1/3.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://freebarcodefonts.dobsonsw.com/images/code128bar.jpg
|
1
core/test/data/blackbox/code128-1/4.txt
Normal file
1
core/test/data/blackbox/code128-1/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
123456
|
1
core/test/data/blackbox/code128-1/4.url
Normal file
1
core/test/data/blackbox/code128-1/4.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.sagedata.com/images/2007/Code_128_Barcode_Graphic.jpg
|
1
core/test/data/blackbox/code128-1/5.txt
Normal file
1
core/test/data/blackbox/code128-1/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
8101054321120021123456
|
1
core/test/data/blackbox/code128-1/5.url
Normal file
1
core/test/data/blackbox/code128-1/5.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://mdn.morovia.com/manuals/mbc3/images/ean128-non-standard-sample.gif
|
1
core/test/data/blackbox/code39-1/1.txt
Normal file
1
core/test/data/blackbox/code39-1/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
TEST-SHEET
|
1
core/test/data/blackbox/code39-1/1.url
Normal file
1
core/test/data/blackbox/code39-1/1.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.zygo.btinternet.co.uk/Code39.gif
|
1
core/test/data/blackbox/code39-1/2.txt
Normal file
1
core/test/data/blackbox/code39-1/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
WWW.CITRONSOFT.COM
|
1
core/test/data/blackbox/code39-1/2.url
Normal file
1
core/test/data/blackbox/code39-1/2.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.citronsoft.com/barcode/screenshot/BarCode39v2.jpg
|
1
core/test/data/blackbox/code39-1/3.txt
Normal file
1
core/test/data/blackbox/code39-1/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MOROVIA
|
1
core/test/data/blackbox/code39-1/3.url
Normal file
1
core/test/data/blackbox/code39-1/3.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.filebuzz.com/software_screenshot/full/6751-Morovia_Co.gif
|
1
core/test/data/blackbox/code39-1/4.txt
Normal file
1
core/test/data/blackbox/code39-1/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
ABC123
|
1
core/test/data/blackbox/code39-1/4.url
Normal file
1
core/test/data/blackbox/code39-1/4.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.abcfont.com/abc391/ix_3917x.gif
|
1
core/test/data/blackbox/code39-1/5.txt
Normal file
1
core/test/data/blackbox/code39-1/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
012345
|
1
core/test/data/blackbox/code39-1/5.url
Normal file
1
core/test/data/blackbox/code39-1/5.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.blitztools.com/barcode-knowhow/code-39.png
|
1
core/test/data/blackbox/code39-2/1.txt
Normal file
1
core/test/data/blackbox/code39-2/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Extended !?*#
|
1
core/test/data/blackbox/code39-2/1.url
Normal file
1
core/test/data/blackbox/code39-2/1.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.tkb-4u.com/images/barcodes/code39e.gif
|
1
core/test/data/blackbox/code39-2/2.txt
Normal file
1
core/test/data/blackbox/code39-2/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
12ab
|
1
core/test/data/blackbox/code39-2/2.url
Normal file
1
core/test/data/blackbox/code39-2/2.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.dlsoft.com/support/barcode_types/images/c392.gif
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue