Changeset 220536 in webkit


Ignore:
Timestamp:
Aug 10, 2017 11:47:56 AM (7 years ago)
Author:
jiewen_tan@apple.com
Message:

[WebCrypto] Enable SerializedCryptoKeyWrapTest in iOS
https://bugs.webkit.org/show_bug.cgi?id=175344
<rdar://problem/28507240>

Reviewed by Alexey Proskuryakov.

Add entitlements to TestWebKitAPI project for iOS. Then add Keychain Access entitlement to the project.
Finally enable the existing tests for iOS.

  • TestWebKitAPI/Configurations/TestWebKitAPI-iOS.entitlements: Added.
  • TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/Tests/WebCore/cocoa/SerializedCryptoKeyWrap.mm:
Location:
trunk/Tools
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r220534 r220536  
     12017-08-08  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        [WebCrypto] Enable SerializedCryptoKeyWrapTest in iOS
     4        https://bugs.webkit.org/show_bug.cgi?id=175344
     5        <rdar://problem/28507240>
     6
     7        Reviewed by Alexey Proskuryakov.
     8
     9        Add entitlements to TestWebKitAPI project for iOS. Then add Keychain Access entitlement to the project.
     10        Finally enable the existing tests for iOS.
     11
     12        * TestWebKitAPI/Configurations/TestWebKitAPI-iOS.entitlements: Added.
     13        * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
     14        * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
     15        * TestWebKitAPI/Tests/WebCore/cocoa/SerializedCryptoKeyWrap.mm:
     16
    1172017-08-10  Lucas Forschler  <lforschler@apple.com>
    218
  • trunk/Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig

    r212507 r220536  
    3636
    3737LD_RUNPATH_SEARCH_PATHS = "@loader_path";
     38
     39CODE_SIGN_ENTITLEMENTS[sdk=iphone*] = Configurations/TestWebKitAPI-iOS.entitlements;
  • trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj

    r220443 r220536  
    12681268                5714ECBC1CA8C21800051AC8 /* DownloadRequestOriginalURL2.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DownloadRequestOriginalURL2.html; sourceTree = "<group>"; };
    12691269                571F7FCF1F2961E100946648 /* IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal */ = {isa = PBXFileReference; lastKnownFileType = file; path = "IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal"; sourceTree = "<group>"; };
     1270                5735F0251F3A4EA6000EE801 /* TestWebKitAPI-iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "TestWebKitAPI-iOS.entitlements"; sourceTree = "<group>"; };
    12701271                57599E201F07191700A3FB8C /* IndexedDBStructuredCloneBackwardCompatibility.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = IndexedDBStructuredCloneBackwardCompatibility.mm; sourceTree = "<group>"; };
    12711272                57599E231F07192C00A3FB8C /* IndexedDBStructuredCloneBackwardCompatibilityWrite.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = IndexedDBStructuredCloneBackwardCompatibilityWrite.html; sourceTree = "<group>"; };
     
    22562257                                CD773F711C5057DB0002257C /* FeatureDefines.xcconfig */,
    22572258                                BC575AE2126E88B1006F0F12 /* InjectedBundle.xcconfig */,
     2259                                5735F0251F3A4EA6000EE801 /* TestWebKitAPI-iOS.entitlements */,
    22582260                                BC90958012554CF900083756 /* TestWebKitAPI.xcconfig */,
    22592261                                7CCE7EA31A4115CB00447C4C /* TestWebKitAPILibrary.xcconfig */,
  • trunk/Tools/TestWebKitAPI/Tests/WebCore/cocoa/SerializedCryptoKeyWrap.mm

    r210268 r220536  
    3131namespace TestWebKitAPI {
    3232
    33 // TODO: We should enable the following tests on iOS simulator once <rdar://problem/28534666> is fixed.
    34 // A seperate bug is filed about this: <rdar://problem/28507240>.
    35 #if !PLATFORM(IOS)
    3633class SerializedCryptoKeyWrapTest : public testing::Test {
    3734public:
     
    9794    EXPECT_TRUE(unwrappedKey == cryptoKey);
    9895}
    99 #endif
    10096
    10197} // namespace TestWebKitAPI
Note: See TracChangeset for help on using the changeset viewer.