mirror of
https://github.com/zxing/zxing.git
synced 2025-02-21 02:55:27 -08:00
Added overdue EAN-8 tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
df4e3ac853
commit
0be4184870
1
core/test/data/blackbox/ean8-1/1.txt
Normal file
1
core/test/data/blackbox/ean8-1/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
48512343
|
1
core/test/data/blackbox/ean8-1/1.url
Normal file
1
core/test/data/blackbox/ean8-1/1.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.gs1am.org/EAN8.gif
|
1
core/test/data/blackbox/ean8-1/2.txt
Normal file
1
core/test/data/blackbox/ean8-1/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
12345670
|
1
core/test/data/blackbox/ean8-1/2.url
Normal file
1
core/test/data/blackbox/ean8-1/2.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.activebarcode.com/images/codes/200x125/ean8.gif
|
1
core/test/data/blackbox/ean8-1/3.txt
Normal file
1
core/test/data/blackbox/ean8-1/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
12345670
|
1
core/test/data/blackbox/ean8-1/3.url
Normal file
1
core/test/data/blackbox/ean8-1/3.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.scanlink.co.za/images_faq/ean8.gif
|
1
core/test/data/blackbox/ean8-1/4.txt
Normal file
1
core/test/data/blackbox/ean8-1/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
67678983
|
1
core/test/data/blackbox/ean8-1/4.url
Normal file
1
core/test/data/blackbox/ean8-1/4.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.nextoffice.net/linux/barcode2.jpg
|
1
core/test/data/blackbox/ean8-1/5.txt
Normal file
1
core/test/data/blackbox/ean8-1/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
80674313
|
1
core/test/data/blackbox/ean8-1/5.url
Normal file
1
core/test/data/blackbox/ean8-1/5.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.indicod-ecr.it/prodottiservizi/images/ceu02b.gif
|
1
core/test/data/blackbox/ean8-1/6.txt
Normal file
1
core/test/data/blackbox/ean8-1/6.txt
Normal file
|
@ -0,0 +1 @@
|
|||
59001270
|
1
core/test/data/blackbox/ean8-1/6.url
Normal file
1
core/test/data/blackbox/ean8-1/6.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.selmar.pl/images_menus_big/431/453607ba29d0a/kody_kreskowe_ean8.jpg
|
1
core/test/data/blackbox/ean8-1/7.txt
Normal file
1
core/test/data/blackbox/ean8-1/7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
50487066
|
1
core/test/data/blackbox/ean8-1/7.url
Normal file
1
core/test/data/blackbox/ean8-1/7.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.softeksoftware.co.uk/images/barcode_ean8.jpg
|
1
core/test/data/blackbox/ean8-1/8.txt
Normal file
1
core/test/data/blackbox/ean8-1/8.txt
Normal file
|
@ -0,0 +1 @@
|
|||
55123457
|
1
core/test/data/blackbox/ean8-1/8.url
Normal file
1
core/test/data/blackbox/ean8-1/8.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.barcodeisland.com/ean8-1.gif
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* 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.BarcodeFormat;
|
||||
import com.google.zxing.common.AbstractBlackBoxTestCase;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author srowen@google.com (Sean Owen)
|
||||
*/
|
||||
public final class EAN8BlackBox1TestCase extends AbstractBlackBoxTestCase {
|
||||
|
||||
public EAN8BlackBox1TestCase() {
|
||||
super(new File("test/data/blackbox/ean8-1"), new MultiFormatReader(), 0.66, BarcodeFormat.EAN_8);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue