image/test/reftest/downscaling/reftest.list

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/image/test/reftest/downscaling/reftest.list	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# Reftests for downscaling
     1.5 +#
     1.6 +# Downscaling can be a lossy process, so a bit of mismatch is acceptable here,
     1.7 +# as long as it's barely noticable visually. When necessary, this can be
     1.8 +# explicitly allowed via 'fuzzy'/'fuzzy-if' annotations.
     1.9 +#
    1.10 +# IMPORTANT: For robustness, each test should be listed *twice* in this
    1.11 +# manifest -- once with the high quality downscaling pref disabled, and once
    1.12 +# with this pref enabled. The pref is set via "default-preferences", so
    1.13 +# simply appending a new test to the lists below each of those lines should be
    1.14 +# sufficient.
    1.15 +#
    1.16 +# Also note that Mac OS X has its own system-level downscaling algorithm, so
    1.17 +# tests here may need Mac-specific "fuzzy-if(cocoaWidget,...)" annotations.
    1.18 +
    1.19 +# RUN TESTS WITH HIGH QUALITY DOWNSCALING DISABLED:
    1.20 +# =================================================
    1.21 +default-preferences pref(image.high_quality_downscaling.enabled,false)
    1.22 +
    1.23 +fuzzy-if(cocoaWidget,106,31) == downscale-1.html downscale-1-ref.html
    1.24 +
    1.25 +
    1.26 +# RUN TESTS WITH HIGH QUALITY DOWNSCALING ENABLED:
    1.27 +# ================================================
    1.28 +# High-quality downscaling enabled:
    1.29 +default-preferences pref(image.high_quality_downscaling.enabled,true)
    1.30 +
    1.31 +fuzzy(31,127) == downscale-1.html downscale-1-ref.html

mercurial