Overhaul unit tests to include more test cases, and begin to establish a decent framework for these black-box tests.
git-svn-id: https://zxing.googlecode.com/svn/trunk@144 59b500cc-1b3d-0410-9834-0bbf25fbcc57
BIN
core/test/data/blackbox/qrcode1/1.jpg
Executable file
After Width: | Height: | Size: 70 KiB |
1
core/test/data/blackbox/qrcode1/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/10.jpg
Executable file
After Width: | Height: | Size: 63 KiB |
1
core/test/data/blackbox/qrcode1/10.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/11.jpg
Executable file
After Width: | Height: | Size: 65 KiB |
1
core/test/data/blackbox/qrcode1/11.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/12.jpg
Executable file
After Width: | Height: | Size: 68 KiB |
1
core/test/data/blackbox/qrcode1/12.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/13.jpg
Executable file
After Width: | Height: | Size: 76 KiB |
1
core/test/data/blackbox/qrcode1/13.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://google.com/gwt/n?u=bluenile.com
|
BIN
core/test/data/blackbox/qrcode1/14.jpg
Executable file
After Width: | Height: | Size: 73 KiB |
1
core/test/data/blackbox/qrcode1/14.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://google.com/gwt/n?u=bluenile.com
|
BIN
core/test/data/blackbox/qrcode1/15.jpg
Executable file
After Width: | Height: | Size: 78 KiB |
1
core/test/data/blackbox/qrcode1/15.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://google.com/gwt/n?u=bluenile.com
|
BIN
core/test/data/blackbox/qrcode1/16.jpg
Executable file
After Width: | Height: | Size: 104 KiB |
4
core/test/data/blackbox/qrcode1/16.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sean Owen
|
||||
srowen@google.com
|
||||
917-364-2918
|
||||
http://awesome-thoughts.com
|
BIN
core/test/data/blackbox/qrcode1/17.jpg
Executable file
After Width: | Height: | Size: 92 KiB |
4
core/test/data/blackbox/qrcode1/17.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sean Owen
|
||||
srowen@google.com
|
||||
917-364-2918
|
||||
http://awesome-thoughts.com
|
BIN
core/test/data/blackbox/qrcode1/18.jpg
Executable file
After Width: | Height: | Size: 102 KiB |
4
core/test/data/blackbox/qrcode1/18.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sean Owen
|
||||
srowen@google.com
|
||||
917-364-2918
|
||||
http://awesome-thoughts.com
|
BIN
core/test/data/blackbox/qrcode1/19.jpg
Executable file
After Width: | Height: | Size: 68 KiB |
4
core/test/data/blackbox/qrcode1/19.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sean Owen
|
||||
srowen@google.com
|
||||
917-364-2918
|
||||
http://awesome-thoughts.com
|
BIN
core/test/data/blackbox/qrcode1/2.jpg
Executable file
After Width: | Height: | Size: 62 KiB |
1
core/test/data/blackbox/qrcode1/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/20.jpg
Executable file
After Width: | Height: | Size: 73 KiB |
4
core/test/data/blackbox/qrcode1/20.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sean Owen
|
||||
srowen@google.com
|
||||
917-364-2918
|
||||
http://awesome-thoughts.com
|
BIN
core/test/data/blackbox/qrcode1/3.jpg
Executable file
After Width: | Height: | Size: 68 KiB |
1
core/test/data/blackbox/qrcode1/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/4.jpg
Executable file
After Width: | Height: | Size: 63 KiB |
1
core/test/data/blackbox/qrcode1/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/5.jpg
Executable file
After Width: | Height: | Size: 63 KiB |
1
core/test/data/blackbox/qrcode1/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/6.jpg
Executable file
After Width: | Height: | Size: 63 KiB |
1
core/test/data/blackbox/qrcode1/6.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/7.jpg
Executable file
After Width: | Height: | Size: 67 KiB |
1
core/test/data/blackbox/qrcode1/7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/8.jpg
Executable file
After Width: | Height: | Size: 65 KiB |
1
core/test/data/blackbox/qrcode1/8.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
BIN
core/test/data/blackbox/qrcode1/9.jpg
Executable file
After Width: | Height: | Size: 62 KiB |
1
core/test/data/blackbox/qrcode1/9.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MEBKM:URL:http\://en.wikipedia.org/wiki/Main_Page;;
|
1
core/test/data/blackbox/qrcode2/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
When we at WRT talk about \"text,\" we are generally talking about a particular kind of readable information encoding - and readable is a complex proposition. Text may be stylized in a way we are unfamiliar with, as in blackletter - it may be interspersed with some markup we don\'t understand, such as HTML - it may be be a substitution system we aren\'t familiar with, such as braille or morse code - or it may be a system that, while technically human-readable, isn\'t particularly optimized for reading by humans, as with barcodes (although barcodes can be read).
|
1
core/test/data/blackbox/qrcode2/1.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://writerresponsetheory.org/wordpress/wp-content/uploads/qrcode_01.png
|
2
core/test/data/blackbox/qrcode2/10.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Google モバイル
|
||||
http://google.jp
|
1
core/test/data/blackbox/qrcode2/10.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.google.co.jp/mobile/images/qrcode_mobile.gif
|
1
core/test/data/blackbox/qrcode2/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
LANDBYASCARC PERCEPTIBLEC EEK,OOZI GITSWAYTHROU AWILDERNESSOFBESUPPOSED,I CANT,ORATL ASTDWARFISH.NO REESOFANYM NITUDEARETOBESOMEMISERA EFRAMEBUIL I GS,TENANTED, U INGSUMMER THEFUGITIVE;BUTTHEWHO ISLAND,WI H EXCEPTIONOFT W STERNPOI ,ANDALINEOFLLIAMLEGR .HEWASOF N ENTHUGUENOTF Y ANDHADON BEENWEALTHTIONCONSE ENTUPONH SD STERS,HELEFTNE LE NS,THEC OFHISFOREOUTHCARO A.THISISLA AVERYSINGULARO TCONSISTSO ITTLEELSEDSAQUART FAMILE. TI PARATEDFROMTHEMA AN BYASCAR YPERCEPTERESORT MARSH EN EVEGETATION,ASMIGH SU POSED, CANT,ORATREMITY, ORT OULTRIESTANDS,ANDWHEREARESOM MIS FRAMEBUIFEVER,MAYBE INDEED, TO;BUTT EISLAND,WITNYYEARSAGO,IC ACTED LLIAM AND.HEWASOFANNESHADREDUCEDHIM OWA IONC NSEQUENTUPONHISDSIDENCEATSULLIVA \'S HC ROLINA.THISISLANOUTTHR LESLON . THATN OINTE U RTEROF E.ITISTHROU ERNE DSANDSLI ,AFAVOR TOFT HEN.T
|
1
core/test/data/blackbox/qrcode2/2.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://writerresponsetheory.org/query/poe/qrcode%20outputs/qrcodegen-examples/chunk-from-128-bug-head/encodes-by-nfggames/qr-chunk-from-128-bughead-ground.png
|
1
core/test/data/blackbox/qrcode2/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.malcolmhall.com
|
1
core/test/data/blackbox/qrcode2/3.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.malcolmhall.com/wp-content/uploads/2006/07/200607260214.jpg
|
1
core/test/data/blackbox/qrcode2/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://wwws.keihin.ktr.mlit.go.jp/keitai/
|
1
core/test/data/blackbox/qrcode2/4.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.qrcodeblog.com/qr/0609/060902_qr_kawasaki_st02.jpg
|
1
core/test/data/blackbox/qrcode2/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
2021200000
|
1
core/test/data/blackbox/qrcode2/5.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://mobile.kaywa.com/files/images/2007/4/480/mob181_1175524511.jpg
|
1
core/test/data/blackbox/qrcode2/6.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://d.kaywa.com/20207100
|
1
core/test/data/blackbox/qrcode2/6.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.smoothplanet.com/files/images/2007/2/mob281_1170754866.jpg
|
1
core/test/data/blackbox/qrcode2/7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
BIZCARD:N:Todd;X:Ogasawara;T:Tech Geek;C:MobileViews.com;A:MobileTown USA;E:editor@mobileviews.com;;
|
1
core/test/data/blackbox/qrcode2/7.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.mobileviews.com/blog/wp-content/uploads/2006/11/livebarcode.gif
|
1
core/test/data/blackbox/qrcode2/8.txt
Normal file
|
@ -0,0 +1 @@
|
|||
http://staticrooster.com
|
1
core/test/data/blackbox/qrcode2/8.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://staticrooster.com/tshirts/qr_sm.gif
|
1
core/test/data/blackbox/qrcode2/9.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Morden
|
1
core/test/data/blackbox/qrcode2/9.url
Normal file
|
@ -0,0 +1 @@
|
|||
http://www.ihaveanidea.org/blogs/uploads/i/interactive/270.png
|
BIN
core/test/data/blackbox/upc1/1.jpg
Executable file
After Width: | Height: | Size: 557 KiB |
1
core/test/data/blackbox/upc1/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
036602301467
|
BIN
core/test/data/blackbox/upc1/10.jpg
Executable file
After Width: | Height: | Size: 723 KiB |
1
core/test/data/blackbox/upc1/10.txt
Normal file
|
@ -0,0 +1 @@
|
|||
027011006951
|
BIN
core/test/data/blackbox/upc1/11.jpg
Executable file
After Width: | Height: | Size: 715 KiB |
1
core/test/data/blackbox/upc1/11.txt
Normal file
|
@ -0,0 +1 @@
|
|||
027011006951
|
BIN
core/test/data/blackbox/upc1/12.jpg
Executable file
After Width: | Height: | Size: 704 KiB |
1
core/test/data/blackbox/upc1/12.txt
Normal file
|
@ -0,0 +1 @@
|
|||
781735802045
|
BIN
core/test/data/blackbox/upc1/13.jpg
Executable file
After Width: | Height: | Size: 706 KiB |
1
core/test/data/blackbox/upc1/13.txt
Normal file
|
@ -0,0 +1 @@
|
|||
781735802045
|
BIN
core/test/data/blackbox/upc1/14.jpg
Executable file
After Width: | Height: | Size: 706 KiB |
1
core/test/data/blackbox/upc1/14.txt
Normal file
|
@ -0,0 +1 @@
|
|||
9781558604971
|
BIN
core/test/data/blackbox/upc1/15.jpg
Executable file
After Width: | Height: | Size: 716 KiB |
1
core/test/data/blackbox/upc1/15.txt
Normal file
|
@ -0,0 +1 @@
|
|||
9781558604971
|
BIN
core/test/data/blackbox/upc1/16.jpg
Executable file
After Width: | Height: | Size: 741 KiB |
1
core/test/data/blackbox/upc1/16.txt
Normal file
|
@ -0,0 +1 @@
|
|||
456314319671
|
BIN
core/test/data/blackbox/upc1/17.jpg
Executable file
After Width: | Height: | Size: 741 KiB |
1
core/test/data/blackbox/upc1/17.txt
Normal file
|
@ -0,0 +1 @@
|
|||
434704791429
|
BIN
core/test/data/blackbox/upc1/18.jpg
Executable file
After Width: | Height: | Size: 699 KiB |
1
core/test/data/blackbox/upc1/18.txt
Normal file
|
@ -0,0 +1 @@
|
|||
024543136538
|
BIN
core/test/data/blackbox/upc1/19.jpg
Executable file
After Width: | Height: | Size: 731 KiB |
1
core/test/data/blackbox/upc1/19.txt
Normal file
|
@ -0,0 +1 @@
|
|||
024543136538
|
BIN
core/test/data/blackbox/upc1/2.jpg
Executable file
After Width: | Height: | Size: 694 KiB |
1
core/test/data/blackbox/upc1/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
036602301467
|
BIN
core/test/data/blackbox/upc1/20.jpg
Executable file
After Width: | Height: | Size: 730 KiB |
1
core/test/data/blackbox/upc1/20.txt
Normal file
|
@ -0,0 +1 @@
|
|||
752919460009
|
BIN
core/test/data/blackbox/upc1/21.jpg
Executable file
After Width: | Height: | Size: 714 KiB |
1
core/test/data/blackbox/upc1/21.txt
Normal file
|
@ -0,0 +1 @@
|
|||
752919460009
|
BIN
core/test/data/blackbox/upc1/3.jpg
Executable file
After Width: | Height: | Size: 635 KiB |
1
core/test/data/blackbox/upc1/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
070097025088
|
BIN
core/test/data/blackbox/upc1/4.jpg
Executable file
After Width: | Height: | Size: 731 KiB |
1
core/test/data/blackbox/upc1/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
070097025088
|
BIN
core/test/data/blackbox/upc1/5.jpg
Executable file
After Width: | Height: | Size: 708 KiB |
1
core/test/data/blackbox/upc1/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
070097025088
|
BIN
core/test/data/blackbox/upc1/6.jpg
Executable file
After Width: | Height: | Size: 695 KiB |
1
core/test/data/blackbox/upc1/6.txt
Normal file
|
@ -0,0 +1 @@
|
|||
9780393058673
|
BIN
core/test/data/blackbox/upc1/7.jpg
Executable file
After Width: | Height: | Size: 690 KiB |
1
core/test/data/blackbox/upc1/7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
9780393058673
|
BIN
core/test/data/blackbox/upc1/8.jpg
Executable file
After Width: | Height: | Size: 724 KiB |
1
core/test/data/blackbox/upc1/8.txt
Normal file
|
@ -0,0 +1 @@
|
|||
071831007995
|