From af6f615d12af4778d196da82726e84252c3bbc38 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 20 Aug 2002 06:45:15 +0000 Subject: [PATCH] test for images with errors git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195106 13f79535-47bb-0310-9956-ffa450edef68 --- test/resources/fop/image/corrupt.gif | Bin 0 -> 2153 bytes test/resources/fop/image/corrupt.jpg | Bin 0 -> 2212 bytes test/resources/fop/image/corrupt.svg | 34 +++++++++++++++++++ test/resources/fop/image/corrupt.xml | 8 +++++ test/resources/fop/image/errors.fo | 47 +++++++++++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 test/resources/fop/image/corrupt.gif create mode 100644 test/resources/fop/image/corrupt.jpg create mode 100644 test/resources/fop/image/corrupt.svg create mode 100644 test/resources/fop/image/corrupt.xml create mode 100644 test/resources/fop/image/errors.fo diff --git a/test/resources/fop/image/corrupt.gif b/test/resources/fop/image/corrupt.gif new file mode 100644 index 0000000000000000000000000000000000000000..930b5fe38001b9244beeec57ad707d3100ff7f39 GIT binary patch literal 2153 zcmV-v2$uIpNk%w1VPpVg0E7SlFflQa(VT~ig0Aka+S=N*iHVO{T5+v&Jwr#rmX?L7 ziK}vS{{H@lXlg}DSCXl}Nn%uZw2q>7Yo2CiqQc!`W@WmSg?oB>-JzlX|NsC0|Nm5I zWgtgMO;7+V00000WB_CU00sUaLyTl;o@lDBD&xLzEYCA>-4%Xc`R?~U9nZH50*l0- zj>c@#Y{{J~^8qY4$e0h^1(9IvrN~vflV}S4i0J_`H74@B0&Qa)K`e z6;lZqiHeJijgF6ykr)L#gO*Sih?1L}os3o$mV>i=fKOWV^l672VwizTe#B!QAY zH`rf0u6K3x3HA2)_4@hz_x^UsaJ+Lupg}2A2vN1;GLQ+ggb+I=Ygj{D#EX&wQIt{W zhAWJXCM*z1a-_)#CH_S&7&*a#0|Wqs43TLB3C#-xT(nvwt5X7$D@&dXx^n0O0|;Jj zSsH{$P7(1G@tU@7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uKQH(_u;kEEoX> ze8D>lZjYF`)63aRHlrD>t*1Q&X#|E^Q)BMMjHCi6E65Ol0XX%kP(1)J_Cm#%m^4Q( zv8q>03V{RI)Q{go>VgVQg{oQ=5RA_e6?BMAEa-}AQ!*mcTyJw}qRh(Fz*-in0RY_? z70X$#-gTVr@uc`Ddjr4<)`Ar9qhdYR)z&OqrQxE(-Ns}(-6>Cp3xMo-){jcW8Dwom zt+M)c3Z```TmFf$)3xO&+m80R7bx#%Gkbu-8uqZV?VNy#O5oWVvlq(6mw5e}+sh7s z0D1&Gf>*4d}Fsof@ zub^!fyaNoNsfa#wQyun6zN2>d0F&~+!@-z0l4o*Dl%ouiulvL6SAf^9Rn~> zK&=pFv8q>nSqem%)P$%kt7lDXwFY1@WQKLD!71rl`#Qp})-@)2{p(^Mdepjp)0v&R z;#5bt%Fs@&w4v?mTk{~-$?gb{f2{y)4Wq*!{xGtI9cgZ-;~e0owY5>4>`YmRlR7Q< zrueLbjBo(9n-E_{^Sd?fR97qY;{iQ2$sKNO0R%kae|@UKtIhJbp9 fQU)la6N`6LCN{Zq-jh)0xeFl(b&o>`0027*tHcqz literal 0 HcmV?d00001 diff --git a/test/resources/fop/image/corrupt.jpg b/test/resources/fop/image/corrupt.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3c8a4e4a8ca7069bbfb16f49f3af5483aece6f18 GIT binary patch literal 2212 zcmb7Fc{tRK7XHnQF=Nfv$JlACpDfc@LMb#uLK!8J&@h&)gH$ACDKQhW4kAls%^D-w zcUeXz8p$qe@o8L3=F{!o@45fpbN+bG^PKm*=RD_+b6BISNr3Mx#uNj9Kp?>Jzya1i zAZ+CC;uPS5m%iy9;3jSD<|2(XH9yZ{07d|uogKywg~MPl4h}dcw-66E7Z*1|K=6=| zgs7CHgs3(O7y>;=De?ngFbE7~14I7X z6a?mn2q05L8SQrv{;%T7`}f#;R&6^m_wzp8wB-7*{qe{1*qIP&X#LNMm)(w~AtYa_ z2?!ZZ9a^-l(_1=D7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!>K9e(iSZ$%XBL8a?j|1L)^V z*Q3;jQtjRoBrh0c`j`|~%iR%vWs8%@k1Y-kHHlpz5%I2s*EnM=M%EaECAf(`I*U@P zRjy(IV&5Zk(z{PKE3|aB8&HGaRXvuiK-J9n6ej2uIrC7^u`Pb%WKl+BuQ^pA`awec zbF(rEeIIulcWrZHW~zMt^LEOEH6Oc4qcWAF3Ig0%)7|bmg1M%VM$2%$=9tDrLuGf` zV5G;0u@}A2PTK_OiYK@o%;NS71Nfta!=r*A4sbI{iqORqy=u~%O4h$on%6x(S`7ci z{pWp}$^<6Et1>j3X-Gq&wkp#o4O#NHNC-*#!toNMHW`zjuu5H=L^SyH)W9!3HY=mTm& zy`an@XR{( + + + + + + + + + + + + + 100,0% + + 0,0% + + + + diff --git a/test/resources/fop/image/corrupt.xml b/test/resources/fop/image/corrupt.xml new file mode 100644 index 000000000..8a03f2c34 --- /dev/null +++ b/test/resources/fop/image/corrupt.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/test/resources/fop/image/errors.fo b/test/resources/fop/image/errors.fo new file mode 100644 index 000000000..6ee931e90 --- /dev/null +++ b/test/resources/fop/image/errors.fo @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + +Images with errors + +Various corrupt images in FOP: +A (), +B (), +C (), +D (). + + + + + This section is only required to show that the layout still works. + + + + + + -- 2.39.5