Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0abae04c2bcebc137e640a232b2d8794fc89ab3d
https://github.com/WebKit/WebKit/commit/0abae04c2bcebc137e640a232b2d8794fc89ab3d
Author: Richard Robinson <[email protected]>
Date: 2024-11-14 (Thu, 14 Nov 2024)
Changed paths:
M Tools/TestWebKitAPI/Configurations/TestWebKitAPIBundle.xcconfig
M Tools/TestWebKitAPI/TestBundle/TestWebKitAPI.xctestplan
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebKit
Swift/TestWebKitAPIBundle-Bridging-Header.h
A Tools/TestWebKitAPI/Tests/WebKit Swift/WKWebViewSwiftOverlay.swift
Log Message:
-----------
[Swift in WebKit] Add Swift Testing support to WebKit
https://bugs.webkit.org/show_bug.cgi?id=283012
rdar://139627749
Reviewed by Wenson Hsieh.
Support writing tests using Swift Testing.
A few things should be noted:
* This currently only works with the internal SDK
* Eventually, there will need to be solution for EWS since there's no way to
make a single test plan have different paths depending on the internal sdk or
not.
* Tools/TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig:
* Tools/TestWebKitAPI/TestBundle/GoogleTests.mm:
(+[GoogleTestLoader registerTestClasses]):
* Tools/TestWebKitAPI/TestBundle/TestWebKitAPI.xctestplan:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit Swift/TestWebKitAPIBundle-Bridging-Header.h:
Added.
* Tools/TestWebKitAPI/Tests/WebKit Swift/WKWebViewSwiftOverlay.swift: Added.
(WKWebViewSwiftOverlayTests.evaluateJavaScriptYieldsExpectedResponse):
(WKWebViewSwiftOverlayTests.evaluateJavaScriptWithNilResponse):
Canonical link: https://commits.webkit.org/286626@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes