Skip to content
  • tony@chromium.org's avatar
    add embedded png checksums to WebKitTestRunner · 112cf2dc
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=66494
    
    Looks like WebKitTestRunner has never supported embedded checksums.  This copies
    some code from DRT and adds it to the WebKitTestRunner.
    
    Reviewed by Darin Adler.
    
    * WebKitTestRunner/CyclicRedundancyCheck.cpp: Copied from Tools/DumpRenderTree
    * WebKitTestRunner/CyclicRedundancyCheck.h: Copied from Tools/DumpRenderTree
    * WebKitTestRunner/GNUmakefile.am: Add new files
    * WebKitTestRunner/PixelDumpSupport.cpp: Copied from Tools/DumpRenderTree
    * WebKitTestRunner/PixelDumpSupport.h: Copied from Tools/DumpRenderTree
    * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Add new files
    * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
    (WTR::dumpBitmap): Refactor to use PixelDumpSupport.
    (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
    * WebKitTestRunner/cg/TestInvocationCG.cpp:
    (WTR::dumpBitmap): Refactor to use PixelDumpSupport.
    (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
    * WebKitTestRunner/wi...
    112cf2dc