• 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/win/WebKitTestRunner.vcproj: Add new files
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    112cf2dc
project.pbxproj 38.7 KB