Bug 679486 - Create some BMP reftests for OS/2 bitmaps. r=joe
authorBrian R. Bondy <netzen@gmail.com>
Wed, 31 Aug 2011 10:40:24 -0400
changeset 76328 db59a3f2f6612fffaa2831a83177bbf0bf3b82f1
parent 76327 6006d67f5a0972bab8a137039b08c3908781ebc4
child 76329 43334e011fe887c88023add64fe5b814e668ae4f
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersjoe
bugs679486
milestone9.0a1
Bug 679486 - Create some BMP reftests for OS/2 bitmaps. r=joe
modules/libpr0n/test/reftest/bmp/bmp-1bpp/os2bmp-size-32x32-1bpp.bmp
modules/libpr0n/test/reftest/bmp/bmp-1bpp/reftest.list
modules/libpr0n/test/reftest/bmp/bmp-24bpp/os2bmp-size-32x32-24bpp.bmp
modules/libpr0n/test/reftest/bmp/bmp-24bpp/reftest.list
modules/libpr0n/test/reftest/bmp/bmp-4bpp/os2bmp-size-32x32-4bpp.bmp
modules/libpr0n/test/reftest/bmp/bmp-4bpp/reftest.list
modules/libpr0n/test/reftest/bmp/bmp-8bpp/os2bmp-size-32x32-8bpp.bmp
modules/libpr0n/test/reftest/bmp/bmp-8bpp/reftest.list
modules/libpr0n/test/reftest/bmp/bmp-corrupted/os2-invalid-bpp.bmp
modules/libpr0n/test/reftest/bmp/bmp-corrupted/reftest.list
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..32bfc5e8f97422fc2f7a7d45c24d4a5bc3302523
GIT binary patch
literal 160
zc${<cUBCbV3P8*QrWF_%fe;A(|Nqa(wF1cCU|?X<U|?`yVd&rx;$UP5Xi!j6b#Zla
zSs@@8;N_|s8l|YTL`zF+N!O%RleAQptqNVWYa!RFt6p5;+g5NzU0Kw$`rQhxZ8tp`
z?&qy^+MP9t<Nnqlr+u%MFx=l8G~w5(B@F-H1~uGUHA(3IuM-VlS50F0_cmz3|65BK
E0J3g6q5uE@
--- a/modules/libpr0n/test/reftest/bmp/bmp-1bpp/reftest.list
+++ b/modules/libpr0n/test/reftest/bmp/bmp-1bpp/reftest.list
@@ -12,9 +12,10 @@
 == bmp-size-9x9-1bpp.bmp   bmp-size-9x9-1bpp.png
 == bmp-size-15x15-1bpp.bmp bmp-size-15x15-1bpp.png
 == bmp-size-16x16-1bpp.bmp bmp-size-16x16-1bpp.png
 == bmp-size-17x17-1bpp.bmp bmp-size-17x17-1bpp.png
 == bmp-size-31x31-1bpp.bmp bmp-size-31x31-1bpp.png
 == bmp-size-32x32-1bpp.bmp bmp-size-32x32-1bpp.png
 == bmp-size-33x33-1bpp.bmp bmp-size-33x33-1bpp.png
 == bmp-not-square-1bpp.bmp bmp-not-square-1bpp.png
+== os2bmp-size-32x32-1bpp.bmp bmp-size-32x32-1bpp.png
 
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b75ae62ca8a3dec024b0bf4e7f7cabb69ff3a7e0
GIT binary patch
literal 3098
zc$^)UUuY}YeaFA&jBfA9H?2oE4_D(9qH$C3Xj9_xEp#<bX*5nDlCltuQ^*}}AkjF5
zy`vUZ<52LZg+{vjuy@>+)ocp&cne+0Da4}&)^qdXaYC>h3bCArYHkDZ-0g$Mp%lw$
ziD&7x+^Ri?1Lr&(`2G3(zQ3RH+NVB-|6g;{^MBXebQ5F&=A#t-)jj$jAE)P^pg;dD
z=3hQde)5q1==Yg}&odu<G4<U)V*cTEy1h={sWWeXlm6wO)6FOJ%`N7QZ_}^6M<4Cd
zFZG!(e4qZo4`|`Xbn%o~_*eSL4{7!n^f#`UyZ=QAlfJpbUeB<X8TLHOzW5{?zQPWd
z*g+v3e2(2OvtE_$YH9cDY{y{j2HV<XH^0R;Y_{HE^=(#rpH=(mFYdESkd}{F>Ey0B
zVudp{d(Lu~?A`yon_@B(%>Ig*zPOm<q6ge)K64^+M~kyTA@i)r^(&d(>a6>Sb7~pe
z;93oCb2HQU7Weq=Os&H`+R0RVvt^G{_PN4AMmpleAt#Ku?9aK`b1wbw97E@BFqaU1
z%w*#<A7$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-16x16-24bpp.png
 == bmp-size-17x17-24bpp.bmp bmp-size-17x17-24bpp.png
 == bmp-size-31x31-24bpp.bmp bmp-size-31x31-24bpp.png
 == bmp-size-32x32-24bpp.bmp bmp-size-32x32-24bpp.png
 == bmp-size-33x33-24bpp.bmp bmp-size-33x33-24bpp.png
 == bmp-not-square-24bpp.bmp bmp-not-square-24bpp.png
+== os2bmp-size-32x32-24bpp.bmp bmp-size-32x32-24bpp.png
 
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..08fc30d5fc18df34de805eb79b5b378586121796
GIT binary patch
literal 586
zc$_7T!E4(v7{$G@<8H(Cbx_v9ZmYH$Nw<v=DCwajwkh~j5(R<}OKcZXa`3+pgbBj8
z8XAy~I!U_Zu=bSy$@}EKj}P?T`$_tBbN${MbPf9v_A|^o@55VI!FW|w4X0|@<MHTu
zJ&f1){c!4s72>Ym-Q7k}G)+M#A;c!C-|Wk2?7XP!+J__=Z~qPbru55l8jsTydM$Rl
zeeK_tQJikK8T5R!nk0S^Pt)u)ZXB?$1HVj0f96>xxWH)tX_B19qtQ6aG{%_oNe~1{
z92eV}5E?6vSF7T0QOvTL1_1H=XZSt;J)g5z!5hvwM!{LRn6nwvy5Wf998JFbc!&!o
zlmie7(c)sw7;~>F?0k5YFTiU}U5_r;>j&r?tQtze=i&J|Bu%3o4mupzz2j+vlmpNu
zS>H3Qv_cBCgplxX@yIOjih@YketmM@8AJ#|?csU3Y^Zx)Db>0wSI<@{OFM!HZCm-c
zWZEhNiBZJq+Y|H(8AFKaS_y!q)<pod9U*dQEu{*2BMp&~NM&sY9~xx{e9=nit+9?Z
U(#g8Mvt1|Mt-%A*freWC2UL&(-v9sr
--- a/modules/libpr0n/test/reftest/bmp/bmp-4bpp/reftest.list
+++ b/modules/libpr0n/test/reftest/bmp/bmp-4bpp/reftest.list
@@ -12,9 +12,10 @@
 == bmp-size-9x9-4bpp.bmp   bmp-size-9x9-4bpp.png
 == bmp-size-15x15-4bpp.bmp bmp-size-15x15-4bpp.png
 == bmp-size-16x16-4bpp.bmp bmp-size-16x16-4bpp.png
 == bmp-size-17x17-4bpp.bmp bmp-size-17x17-4bpp.png
 == bmp-size-31x31-4bpp.bmp bmp-size-31x31-4bpp.png
 == bmp-size-32x32-4bpp.bmp bmp-size-32x32-4bpp.png
 == bmp-size-33x33-4bpp.bmp bmp-size-33x33-4bpp.png
 == bmp-not-square-4bpp.bmp bmp-not-square-4bpp.png
+== os2bmp-size-32x32-4bpp.bmp bmp-size-32x32-4bpp.png
 
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b6df221e1b5dc4a719e19f839843657c463767c4
GIT binary patch
literal 1818
zc${^TzfN3N5QitSLQ+I*1(qz690>sh#Y(JpSAbYXk%Ajc<G6to18H`t%o~h^(m)!V
z#-tjgD9<rCjiDkPMT&U@w^<^Q-`u_Ywfx;(?dpCr=giDG-@knJ6;(WYLi7!O3!X3N
z>(NWaL#kT+!;gc1{NwqbRG5lTQ7T5osRS_*7h)zBVkI_WCk_%KDI`oHBuZi=P7>A1
zg_KDJYm*wOlLi@)6*49hG9@!ICkt{SFXT)v<S4~Z4S7%yMWJ8{p->8=aEi!svPu+$
zy|E2eL~>+}rEp;`!bQ0l7v~aLc)kU~tjxyj%#qzl$#)_w%3>_e64|1b3{+uNR%3P6
z$iA&)wh5cE8Jn|34#P_>>B6q;#_sHa32_wc!yz2XVI0m8)yzw7l2gNgFblLDIkQr7
z=OS8Ei)nE!k%P>BP!Xy`LD(DHL{3*q)+nN)DyHHpkt5H1gyJnQRacEX2P@f)Nxm~v
zbG69B@scgNWT2b6s|QX@qo8jMLAHizxJKl0<;_6flBs!$IIzewEF~vVB-bnE#l1ux
zY@P%rB)LgW4FifiZ7Df3k=$9##a$w=Kz5EMCCkYwQBdT)u#(d?$r{bv+%595<W5*r
zvT(PLSJ!`_yS&}kc<B22y83rreg6e7UaYOH{Q!RX6728q|Mec6p8f}J{o1GgbmSY2
z#>U3l#!K)kI6OQ&cz=F=es*^DAw6_sd}E{X>+2(ba8P*!G%Ci&ANa#t|Dn-%TKVzX
zuh;&d_D?IuCnqOggCD_f;4SzYTwIJi^u$E%UybzJqtti43aES?aCGz_AAaI>r4cal
zM;DhD-&K4ICZ?vQegdzywzhr;N5{v<mzQ@Qdg?hm^wuUk^zpmL{(0>;Yya-n&rZ!i
zBVgn=Yd=>p3ueF*@H5!i+}YedIXM{{`_xZEgYE6qW6kDVa}+T%JJQqBwcj53X7gr+
zT2IeI@4^pme0StKH-3J8XBPp3LHcgy&(3wK{PsxC@9qwExBG*^pxbSBli5zE({4X$
zw_B~&!ovIl{Gi_-^t&~k%2yg5Ah!>?_W~YxMC|SD^}DNhy4_x<)9b8s+RLrwR%>Zt
z0iT68gExEq)T{XP(yz2vTFVGof?q@cSgq;xdMn8?SOSYl`m4KuULA1j5%5SaKgb7H
e;8FUm9}X9X_x#Ge<!e8z{O1<9@t<FRIQ$=3q?%Iz
--- a/modules/libpr0n/test/reftest/bmp/bmp-8bpp/reftest.list
+++ b/modules/libpr0n/test/reftest/bmp/bmp-8bpp/reftest.list
@@ -12,9 +12,9 @@
 == bmp-size-9x9-8bpp.bmp   bmp-size-9x9-8bpp.png
 == bmp-size-15x15-8bpp.bmp bmp-size-15x15-8bpp.png
 == bmp-size-16x16-8bpp.bmp bmp-size-16x16-8bpp.png
 == bmp-size-17x17-8bpp.bmp bmp-size-17x17-8bpp.png
 == bmp-size-31x31-8bpp.bmp bmp-size-31x31-8bpp.png
 == bmp-size-32x32-8bpp.bmp bmp-size-32x32-8bpp.png
 == bmp-size-33x33-8bpp.bmp bmp-size-33x33-8bpp.png
 == bmp-not-square-8bpp.bmp bmp-not-square-8bpp.png
-
+== os2bmp-size-32x32-8bpp.bmp bmp-size-32x32-8bpp.png
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..af4678a284d18136863c18ad0c03f404c883b698
GIT binary patch
literal 30
ac${<cwPJt(Ga%*xVn#4DU{J5GX8-^oI09q<
--- a/modules/libpr0n/test/reftest/bmp/bmp-corrupted/reftest.list
+++ b/modules/libpr0n/test/reftest/bmp/bmp-corrupted/reftest.list
@@ -1,11 +1,12 @@
 # Corrupted BMP tests
 
 == wrapper.html?invalid-signature.bmp about:blank
 == wrapper.html?invalid-bpp.bmp about:blank
+== wrapper.html?os2-invalid-bpp.bmp about:blank
 # Tests for an unsupported compression value
 == wrapper.html?invalid-compression.bmp about:blank
 # Tests for RLE4 with an invalid BPP
 == wrapper.html?invalid-compression-RLE4.bmp about:blank
 # Tests for RLE8 with an invalid BPP
 == wrapper.html?invalid-compression-RLE8.bmp about:blank