Printer regression test files. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@60485 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
2
mozilla/layout/html/tests/printer/images/file_list.txt
Normal file
2
mozilla/layout/html/tests/printer/images/file_list.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
file:///s|/mozilla/layout/html/tests/printer/images/imagejpg.html
|
||||
file:///s|/mozilla/layout/html/tests/printer/images/imagegif.html
|
||||
7
mozilla/layout/html/tests/printer/images/imagegif.html
Normal file
7
mozilla/layout/html/tests/printer/images/imagegif.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<img src="raptor.gif">
|
||||
GIF
|
||||
</body>
|
||||
</html>
|
||||
|
||||
7
mozilla/layout/html/tests/printer/images/imagejpg.html
Normal file
7
mozilla/layout/html/tests/printer/images/imagejpg.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<img src="raptor.jpg">
|
||||
JPG
|
||||
</body>
|
||||
</html>
|
||||
|
||||
BIN
mozilla/layout/html/tests/printer/images/raptor.GIF
Normal file
BIN
mozilla/layout/html/tests/printer/images/raptor.GIF
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
BIN
mozilla/layout/html/tests/printer/images/raptor.jpg
Normal file
BIN
mozilla/layout/html/tests/printer/images/raptor.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
16
mozilla/layout/html/tests/printer/images/rtest.bat
Executable file
16
mozilla/layout/html/tests/printer/images/rtest.bat
Executable file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
if %1==baseline goto baseline
|
||||
|
||||
:verify
|
||||
if not exist verify mkdir verify
|
||||
s:\mozilla\dist\win32_d.obj\bin\viewer -o s:\mozilla\layout\html\tests\printer\images\verify\ -rd s:\mozilla\layout\html\tests\printer\images -f s:\mozilla\layout\html\tests\printer\images\file_list.txt
|
||||
goto done
|
||||
|
||||
:baseline
|
||||
s:\mozilla\dist\win32_d.obj\bin\viewer -o s:\mozilla\layout\html\tests\printer\images\ -f s:\mozilla\layout\html\tests\printer\images\file_list.txt
|
||||
goto done
|
||||
|
||||
:error
|
||||
echo syntax: rtest (baseline verify)
|
||||
|
||||
:done
|
||||
Reference in New Issue
Block a user