Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7223a12f2acd3b6d04d861e98d1a01481d3612ee https://github.com/WebKit/WebKit/commit/7223a12f2acd3b6d04d861e98d1a01481d3612ee Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2025-06-18 (Wed, 18 Jun 2025)
Changed paths: M Tools/TestWebKitAPI/PlatformWPE.cmake M Tools/TestWebKitAPI/Tests/WPEPlatform/TestDisplay.cpp A Tools/TestWebKitAPI/Tests/WPEPlatform/TestDisplayDefault.cpp M Tools/TestWebKitAPI/Tests/WPEPlatform/TestSettings.cpp M Tools/TestWebKitAPI/glib/CMakeLists.txt M Tools/TestWebKitAPI/glib/PlatformWPE.cmake A Tools/TestWebKitAPI/glib/WPEPlatform/CMakeLists.txt A Tools/TestWebKitAPI/glib/WPEPlatform/WPEMockPlatformTest.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/WPEMockPlatformTest.h A Tools/TestWebKitAPI/glib/WPEPlatform/WPEPlatformTest.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/WPEPlatformTest.h A Tools/TestWebKitAPI/glib/WPEPlatform/WPEPlatformTestMain.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/mock/WPEDisplayMock.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/mock/WPEDisplayMock.h A Tools/TestWebKitAPI/glib/WPEPlatform/mock/WPEPlatformMockModule.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/mock/WPEViewMock.cpp A Tools/TestWebKitAPI/glib/WPEPlatform/mock/WPEViewMock.h R Tools/TestWebKitAPI/wpe/mock-platform/CMakeLists.txt R Tools/TestWebKitAPI/wpe/mock-platform/WPEDisplayMock.cpp R Tools/TestWebKitAPI/wpe/mock-platform/WPEDisplayMock.h R Tools/TestWebKitAPI/wpe/mock-platform/WPEViewMock.cpp R Tools/TestWebKitAPI/wpe/mock-platform/WPEViewMock.h Log Message: ----------- [WPE] WPE Platform: API tests should not use WebKitGLibAPITestCore library https://bugs.webkit.org/show_bug.cgi?id=294598 Reviewed by Nikolas Zimmermann. That's only for WebKit API tests, it always creates a WebKitWebContext and other things we don't want in WPE Platform API tests. This patch moves the mock platform implementation from Tools/TestWebKitAPI/wpe to Tools/TestWebKitAPI/glib and introduced the following changes: - WPEMockPlatform has been split into a static library and loadable module. - The loadable module is used by the WebKit API tests when the default display is used and by WPE Platform API tests that especifically test loading the default display. - A new library WPEPlatformTest is introduced, similar to the WebKit API tests one, but specific to WPE Platform. This library links to the WPEPlatformMock library so that it can create a mock display without loading any module. - TestDisplay has been split into TestDisplayDefault that checks loading the mock platform as a module and TestDisplay that uses WPEPlatformMock constructor directly since they can't be in the same binary. - All existing tests were changed to use the new WPEPlatformTest lib. Canonical link: https://commits.webkit.org/296367@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes