Skip to content
  • commit-queue@webkit.org's avatar
    Move MD5, SHA1 unit tests from WTF to TestWebKitAPI · aa1f1cc7
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=116445
    
    Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-05-31
    Reviewed by Benjamin Poulain.
    
    Source/WTF:
    
    Remove the MD5 and SHA1 test cases from the WTF code. The same cases are now built and run under TestWebKitAPI.
    
    * wtf/MD5.cpp:
    (WTF::MD5::MD5):
    * wtf/SHA1.cpp:
    (WTF::SHA1::SHA1):
    
    Tools:
    
    Add the MD5 and SHA1 unit tests that were previously located inside WTF.
    
    * TestWebKitAPI/CMakeLists.txt:
    * TestWebKitAPI/GNUmakefile.am:
    * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
    * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
    * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
    * TestWebKitAPI/Tests/WTF/MD5.cpp: Added.
    (TestWebKitAPI):
    (TestWebKitAPI::expectMD5):
    (TestWebKitAPI::TEST):
    * TestWebKitAPI/Tests/WTF/SHA1.cpp: Added.
    (TestWebKitAPI):
    (TestWebKitAPI::expectSHA1):
    (TestWebKitAPI::TEST):
    * TestWebKitAPI/Tests/WTF/WTF.pro:
    * TestWebKitAPI/win/TestWebKitAPI.vcproj:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    aa1f1cc7