Changeset 161366 in webkit
- Timestamp:
- Jan 6, 2014 1:14:30 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 2 deleted
- 11 edited
- 85 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r161359 r161366 1 2014-01-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI 4 https://bugs.webkit.org/show_bug.cgi?id=126342 5 6 Reviewed by Gustavo Noronha Silva. 7 8 * GNUmakefile.am: Remove unused variable. 9 * Source/PlatformGTK.cmake: No longer include the old unit tests directories. 10 1 11 2014-01-06 Zan Dobersek <zdobersek@igalia.com> 2 12 -
trunk/GNUmakefile.am
r161322 r161366 60 60 lib_LTLIBRARIES := 61 61 IDL_BINDINGS := 62 TEST_PROGS :=63 62 POFILES := 64 63 PO_LINGUAS := … … 215 214 216 215 if ENABLE_DEVELOPER_MODE 217 include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am218 include Source/WebKit/gtk/tests/GNUmakefile.am219 216 include Source/ThirdParty/gtest/GNUmakefile.am 220 217 include Tools/GNUmakefile.am -
trunk/Source/PlatformGTK.cmake
r161325 r161366 3 3 # This allows exposing a 'gir' target which builds all GObject introspection files. 4 4 add_custom_target(gir ALL DEPENDS ${GObjectIntrospectionTargets}) 5 6 if (ENABLE_API_TESTS)7 if (ENABLE_WEBKIT)8 add_subdirectory(${WEBKIT_DIR}/gtk/tests)9 endif ()10 if (ENABLE_WEBKIT2)11 add_subdirectory(${WEBKIT2_DIR}/UIProcess/API/gtk/tests)12 endif ()13 endif ()14 5 15 6 set(DocumentationDependencies -
trunk/Source/WebKit/gtk/ChangeLog
r161338 r161366 1 2014-01-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI 4 https://bugs.webkit.org/show_bug.cgi?id=126342 5 6 Reviewed by Gustavo Noronha Silva. 7 8 * tests/CMakeLists.txt: Removed. 9 * tests/GNUmakefile.am: Removed. 10 1 11 2014-01-06 László Langó <lango@inf.u-szeged.hu> 2 12 -
trunk/Source/WebKit2/ChangeLog
r161358 r161366 1 2014-01-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI 4 https://bugs.webkit.org/show_bug.cgi?id=126342 5 6 Reviewed by Gustavo Noronha Silva. 7 8 * UIProcess/API/gtk/tests/CMakeLists.txt: Removed. 9 * UIProcess/API/gtk/tests/GNUmakefile.am: Removed. 10 1 11 2014-01-06 Enrica Casucci <enrica@apple.com> 2 12 -
trunk/Tools/CMakeLists.txt
r160938 r161366 20 20 if (ENABLE_WEBKIT2) 21 21 add_subdirectory(MiniBrowser/gtk) 22 add_subdirectory(TestWebKitAPI/Tests/WebKit2Gtk) 22 23 endif () 23 24 if (ENABLE_WEBKIT) 24 25 add_subdirectory(GtkLauncher) 25 26 add_subdirectory(DumpRenderTree) 27 add_subdirectory(TestWebKitAPI/Tests/WebKitGtk) 26 28 endif () 27 29 add_subdirectory(DumpRenderTree/TestNetscapePlugIn) -
trunk/Tools/ChangeLog
r161363 r161366 1 2014-01-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI 4 https://bugs.webkit.org/show_bug.cgi?id=126342 5 6 Reviewed by Gustavo Noronha Silva. 7 8 * CMakeLists.txt: Include the new unit tests subdirectories. 9 * Scripts/run-gtk-tests: Update to refer to the new build locations. 10 * Scripts/webkitpy/style/checker.py: Update the style checker. 11 * Scripts/webkitpy/style/checker_unittest.py: 12 * TestWebKitAPI/GNUmakefile.am: 13 * TestWebKitAPI/Tests/WebKit2Gtk/AccessibilityTestServer.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/AccessibilityTestServer.cpp. 14 * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Added. 15 * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp: Added. 16 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/DOMNodeTest.cpp. 17 * TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/FrameTest.cpp. 18 * TestWebKitAPI/Tests/WebKit2Gtk/InspectorTestServer.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/InspectorTestServer.cpp. 19 * TestWebKitAPI/Tests/WebKit2Gtk/LoadTrackingTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.cpp. 20 * TestWebKitAPI/Tests/WebKit2Gtk/LoadTrackingTest.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.h. 21 * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestAuthentication.cpp. 22 * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp. 23 * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp. 24 * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestCookieManager.cpp. 25 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMDOMWindow.cpp: Added. 26 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestDOMNode.cpp. 27 * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestDownloads.cpp. 28 * TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestFrame.cpp. 29 * TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestInspector.cpp. 30 * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestInspectorServer.cpp. 31 * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestLoaderClient.cpp. 32 * TestWebKitAPI/Tests/WebKit2Gtk/TestMain.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestMain.cpp. 33 * TestWebKitAPI/Tests/WebKit2Gtk/TestMain.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestMain.h. 34 * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestPrinting.cpp. 35 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestResources.cpp. 36 * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestSSL.cpp. 37 * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestUIClient.cpp. 38 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebExtensions.cpp. 39 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp. 40 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp. 41 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFindController.cpp. 42 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitPolicyClient.cpp. 43 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitSettings.cpp. 44 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitVersion.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitVersion.cpp. 45 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebContext.cpp. 46 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebView.cpp. 47 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebViewGroup.cpp. 48 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/TestWebViewEditor.cpp. 49 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebExtensionTest.cpp. 50 * TestWebKitAPI/Tests/WebKit2Gtk/WebKitTestBus.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestBus.cpp. 51 * TestWebKitAPI/Tests/WebKit2Gtk/WebKitTestBus.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestBus.h. 52 * TestWebKitAPI/Tests/WebKit2Gtk/WebKitTestServer.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.cpp. 53 * TestWebKitAPI/Tests/WebKit2Gtk/WebKitTestServer.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.h. 54 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebProcessTest.cpp. 55 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebProcessTest.h. 56 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTestRunner.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebProcessTestRunner.cpp. 57 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTestRunner.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebProcessTestRunner.h. 58 * TestWebKitAPI/Tests/WebKit2Gtk/WebViewTest.cpp: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp. 59 * TestWebKitAPI/Tests/WebKit2Gtk/WebViewTest.h: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.h. 60 * TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/resources/link-title.js. 61 * TestWebKitAPI/Tests/WebKit2Gtk/resources/test-cert.pem: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/resources/test-cert.pem. 62 * TestWebKitAPI/Tests/WebKit2Gtk/resources/test-key.pem: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/resources/test-key.pem. 63 * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Renamed from Source/WebKit2/UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml. 64 * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Added. 65 * TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico: Renamed from Source/WebKit/gtk/tests/resources/blank.ico. 66 * TestWebKitAPI/Tests/WebKitGtk/resources/test.html: Renamed from Source/WebKit/gtk/tests/resources/test.html. 67 * TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg: Renamed from Source/WebKit/gtk/tests/resources/test.ogg. 68 * TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf: Renamed from Source/WebKit/gtk/tests/resources/test.pdf. 69 * TestWebKitAPI/Tests/WebKitGtk/resources/test.txt: Renamed from Source/WebKit/gtk/tests/resources/test.txt. 70 * TestWebKitAPI/Tests/WebKitGtk/test_utils.c: Renamed from Source/WebKit/gtk/tests/test_utils.c. 71 * TestWebKitAPI/Tests/WebKitGtk/test_utils.h: Renamed from Source/WebKit/gtk/tests/test_utils.h. 72 * TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c: Renamed from Source/WebKit/gtk/tests/testapplicationcache.c. 73 * TestWebKitAPI/Tests/WebKitGtk/testatk.c: Renamed from Source/WebKit/gtk/tests/testatk.c. 74 * TestWebKitAPI/Tests/WebKitGtk/testatkroles.c: Renamed from Source/WebKit/gtk/tests/testatkroles.c. 75 * TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c: Renamed from Source/WebKit/gtk/tests/testcontextmenu.c. 76 * TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c: Renamed from Source/WebKit/gtk/tests/testcopyandpaste.c. 77 * TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c: Renamed from Source/WebKit/gtk/tests/testdomdocument.c. 78 * TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c: Renamed from Source/WebKit/gtk/tests/testdomdomwindow.c. 79 * TestWebKitAPI/Tests/WebKitGtk/testdomnode.c: Renamed from Source/WebKit/gtk/tests/testdomnode.c. 80 * TestWebKitAPI/Tests/WebKitGtk/testdownload.c: Renamed from Source/WebKit/gtk/tests/testdownload.c. 81 * TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c: Renamed from Source/WebKit/gtk/tests/testfavicondatabase.c. 82 * TestWebKitAPI/Tests/WebKitGtk/testglobals.c: Renamed from Source/WebKit/gtk/tests/testglobals.c. 83 * TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c: Renamed from Source/WebKit/gtk/tests/testhittestresult.c. 84 * TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c: Renamed from Source/WebKit/gtk/tests/testhttpbackend.c. 85 * TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c: Renamed from Source/WebKit/gtk/tests/testkeyevents.c. 86 * TestWebKitAPI/Tests/WebKitGtk/testloading.c: Renamed from Source/WebKit/gtk/tests/testloading.c. 87 * TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c: Renamed from Source/WebKit/gtk/tests/testmimehandling.c. 88 * TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c: Renamed from Source/WebKit/gtk/tests/testnetworkrequest.c. 89 * TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c: Renamed from Source/WebKit/gtk/tests/testnetworkresponse.c. 90 * TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c: Renamed from Source/WebKit/gtk/tests/testwebbackforwardlist.c. 91 * TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c: Renamed from Source/WebKit/gtk/tests/testwebdatasource.c. 92 * TestWebKitAPI/Tests/WebKitGtk/testwebframe.c: Renamed from Source/WebKit/gtk/tests/testwebframe.c. 93 * TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c: Renamed from Source/WebKit/gtk/tests/testwebhistoryitem.c. 94 * TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c: Renamed from Source/WebKit/gtk/tests/testwebinspector.c. 95 * TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c: Renamed from Source/WebKit/gtk/tests/testwebplugindatabase.c. 96 * TestWebKitAPI/Tests/WebKitGtk/testwebresource.c: Renamed from Source/WebKit/gtk/tests/testwebresource.c. 97 * TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c: Renamed from Source/WebKit/gtk/tests/testwebsettings.c. 98 * TestWebKitAPI/Tests/WebKitGtk/testwebview.c: Renamed from Source/WebKit/gtk/tests/testwebview.c. 99 * TestWebKitAPI/Tests/WebKitGtk/testwindow.c: Renamed from Source/WebKit/gtk/tests/testwindow.c. 100 1 101 2014-01-06 Alexey Proskuryakov <ap@apple.com> 2 102 -
trunk/Tools/Scripts/run-gtk-tests
r161268 r161366 59 59 60 60 class TestRunner: 61 TEST_DIRS = [ "WebKit 1GObjectAPITests", "WebKit2GObjectAPITests", "TestWebKitAPI" ]61 TEST_DIRS = [ "WebKit2Gtk", "WebKitGtk", "WebKit2", "JavaScriptCore", "WTF", "WebCore", "WebCoreGtk" ] 62 62 63 63 SKIPPED = [ 64 SkippedTest("WebKit 1GObjectAPITests/testdownload", "/webkit/download/not-found", "Test fails in GTK Linux 64-bit Release bot", 82329),65 SkippedTest("WebKit 1GObjectAPITests/testwebinspector", "/webkit/webinspector/close-and-inspect", "Test is flaky in GTK Linux 32-bit Release bot", 82869),66 SkippedTest("WebKit 1GObjectAPITests/testwebresource", "/webkit/webresource/loading", "Test fails", 104689),67 SkippedTest("WebKit 1GObjectAPITests/testwebresource", "/webkit/webresource/sub_resource_loading", "Test fails in GTK Linux 64-bit Release bot", 82330),68 SkippedTest("WebKit 1GObjectAPITests/testwebview", "/webkit/webview/icon-uri", "Test times out in GTK Linux 64-bit Release bot", 82328),69 SkippedTest("WebKit2G ObjectAPITests/TestResources", "/webkit2/WebKitWebView/resources", "Test is flaky in GTK Linux 32-bit Release bot", 82868),70 SkippedTest("WebKit2G ObjectAPITests/TestUIClient", "/webkit2/WebKitWebView/mouse-target", "Test times out after r150890", 117689),71 SkippedTest("WebKit2G ObjectAPITests/TestAuthentication", SkippedTest.ENTIRE_SUITE, "Test times out after r150890", 117689),72 SkippedTest("WebKit2G ObjectAPITests/TestContextMenu", SkippedTest.ENTIRE_SUITE, "Test times out after r150890", 117689),73 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.MouseMoveAfterCrash", "Test is flaky", 85066),74 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.NewFirstVisuallyNonEmptyLayoutForImages", "Test is flaky", 85066),75 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.NewFirstVisuallyNonEmptyLayoutFrames", "Test fails", 85037),76 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.RestoreSessionStateContainingFormData", "Session State is not implemented in GTK+ port", 84960),77 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.SpacebarScrolling", "Test fails", 84961),78 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.WKConnection", "Tests fail and time out out", 84959),79 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.WKPageGetScaleFactorNotZero", "Test fails and times out", 88455),80 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.ForceRepaint", "Test times out", 105532),81 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.ReloadPageAfterCrash", "Test flakily times out", 110129),82 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.DidAssociateFormControls", "Test times out", 120302),83 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.InjectedBundleFrameHitTest", "Test times out", 120303),84 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.ResizeReversePaginatedWebView", "Test fails", 120305),85 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.ScrollPinningBehaviors", "Test fails", 120306),86 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.TerminateTwice", "Test causes crash on the next test", 121970),87 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.GeolocationTransitionToHighAccuracy", "Test causes crash on the next test", 125068),88 SkippedTest(" TestWebKitAPI/TestWebKit2", "WebKit2.GeolocationTransitionToLowAccuracy", "Test causes crash on the next test", 125068),89 SkippedTest("WebKit2G ObjectAPITests/TestInspectorServer", SkippedTest.ENTIRE_SUITE, "Timing out on the bot", 122571),64 SkippedTest("WebKitGtk/testdownload", "/webkit/download/not-found", "Test fails in GTK Linux 64-bit Release bot", 82329), 65 SkippedTest("WebKitGtk/testwebinspector", "/webkit/webinspector/close-and-inspect", "Test is flaky in GTK Linux 32-bit Release bot", 82869), 66 SkippedTest("WebKitGtk/testwebresource", "/webkit/webresource/loading", "Test fails", 104689), 67 SkippedTest("WebKitGtk/testwebresource", "/webkit/webresource/sub_resource_loading", "Test fails in GTK Linux 64-bit Release bot", 82330), 68 SkippedTest("WebKitGtk/testwebview", "/webkit/webview/icon-uri", "Test times out in GTK Linux 64-bit Release bot", 82328), 69 SkippedTest("WebKit2Gtk/TestResources", "/webkit2/WebKitWebView/resources", "Test is flaky in GTK Linux 32-bit Release bot", 82868), 70 SkippedTest("WebKit2Gtk/TestUIClient", "/webkit2/WebKitWebView/mouse-target", "Test times out after r150890", 117689), 71 SkippedTest("WebKit2Gtk/TestAuthentication", SkippedTest.ENTIRE_SUITE, "Test times out after r150890", 117689), 72 SkippedTest("WebKit2Gtk/TestContextMenu", SkippedTest.ENTIRE_SUITE, "Test times out after r150890", 117689), 73 SkippedTest("WebKit2/TestWebKit2", "WebKit2.MouseMoveAfterCrash", "Test is flaky", 85066), 74 SkippedTest("WebKit2/TestWebKit2", "WebKit2.NewFirstVisuallyNonEmptyLayoutForImages", "Test is flaky", 85066), 75 SkippedTest("WebKit2/TestWebKit2", "WebKit2.NewFirstVisuallyNonEmptyLayoutFrames", "Test fails", 85037), 76 SkippedTest("WebKit2/TestWebKit2", "WebKit2.RestoreSessionStateContainingFormData", "Session State is not implemented in GTK+ port", 84960), 77 SkippedTest("WebKit2/TestWebKit2", "WebKit2.SpacebarScrolling", "Test fails", 84961), 78 SkippedTest("WebKit2/TestWebKit2", "WebKit2.WKConnection", "Tests fail and time out out", 84959), 79 SkippedTest("WebKit2/TestWebKit2", "WebKit2.WKPageGetScaleFactorNotZero", "Test fails and times out", 88455), 80 SkippedTest("WebKit2/TestWebKit2", "WebKit2.ForceRepaint", "Test times out", 105532), 81 SkippedTest("WebKit2/TestWebKit2", "WebKit2.ReloadPageAfterCrash", "Test flakily times out", 110129), 82 SkippedTest("WebKit2/TestWebKit2", "WebKit2.DidAssociateFormControls", "Test times out", 120302), 83 SkippedTest("WebKit2/TestWebKit2", "WebKit2.InjectedBundleFrameHitTest", "Test times out", 120303), 84 SkippedTest("WebKit2/TestWebKit2", "WebKit2.ResizeReversePaginatedWebView", "Test fails", 120305), 85 SkippedTest("WebKit2/TestWebKit2", "WebKit2.ScrollPinningBehaviors", "Test fails", 120306), 86 SkippedTest("WebKit2/TestWebKit2", "WebKit2.TerminateTwice", "Test causes crash on the next test", 121970), 87 SkippedTest("WebKit2/TestWebKit2", "WebKit2.GeolocationTransitionToHighAccuracy", "Test causes crash on the next test", 125068), 88 SkippedTest("WebKit2/TestWebKit2", "WebKit2.GeolocationTransitionToLowAccuracy", "Test causes crash on the next test", 125068), 89 SkippedTest("WebKit2Gtk/TestInspectorServer", SkippedTest.ENTIRE_SUITE, "Timing out on the bot", 122571), 90 90 ] 91 91 … … 106 106 self._spi_registryd = None 107 107 self._spi_bus_launcher = None 108 109 def _test_programs_base_dir(self): 110 return os.path.join(self._programs_path, "TestWebKitAPI") 108 111 109 112 def _get_tests_from_dir(self, test_dir): … … 132 135 tests = [] 133 136 for test_dir in self.TEST_DIRS: 134 absolute_test_dir = os.path.join(self._ programs_path, test_dir)137 absolute_test_dir = os.path.join(self._test_programs_base_dir(), test_dir) 135 138 tests.extend(self._get_tests_from_dir(absolute_test_dir)) 136 139 return tests … … 362 365 363 366 def _run_test(self, test_program): 364 if "GObjectAPITest" in test_program: 367 basedir = os.path.basename(os.path.dirname(test_program)) 368 if basedir in ["WebKit2Gtk", "WebKitGtk"]: 365 369 return self._run_test_glib(test_program) 366 370 367 if "TestWebKitAPI" in test_program:371 if basedir in ["WebKit2", "JavaScriptCore", "WTF", "WebCore", "WebCoreGtk"]: 368 372 return self._run_google_test_suite(test_program) 369 373 … … 372 376 def run_tests(self): 373 377 if not self._tests: 374 sys.stderr.write("ERROR: tests not found in %s.\n" % (self._ programs_path))378 sys.stderr.write("ERROR: tests not found in %s.\n" % (self._test_programs_base_dir())) 375 379 sys.stderr.flush() 376 380 return 1 … … 406 410 407 411 if failed_tests: 408 names = [test.replace(self._ programs_path, '', 1) for test in failed_tests]412 names = [test.replace(self._test_programs_base_dir(), '', 1) for test in failed_tests] 409 413 sys.stdout.write("Tests failed (%d): %s\n" % (len(names), ", ".join(names))) 410 414 sys.stdout.flush() 411 415 412 416 if crashed_tests: 413 names = [test.replace(self._ programs_path, '', 1) for test in crashed_tests]417 names = [test.replace(self._test_programs_base_dir(), '', 1) for test in crashed_tests] 414 418 sys.stdout.write("Tests that crashed (%d): %s\n" % (len(names), ", ".join(names))) 415 419 sys.stdout.flush() 416 420 417 421 if timed_out_tests: 418 names = [test.replace(self._ programs_path, '', 1) for test in timed_out_tests]422 names = [test.replace(self._test_programs_base_dir(), '', 1) for test in timed_out_tests] 419 423 sys.stdout.write("Tests that timed out (%d): %s\n" % (len(names), ", ".join(names))) 420 424 sys.stdout.flush() -
trunk/Tools/Scripts/webkitpy/style/checker.py
r160611 r161366 318 318 # future merges. 319 319 _SKIPPED_FILES_WITH_WARNING = [ 320 " Source/WebKit/gtk/tests/",320 "Tools/TestWebKitAPI/Tests/WebKitGtk/", 321 321 # All WebKit*.h files in Source/WebKit2/UIProcess/API/gtk, 322 322 # except those ending in ...Private.h are GTK+ API headers, -
trunk/Tools/Scripts/webkitpy/style/checker_unittest.py
r160083 r161366 281 281 # Check skipped files. 282 282 paths_to_skip = [ 283 " Source/WebKit/gtk/tests/testatk.c",283 "Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c", 284 284 "Source/WebKit2/UIProcess/API/gtk/webkit2.h", 285 285 "Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h", … … 298 298 "Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp", 299 299 "Source/WebKit2/UIProcess/API/gtk/WebKitWebViewPrivate.h", 300 " Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp",301 " Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.h",300 "Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebViewTest.cpp", 301 "Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebViewTest.h", 302 302 ] 303 303 -
trunk/Tools/TestWebKitAPI/GNUmakefile.am
r161255 r161366 1 1 noinst_LTLIBRARIES += \ 2 2 Libraries/libTestWebKitAPIMain.la 3 4 if ENABLE_WEBKIT2 5 noinst_LTLIBRARIES += \ 6 Libraries/libTestWebKit2GtkAPI.la 7 endif 3 8 4 9 Libraries_libTestWebKitAPIMain_la_SOURCES = \ … … 21 26 $(GTK_CFLAGS) 22 27 28 webkitgtk_tests_cflags = \ 29 -fno-strict-aliasing \ 30 -DTEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \ 31 -I$(srcdir)/Source/JavaScriptCore/ForwardingHeaders \ 32 -I$(WebKit) \ 33 -I$(GENSOURCES) \ 34 -I$(top_builddir)/Source/WebKit/gtk \ 35 -I$(top_srcdir)/Source/WebCore/bindings \ 36 -I$(top_srcdir)/Source/WebCore/bindings/gobject \ 37 $(global_cppflags) \ 38 $(global_cflags) \ 39 $(javascriptcore_cppflags) \ 40 $(FREETYPE_CFLAGS) \ 41 $(GLIB_CFLAGS) \ 42 $(GTK_CFLAGS) \ 43 $(LIBSOUP_CFLAGS) \ 44 $(XRENDER_CFLAGS) \ 45 $(XT_CFLAGS) 46 47 webkitgtk_tests_ldadd = \ 48 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 49 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 50 $(FREETYPE_LIBS) \ 51 $(GTK_LIBS) \ 52 $(GLIB_LIBS) \ 53 $(LIBSOUP_LIBS) \ 54 $(XRENDER_LIBS) 55 56 webkitgtk_tests_ldflags = \ 57 -no-install 58 59 60 webkit2gtk_tests_cppflags = \ 61 -DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs\" \ 62 -DWEBKIT_SRC_DIR=\"${shell pwd}/${srcdir}\" \ 63 -DWEBKIT_DERIVED_SRC_DIR=\"${shell pwd}/${top_builddir}/DerivedSources\" \ 64 -DWEBKIT_TEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \ 65 -DWEBKIT_TEST_WEB_EXTENSIONS_DIR=\"${shell pwd}/${top_builddir}/Libraries/WebExtensions/.libs\" \ 66 -DWEBKIT_INJECTED_BUNDLE_PATH=\"${shell pwd}/$(top_builddir)/.libs\" \ 67 $(javascriptcore_cppflags) \ 68 -I$(srcdir)/Source \ 69 -I$(srcdir)/Source/WebKit2 \ 70 -I$(srcdir)/Source/JavaScriptCore \ 71 -I$(srcdir)/Tools/TestWebKitAPI/gtk/WebKit2Gtk \ 72 -I$(top_builddir)/DerivedSources/WebKit2/include \ 73 -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk \ 74 -I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/include \ 75 -I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \ 76 $(global_cppflags) \ 77 $(FREETYPE_CFLAGS) \ 78 $(GLIB_CFLAGS) \ 79 $(GTK_CFLAGS) \ 80 $(LIBSOUP_CFLAGS) 81 82 webkit2gtk_tests_ldadd = \ 83 Libraries/libTestWebKit2GtkAPI.la \ 84 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 85 libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 86 $(FREETYPE_LIBS) \ 87 $(GEOCLUE_LIBS) \ 88 $(GLIB_LIBS) \ 89 $(GTK_LIBS) \ 90 $(LIBSOUP_LIBS) 91 92 webkit2gtk_tests_ldflags = \ 93 -no-install 94 95 Libraries_libTestWebKit2GtkAPI_la_SOURCES = \ 96 Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp \ 97 Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h \ 98 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp \ 99 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h \ 100 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp \ 101 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h \ 102 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp \ 103 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.h \ 104 Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp \ 105 Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h \ 106 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp \ 107 Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h 108 109 Libraries_libTestWebKit2GtkAPI_la_CPPFLAGS = $(webkit2gtk_tests_cppflags) 110 111 23 112 noinst_PROGRAMS += \ 24 Programs/TestWebKitAPI/TestWTF \ 25 Programs/TestWebKitAPI/TestJavaScriptCore \ 26 Programs/TestWebKitAPI/TestWebCore \ 27 Programs/TestWebKitAPI/TestGtk 113 Programs/TestWebKitAPI/WTF/TestWTF \ 114 Programs/TestWebKitAPI/JavaScriptCore/TestJavaScriptCore \ 115 Programs/TestWebKitAPI/WebCore/TestWebCore \ 116 Programs/TestWebKitAPI/WebCoreGtk/TestWebCoreGtk 117 118 if ENABLE_WEBKIT1 119 noinst_PROGRAMS += \ 120 Programs/TestWebKitAPI/WebKitGtk/testapplicationcache \ 121 Programs/TestWebKitAPI/WebKitGtk/testcontextmenu \ 122 Programs/TestWebKitAPI/WebKitGtk/testdomdocument \ 123 Programs/TestWebKitAPI/WebKitGtk/testdomdomwindow \ 124 Programs/TestWebKitAPI/WebKitGtk/testdomnode \ 125 Programs/TestWebKitAPI/WebKitGtk/testhttpbackend \ 126 Programs/TestWebKitAPI/WebKitGtk/testfavicondatabase \ 127 Programs/TestWebKitAPI/WebKitGtk/testloading \ 128 Programs/TestWebKitAPI/WebKitGtk/testglobals \ 129 Programs/TestWebKitAPI/WebKitGtk/testmimehandling \ 130 Programs/TestWebKitAPI/WebKitGtk/testnetworkrequest \ 131 Programs/TestWebKitAPI/WebKitGtk/testnetworkresponse \ 132 Programs/TestWebKitAPI/WebKitGtk/testwebframe \ 133 Programs/TestWebKitAPI/WebKitGtk/testwebbackforwardlist \ 134 Programs/TestWebKitAPI/WebKitGtk/testwebhistoryitem \ 135 Programs/TestWebKitAPI/WebKitGtk/testwindow \ 136 Programs/TestWebKitAPI/WebKitGtk/testdownload \ 137 Programs/TestWebKitAPI/WebKitGtk/testatk \ 138 Programs/TestWebKitAPI/WebKitGtk/testatkroles \ 139 Programs/TestWebKitAPI/WebKitGtk/testhittestresult \ 140 Programs/TestWebKitAPI/WebKitGtk/testwebinspector \ 141 Programs/TestWebKitAPI/WebKitGtk/testwebsettings \ 142 Programs/TestWebKitAPI/WebKitGtk/testwebresource \ 143 Programs/TestWebKitAPI/WebKitGtk/testwebdatasource \ 144 Programs/TestWebKitAPI/WebKitGtk/testwebplugindatabase \ 145 Programs/TestWebKitAPI/WebKitGtk/testwebview \ 146 Programs/TestWebKitAPI/WebKitGtk/testkeyevents \ 147 Programs/TestWebKitAPI/WebKitGtk/testcopyandpaste 148 endif 28 149 29 150 if ENABLE_WEBKIT2 30 151 noinst_PROGRAMS += \ 31 Programs/TestWebKitAPI/TestWebKit2 152 Programs/TestWebKitAPI/WebKit2/TestWebKit2 \ 153 Programs/TestWebKitAPI/WebKit2Gtk/InspectorTestServer \ 154 Programs/TestWebKitAPI/WebKit2Gtk/TestAuthentication \ 155 Programs/TestWebKitAPI/WebKit2Gtk/TestBackForwardList \ 156 Programs/TestWebKitAPI/WebKit2Gtk/TestContextMenu \ 157 Programs/TestWebKitAPI/WebKit2Gtk/TestCookieManager \ 158 Programs/TestWebKitAPI/WebKit2Gtk/TestDOMNode \ 159 Programs/TestWebKitAPI/WebKit2Gtk/TestDownloads \ 160 Programs/TestWebKitAPI/WebKit2Gtk/TestFrame \ 161 Programs/TestWebKitAPI/WebKit2Gtk/TestInspector \ 162 Programs/TestWebKitAPI/WebKit2Gtk/TestInspectorServer \ 163 Programs/TestWebKitAPI/WebKit2Gtk/TestLoaderClient \ 164 Programs/TestWebKitAPI/WebKit2Gtk/TestPrinting \ 165 Programs/TestWebKitAPI/WebKit2Gtk/TestResources \ 166 Programs/TestWebKitAPI/WebKit2Gtk/TestSSL \ 167 Programs/TestWebKitAPI/WebKit2Gtk/TestUIClient \ 168 Programs/TestWebKitAPI/WebKit2Gtk/TestWebExtensions \ 169 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitVersion \ 170 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitFaviconDatabase \ 171 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitFindController \ 172 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitPolicyClient \ 173 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitSettings \ 174 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitWebContext \ 175 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitWebView \ 176 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitWebViewGroup \ 177 Programs/TestWebKitAPI/WebKit2Gtk/TestWebViewEditor 178 179 if HAVE_ATSPI2 180 noinst_PROGRAMS += \ 181 Programs/TestWebKitAPI/WebKit2Gtk/AccessibilityTestServer \ 182 Programs/TestWebKitAPI/WebKit2Gtk/TestWebKitAccessibility 183 endif 32 184 endif # ENABLE_WEBKIT2 33 185 34 Programs_TestWebKitAPI_ TestWTF_CPPFLAGS = \186 Programs_TestWebKitAPI_WTF_TestWTF_CPPFLAGS = \ 35 187 $(Libraries_libTestWebKitAPIMain_la_CPPFLAGS) \ 36 188 $(GLIB_LIBS) \ 37 189 $(CAIRO_CFLAGS) 38 190 39 Programs_TestWebKitAPI_ TestWTF_CXXFLAGS = \191 Programs_TestWebKitAPI_WTF_TestWTF_CXXFLAGS = \ 40 192 -DGTEST_HAS_RTTI=0 \ 41 193 $(global_cxxflags) 42 194 43 Programs_TestWebKitAPI_ TestWTF_LDADD = \195 Programs_TestWebKitAPI_WTF_TestWTF_LDADD = \ 44 196 Libraries/libTestWebKitAPIMain.la \ 45 197 Libraries/libgtest.la \ … … 48 200 $(GLIB_LIBS) 49 201 50 Programs_TestWebKitAPI_ TestWTF_LDFLAGS = \202 Programs_TestWebKitAPI_WTF_TestWTF_LDFLAGS = \ 51 203 -no-install 52 204 53 Programs_TestWebKitAPI_ TestWTF_SOURCES = \205 Programs_TestWebKitAPI_WTF_TestWTF_SOURCES = \ 54 206 Tools/TestWebKitAPI/Tests/WTF/AtomicString.cpp \ 55 207 Tools/TestWebKitAPI/Tests/WTF/CString.cpp \ … … 79 231 Tools/TestWebKitAPI/WTFStringUtilities.h 80 232 81 Programs_TestWebKitAPI_ TestJavaScriptCore_CPPFLAGS = \233 Programs_TestWebKitAPI_JavaScriptCore_TestJavaScriptCore_CPPFLAGS = \ 82 234 $(Libraries_libTestWebKitAPIMain_la_CPPFLAGS) 83 235 84 Programs_TestWebKitAPI_ TestJavaScriptCore_CXXFLAGS = \236 Programs_TestWebKitAPI_JavaScriptCore_TestJavaScriptCore_CXXFLAGS = \ 85 237 -DGTEST_HAS_RTTI=0 \ 86 238 $(global_cxxflags) 87 239 88 Programs_TestWebKitAPI_ TestJavaScriptCore_LDADD = \240 Programs_TestWebKitAPI_JavaScriptCore_TestJavaScriptCore_LDADD = \ 89 241 Libraries/libTestWebKitAPIMain.la \ 90 242 Libraries/libgtest.la \ … … 92 244 $(GTK_LIBS) 93 245 94 Programs_TestWebKitAPI_ TestJavaScriptCore_LDFLAGS = \246 Programs_TestWebKitAPI_JavaScriptCore_TestJavaScriptCore_LDFLAGS = \ 95 247 -no-install 96 248 97 Programs_TestWebKitAPI_ TestJavaScriptCore_SOURCES = \249 Programs_TestWebKitAPI_JavaScriptCore_TestJavaScriptCore_SOURCES = \ 98 250 Tools/TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp 99 251 … … 130 282 $(top_builddir)/libWebCoreLayer.a 131 283 132 Programs_TestWebKitAPI_ TestWebCore_CPPFLAGS = \284 Programs_TestWebKitAPI_WebCore_TestWebCore_CPPFLAGS = \ 133 285 $(Libraries_libTestWebKitAPIMain_la_CPPFLAGS) \ 134 286 -I$(top_builddir)/DerivedSources/WebCore/include 135 287 136 Programs_TestWebKitAPI_ TestWebCore_CXXFLAGS = \288 Programs_TestWebKitAPI_WebCore_TestWebCore_CXXFLAGS = \ 137 289 -DGTEST_HAS_RTTI=0 \ 138 290 $(global_cxxflags) 139 291 140 Programs_TestWebKitAPI_ TestWebCore_LDADD = \292 Programs_TestWebKitAPI_WebCore_TestWebCore_LDADD = \ 141 293 Libraries/libTestWebKitAPIMain.la \ 142 294 Libraries/libgtest.la \ … … 165 317 $(ZLIB_LIBS) 166 318 167 Programs_TestWebKitAPI_ TestWebCore_LDFLAGS = \319 Programs_TestWebKitAPI_WebCore_TestWebCore_LDFLAGS = \ 168 320 -no-install 169 321 170 Programs_TestWebKitAPI_ TestWebCore_SOURCES = \322 Programs_TestWebKitAPI_WebCore_TestWebCore_SOURCES = \ 171 323 Tools/TestWebKitAPI/Tests/WebCore/URL.cpp \ 172 324 Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp 173 325 174 Programs_TestWebKitAPI_ TestGtk_CPPFLAGS = \175 $(Programs_TestWebKitAPI_ TestWTF_CPPFLAGS) \326 Programs_TestWebKitAPI_WebCoreGtk_TestWebCoreGtk_CPPFLAGS = \ 327 $(Programs_TestWebKitAPI_WTF_TestWTF_CPPFLAGS) \ 176 328 $(platform_cppflags) \ 177 329 $(platformgtk_cppflags) \ … … 183 335 $(LIBSOUP_CFLAGS) 184 336 185 Programs_TestWebKitAPI_ TestGtk_CXXFLAGS = \337 Programs_TestWebKitAPI_WebCoreGtk_TestWebCoreGtk_CXXFLAGS = \ 186 338 -DGTEST_HAS_RTTI=0 \ 187 339 $(global_cxxflags) 188 340 189 Programs_TestWebKitAPI_ TestGtk_LDADD = \341 Programs_TestWebKitAPI_WebCoreGtk_TestWebCoreGtk_LDADD = \ 190 342 Libraries/libTestWebKitAPIMain.la \ 191 343 Libraries/libgtest.la \ … … 199 351 $(LIBSOUP_LIBS) 200 352 201 Programs_TestWebKitAPI_ TestGtk_LDFLAGS = \202 $(Programs_TestWebKitAPI_ TestWTF_LDFLAGS)203 204 Programs_TestWebKitAPI_ TestGtk_SOURCES = \353 Programs_TestWebKitAPI_WebCoreGtk_TestWebCoreGtk_LDFLAGS = \ 354 $(Programs_TestWebKitAPI_WTF_TestWTF_LDFLAGS) 355 356 Programs_TestWebKitAPI_WebCoreGtk_TestWebCoreGtk_SOURCES = \ 205 357 Source/WebCore/platform/graphics/IntPoint.cpp \ 206 358 Source/WebCore/platform/graphics/IntRect.cpp \ … … 212 364 Tools/TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp 213 365 214 Programs_TestWebKitAPI_TestWebKit2_CPPFLAGS = \ 215 $(Programs_TestWebKitAPI_TestWTF_CPPFLAGS) \ 366 Programs_TestWebKitAPI_WebKitGtk_testapplicationcache_SOURCES = \ 367 Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c 368 Programs_TestWebKitAPI_WebKitGtk_testapplicationcache_CFLAGS = $(webkitgtk_tests_cflags) 369 Programs_TestWebKitAPI_WebKitGtk_testapplicationcache_LDADD = $(webkitgtk_tests_ldadd) 370 Programs_TestWebKitAPI_WebKitGtk_testapplicationcache_LDFLAGS = $(webkitgtk_tests_ldflags) 371 372 Programs_TestWebKitAPI_WebKitGtk_testcontextmenu_SOURCES = \ 373 Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c 374 Programs_TestWebKitAPI_WebKitGtk_testcontextmenu_CFLAGS = $(webkitgtk_tests_cflags) 375 Programs_TestWebKitAPI_WebKitGtk_testcontextmenu_LDADD = $(webkitgtk_tests_ldadd) 376 Programs_TestWebKitAPI_WebKitGtk_testcontextmenu_LDFLAGS = $(webkitgtk_tests_ldflags) 377 378 Programs_TestWebKitAPI_WebKitGtk_testdomdocument_SOURCES = \ 379 Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c 380 Programs_TestWebKitAPI_WebKitGtk_testdomdocument_CFLAGS = $(webkitgtk_tests_cflags) 381 Programs_TestWebKitAPI_WebKitGtk_testdomdocument_LDADD = $(webkitgtk_tests_ldadd) 382 Programs_TestWebKitAPI_WebKitGtk_testdomdocument_LDFLAGS = $(webkitgtk_tests_ldflags) 383 384 Programs_TestWebKitAPI_WebKitGtk_testdomdomwindow_SOURCES = \ 385 Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c 386 Programs_TestWebKitAPI_WebKitGtk_testdomdomwindow_CFLAGS = $(webkitgtk_tests_cflags) 387 Programs_TestWebKitAPI_WebKitGtk_testdomdomwindow_LDADD = $(webkitgtk_tests_ldadd) 388 Programs_TestWebKitAPI_WebKitGtk_testdomdomwindow_LDFLAGS = $(webkitgtk_tests_ldflags) 389 390 Programs_TestWebKitAPI_WebKitGtk_testdomnode_SOURCES = \ 391 Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c 392 Programs_TestWebKitAPI_WebKitGtk_testdomnode_CFLAGS = $(webkitgtk_tests_cflags) 393 Programs_TestWebKitAPI_WebKitGtk_testdomnode_LDADD = $(webkitgtk_tests_ldadd) 394 Programs_TestWebKitAPI_WebKitGtk_testdomnode_LDFLAGS = $(webkitgtk_tests_ldflags) 395 396 Programs_TestWebKitAPI_WebKitGtk_testhttpbackend_SOURCES = \ 397 Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c 398 Programs_TestWebKitAPI_WebKitGtk_testhttpbackend_CFLAGS = $(webkitgtk_tests_cflags) 399 Programs_TestWebKitAPI_WebKitGtk_testhttpbackend_LDADD = $(webkitgtk_tests_ldadd) 400 Programs_TestWebKitAPI_WebKitGtk_testhttpbackend_LDFLAGS = $(webkitgtk_tests_ldflags) 401 402 Programs_TestWebKitAPI_WebKitGtk_testfavicondatabase_SOURCES = \ 403 Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c \ 404 Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c 405 Programs_TestWebKitAPI_WebKitGtk_testfavicondatabase_CFLAGS = $(webkitgtk_tests_cflags) 406 Programs_TestWebKitAPI_WebKitGtk_testfavicondatabase_LDADD = $(webkitgtk_tests_ldadd) 407 Programs_TestWebKitAPI_WebKitGtk_testfavicondatabase_LDFLAGS = $(webkitgtk_tests_ldflags) 408 409 Programs_TestWebKitAPI_WebKitGtk_testglobals_SOURCES = \ 410 Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c 411 Programs_TestWebKitAPI_WebKitGtk_testglobals_CFLAGS = $(webkitgtk_tests_cflags) 412 Programs_TestWebKitAPI_WebKitGtk_testglobals_LDADD = $(webkitgtk_tests_ldadd) 413 Programs_TestWebKitAPI_WebKitGtk_testglobals_LDFLAGS = $(webkitgtk_tests_ldflags) 414 415 Programs_TestWebKitAPI_WebKitGtk_testloading_SOURCES = \ 416 Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c 417 Programs_TestWebKitAPI_WebKitGtk_testloading_CFLAGS = $(webkitgtk_tests_cflags) 418 Programs_TestWebKitAPI_WebKitGtk_testloading_LDADD = $(webkitgtk_tests_ldadd) 419 Programs_TestWebKitAPI_WebKitGtk_testloading_LDFLAGS = $(webkitgtk_tests_ldflags) 420 421 Programs_TestWebKitAPI_WebKitGtk_testmimehandling_SOURCES = \ 422 Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c \ 423 Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c 424 Programs_TestWebKitAPI_WebKitGtk_testmimehandling_CFLAGS = $(webkitgtk_tests_cflags) 425 Programs_TestWebKitAPI_WebKitGtk_testmimehandling_LDADD = $(webkitgtk_tests_ldadd) 426 Programs_TestWebKitAPI_WebKitGtk_testmimehandling_LDFLAGS = $(webkitgtk_tests_ldflags) 427 428 Programs_TestWebKitAPI_WebKitGtk_testnetworkrequest_SOURCES = \ 429 Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c 430 Programs_TestWebKitAPI_WebKitGtk_testnetworkrequest_CFLAGS = $(webkitgtk_tests_cflags) 431 Programs_TestWebKitAPI_WebKitGtk_testnetworkrequest_LDADD = $(webkitgtk_tests_ldadd) 432 Programs_TestWebKitAPI_WebKitGtk_testnetworkrequest_LDFLAGS = $(webkitgtk_tests_ldflags) 433 434 Programs_TestWebKitAPI_WebKitGtk_testnetworkresponse_SOURCES = \ 435 Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c 436 Programs_TestWebKitAPI_WebKitGtk_testnetworkresponse_CFLAGS = $(webkitgtk_tests_cflags) 437 Programs_TestWebKitAPI_WebKitGtk_testnetworkresponse_LDADD = $(webkitgtk_tests_ldadd) 438 Programs_TestWebKitAPI_WebKitGtk_testnetworkresponse_LDFLAGS = $(webkitgtk_tests_ldflags) 439 440 Programs_TestWebKitAPI_WebKitGtk_testwebframe_SOURCES = \ 441 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c 442 Programs_TestWebKitAPI_WebKitGtk_testwebframe_CFLAGS = $(webkitgtk_tests_cflags) 443 Programs_TestWebKitAPI_WebKitGtk_testwebframe_LDADD = $(webkitgtk_tests_ldadd) 444 Programs_TestWebKitAPI_WebKitGtk_testwebframe_LDFLAGS = $(webkitgtk_tests_ldflags) 445 446 Programs_TestWebKitAPI_WebKitGtk_testwebplugindatabase_SOURCES = \ 447 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c 448 Programs_TestWebKitAPI_WebKitGtk_testwebplugindatabase_CFLAGS = $(webkitgtk_tests_cflags) 449 Programs_TestWebKitAPI_WebKitGtk_testwebplugindatabase_LDADD = $(webkitgtk_tests_ldadd) 450 Programs_TestWebKitAPI_WebKitGtk_testwebplugindatabase_LDFLAGS = $(webkitgtk_tests_ldflags) 451 452 Programs_TestWebKitAPI_WebKitGtk_testwebbackforwardlist_SOURCES = \ 453 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c 454 Programs_TestWebKitAPI_WebKitGtk_testwebbackforwardlist_CFLAGS = $(webkitgtk_tests_cflags) 455 Programs_TestWebKitAPI_WebKitGtk_testwebbackforwardlist_LDADD = $(webkitgtk_tests_ldadd) 456 Programs_TestWebKitAPI_WebKitGtk_testwebbackforwardlist_LDFLAGS = $(webkitgtk_tests_ldflags) 457 458 Programs_TestWebKitAPI_WebKitGtk_testwebhistoryitem_SOURCES = \ 459 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c 460 Programs_TestWebKitAPI_WebKitGtk_testwebhistoryitem_CFLAGS = $(webkitgtk_tests_cflags) 461 Programs_TestWebKitAPI_WebKitGtk_testwebhistoryitem_LDADD = $(webkitgtk_tests_ldadd) 462 Programs_TestWebKitAPI_WebKitGtk_testwebhistoryitem_LDFLAGS = $(webkitgtk_tests_ldflags) 463 464 Programs_TestWebKitAPI_WebKitGtk_testwindow_SOURCES = \ 465 Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c 466 Programs_TestWebKitAPI_WebKitGtk_testwindow_CFLAGS = $(webkitgtk_tests_cflags) 467 Programs_TestWebKitAPI_WebKitGtk_testwindow_LDADD = $(webkitgtk_tests_ldadd) 468 Programs_TestWebKitAPI_WebKitGtk_testwindow_LDFLAGS = $(webkitgtk_tests_ldflags) 469 470 Programs_TestWebKitAPI_WebKitGtk_testdownload_SOURCES = \ 471 Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c 472 Programs_TestWebKitAPI_WebKitGtk_testdownload_CFLAGS = $(webkitgtk_tests_cflags) 473 Programs_TestWebKitAPI_WebKitGtk_testdownload_LDADD = $(webkitgtk_tests_ldadd) 474 Programs_TestWebKitAPI_WebKitGtk_testdownload_LDFLAGS = $(webkitgtk_tests_ldflags) 475 476 Programs_TestWebKitAPI_WebKitGtk_testatk_SOURCES = \ 477 Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c 478 Programs_TestWebKitAPI_WebKitGtk_testatk_CFLAGS = $(webkitgtk_tests_cflags) 479 Programs_TestWebKitAPI_WebKitGtk_testatk_LDADD = $(webkitgtk_tests_ldadd) 480 Programs_TestWebKitAPI_WebKitGtk_testatk_LDFLAGS = $(webkitgtk_tests_ldflags) 481 482 Programs_TestWebKitAPI_WebKitGtk_testatkroles_SOURCES = \ 483 Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c 484 Programs_TestWebKitAPI_WebKitGtk_testatkroles_CFLAGS = $(webkitgtk_tests_cflags) 485 Programs_TestWebKitAPI_WebKitGtk_testatkroles_LDADD = $(webkitgtk_tests_ldadd) 486 Programs_TestWebKitAPI_WebKitGtk_testatkroles_LDFLAGS = $(webkitgtk_tests_ldflags) 487 488 Programs_TestWebKitAPI_WebKitGtk_testwebinspector_SOURCES = \ 489 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c \ 490 Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c 491 Programs_TestWebKitAPI_WebKitGtk_testwebinspector_CFLAGS = $(webkitgtk_tests_cflags) 492 Programs_TestWebKitAPI_WebKitGtk_testwebinspector_LDADD = $(webkitgtk_tests_ldadd) 493 Programs_TestWebKitAPI_WebKitGtk_testwebinspector_LDFLAGS = $(webkitgtk_tests_ldflags) 494 495 Programs_TestWebKitAPI_WebKitGtk_testwebsettings_SOURCES = \ 496 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c 497 Programs_TestWebKitAPI_WebKitGtk_testwebsettings_CFLAGS = $(webkitgtk_tests_cflags) 498 Programs_TestWebKitAPI_WebKitGtk_testwebsettings_LDADD = $(webkitgtk_tests_ldadd) 499 Programs_TestWebKitAPI_WebKitGtk_testwebsettings_LDFLAGS = $(webkitgtk_tests_ldflags) 500 501 Programs_TestWebKitAPI_WebKitGtk_testwebresource_SOURCES = \ 502 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c 503 Programs_TestWebKitAPI_WebKitGtk_testwebresource_CFLAGS = $(webkitgtk_tests_cflags) 504 Programs_TestWebKitAPI_WebKitGtk_testwebresource_LDADD = $(webkitgtk_tests_ldadd) 505 506 Programs_TestWebKitAPI_WebKitGtk_testwebdatasource_SOURCES = \ 507 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c 508 Programs_TestWebKitAPI_WebKitGtk_testwebdatasource_CFLAGS = $(webkitgtk_tests_cflags) 509 Programs_TestWebKitAPI_WebKitGtk_testwebdatasource_LDADD = $(webkitgtk_tests_ldadd) 510 511 Programs_TestWebKitAPI_WebKitGtk_testwebview_SOURCES = \ 512 Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c 513 Programs_TestWebKitAPI_WebKitGtk_testwebview_CFLAGS = $(webkitgtk_tests_cflags) 514 Programs_TestWebKitAPI_WebKitGtk_testwebview_LDADD = $(webkitgtk_tests_ldadd) 515 Programs_TestWebKitAPI_WebKitGtk_testwebview_LDFLAGS = $(webkitgtk_tests_ldflags) 516 517 Programs_TestWebKitAPI_WebKitGtk_testhittestresult_SOURCES = \ 518 Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c 519 Programs_TestWebKitAPI_WebKitGtk_testhittestresult_CFLAGS = $(webkitgtk_tests_cflags) 520 Programs_TestWebKitAPI_WebKitGtk_testhittestresult_LDADD = $(webkitgtk_tests_ldadd) 521 522 Programs_TestWebKitAPI_WebKitGtk_testkeyevents_SOURCES = \ 523 Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c 524 Programs_TestWebKitAPI_WebKitGtk_testkeyevents_CFLAGS = $(webkitgtk_tests_cflags) 525 Programs_TestWebKitAPI_WebKitGtk_testkeyevents_LDADD = $(webkitgtk_tests_ldadd) 526 Programs_TestWebKitAPI_WebKitGtk_testkeyevents_LDFLAGS = $(webkitgtk_tests_ldflags) 527 528 Programs_TestWebKitAPI_WebKitGtk_testcopyandpaste_SOURCES = \ 529 Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c \ 530 Source/WebCore/platform/gtk/GtkVersioning.c 531 Programs_TestWebKitAPI_WebKitGtk_testcopyandpaste_CFLAGS = \ 532 $(webkitgtk_tests_cflags) \ 533 -I$(srcdir)/Source/WebCore/platform/gtk \ 534 -I$(srcdir)/Source/WebCore 535 Programs_TestWebKitAPI_WebKitGtk_testcopyandpaste_LDADD = $(webkitgtk_tests_ldadd) 536 Programs_TestWebKitAPI_WebKitGtk_testcopyandpaste_LDFLAGS = $(webkitgtk_tests_ldflags) 537 538 539 Programs_TestWebKitAPI_WebKit2_TestWebKit2_CPPFLAGS = \ 540 $(Programs_TestWebKitAPI_WTF_TestWTF_CPPFLAGS) \ 216 541 -I$(top_builddir)/DerivedSources/WebKit2/include \ 217 542 $(FREETYPE_CFLAGS) \ … … 220 545 $(LIBSOUP_CFLAGS) 221 546 222 Programs_TestWebKitAPI_ TestWebKit2_CXXFLAGS = \547 Programs_TestWebKitAPI_WebKit2_TestWebKit2_CXXFLAGS = \ 223 548 -DGTEST_HAS_RTTI=0 \ 224 549 $(global_cxxflags) 225 550 226 Programs_TestWebKitAPI_ TestWebKit2_LDADD = \551 Programs_TestWebKitAPI_WebKit2_TestWebKit2_LDADD = \ 227 552 Libraries/libTestWebKitAPIMain.la \ 228 553 Libraries/libgtest.la \ … … 234 559 $(LIBSOUP_LIBS) 235 560 236 Programs_TestWebKitAPI_ TestWebKit2_LDFLAGS = \237 $(Programs_TestWebKitAPI_ TestWTF_LDFLAGS)238 239 Programs_TestWebKitAPI_ TestWebKit2_SOURCES = \561 Programs_TestWebKitAPI_WebKit2_TestWebKit2_LDFLAGS = \ 562 $(Programs_TestWebKitAPI_WTF_TestWTF_LDFLAGS) 563 564 Programs_TestWebKitAPI_WebKit2_TestWebKit2_SOURCES = \ 240 565 Tools/TestWebKitAPI/config.h \ 241 566 Tools/TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp \ … … 358 683 359 684 360 stamp-testwebkitapi-webcore-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_TestWebKitAPI_TestWebCore_SOURCES) 685 if ENABLE_WEBKIT2 686 noinst_LTLIBRARIES += Libraries/WebExtensions/libWebExtensionTest.la 687 endif 688 689 Libraries_WebExtensions_libWebExtensionTest_la_SOURCES = \ 690 Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp 691 692 Libraries_WebExtensions_libWebExtensionTest_la_LDFLAGS = \ 693 -rpath ${shell pwd}/$(top_builddir)/Libraries/WebExtensions/.libs \ 694 $(no_undefined) \ 695 -avoid-version \ 696 -module 697 698 Libraries_WebExtensions_libWebExtensionTest_la_CPPFLAGS = \ 699 -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \ 700 -I$(top_builddir)/DerivedSources \ 701 -I$(top_builddir)/DerivedSources/WebKit2/webkit2extension/include \ 702 -DWEBKIT2_COMPILATION \ 703 $(webkit2gtk_tests_cppflags) 704 705 Libraries_WebExtensions_libWebExtensionTest_la_CXXFLAGS = \ 706 $(global_cxxflags) 707 708 Libraries_WebExtensions_libWebExtensionTest_la_CFLAGS = \ 709 $(global_cflags) 710 711 712 if ENABLE_WEBKIT2 713 noinst_LTLIBRARIES += Libraries/WebExtensions/libWebProcessTest.la 714 endif 715 716 Libraries_WebExtensions_libWebProcessTest_la_SOURCES = \ 717 Tools/TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp \ 718 Tools/TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp \ 719 Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp \ 720 Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h 721 722 Libraries_WebExtensions_libWebProcessTest_la_LDFLAGS = \ 723 -rpath ${shell pwd}/$(top_builddir)/Libraries/WebExtensions/.libs \ 724 $(no_undefined) \ 725 -avoid-version \ 726 -module 727 728 Libraries_WebExtensions_libWebProcessTest_la_CPPFLAGS = \ 729 -I$(srcdir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \ 730 -I$(top_builddir)/DerivedSources \ 731 -I$(top_builddir)/DerivedSources/WebKit2/webkit2extension/include \ 732 -DWEBKIT2_COMPILATION \ 733 $(webkit2gtk_tests_cppflags) 734 735 Libraries_WebExtensions_libWebProcessTest_la_CXXFLAGS = \ 736 $(global_cxxflags) 737 738 Libraries_WebExtensions_libWebProcessTest_la_CFLAGS = \ 739 $(global_cflags) 740 741 742 Programs/TestWebKitAPI/WebKit2Gtk/resources/webkit2gtk-tests-resources.gresource: Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml) 743 $(AM_V_at)mkdir -p ${GENPROGRAMS}/TestWebKitAPI/WebKit2Gtk/resources 744 $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< 745 746 DISTCLEANFILES += \ 747 Programs/TestWebKitAPI/WebKit2Gtk/resources/webkit2gtk-tests-resources.gresource 748 749 noinst_DATA += \ 750 Programs/TestWebKitAPI/WebKit2Gtk/resources/webkit2gtk-tests-resources.gresource 751 752 753 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebContext_SOURCES = \ 754 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp 755 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebContext_CPPFLAGS = $(webkit2gtk_tests_cppflags) 756 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebContext_LDADD = $(webkit2gtk_tests_ldadd) 757 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebContext_LDFLAGS = $(webkit2gtk_tests_ldflags) 758 759 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebView_SOURCES = \ 760 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp 761 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebView_CPPFLAGS = $(webkit2gtk_tests_cppflags) 762 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebView_LDADD = $(webkit2gtk_tests_ldadd) 763 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebView_LDFLAGS = $(webkit2gtk_tests_ldflags) 764 765 Programs_TestWebKitAPI_WebKit2Gtk_TestLoaderClient_SOURCES = \ 766 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp 767 Programs_TestWebKitAPI_WebKit2Gtk_TestLoaderClient_CPPFLAGS = $(webkit2gtk_tests_cppflags) 768 Programs_TestWebKitAPI_WebKit2Gtk_TestLoaderClient_LDADD = $(webkit2gtk_tests_ldadd) 769 Programs_TestWebKitAPI_WebKit2Gtk_TestLoaderClient_LDFLAGS = $(webkit2gtk_tests_ldflags) 770 771 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitSettings_SOURCES = \ 772 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp 773 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitSettings_CPPFLAGS = $(webkit2gtk_tests_cppflags) 774 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitSettings_LDADD = $(webkit2gtk_tests_ldadd) 775 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitSettings_LDFLAGS = $(webkit2gtk_tests_ldflags) 776 777 Programs_TestWebKitAPI_WebKit2Gtk_InspectorTestServer_SOURCES = \ 778 Tools/TestWebKitAPI/Tests/WebKit2Gtk/InspectorTestServer.cpp 779 Programs_TestWebKitAPI_WebKit2Gtk_InspectorTestServer_CPPFLAGS = $(webkit2gtk_tests_cppflags) 780 Programs_TestWebKitAPI_WebKit2Gtk_InspectorTestServer_LDADD = $(webkit2gtk_tests_ldadd) 781 Programs_TestWebKitAPI_WebKit2Gtk_InspectorTestServer_LDFLAGS = $(webkit2gtk_tests_ldflags) 782 783 Programs_TestWebKitAPI_WebKit2Gtk_TestBackForwardList_SOURCES = \ 784 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp 785 Programs_TestWebKitAPI_WebKit2Gtk_TestBackForwardList_CPPFLAGS = $(webkit2gtk_tests_cppflags) 786 Programs_TestWebKitAPI_WebKit2Gtk_TestBackForwardList_LDADD = $(webkit2gtk_tests_ldadd) 787 Programs_TestWebKitAPI_WebKit2Gtk_TestBackForwardList_LDFLAGS = $(webkit2gtk_tests_ldflags) 788 789 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitPolicyClient_SOURCES = \ 790 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp 791 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitPolicyClient_CPPFLAGS = $(webkit2gtk_tests_cppflags) 792 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitPolicyClient_LDADD = $(webkit2gtk_tests_ldadd) 793 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitPolicyClient_LDFLAGS = $(webkit2gtk_tests_ldflags) 794 795 if HAVE_ATSPI2 796 Programs_TestWebKitAPI_WebKit2Gtk_AccessibilityTestServer_SOURCES = \ 797 Tools/TestWebKitAPI/Tests/WebKit2Gtk/AccessibilityTestServer.cpp 798 Programs_TestWebKitAPI_WebKit2Gtk_AccessibilityTestServer_CPPFLAGS = $(webkit2gtk_tests_cppflags) 799 Programs_TestWebKitAPI_WebKit2Gtk_AccessibilityTestServer_LDADD = $(webkit2gtk_tests_ldadd) 800 Programs_TestWebKitAPI_WebKit2Gtk_AccessibilityTestServer_LDFLAGS = $(webkit2gtk_tests_ldflags) 801 802 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitAccessibility_SOURCES = \ 803 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp 804 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitAccessibility_CPPFLAGS = $(webkit2gtk_tests_cppflags) $(ATSPI2_CFLAGS) 805 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitAccessibility_LDADD = $(webkit2gtk_tests_ldadd) $(ATSPI2_LIBS) 806 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitAccessibility_LDFLAGS = $(webkit2gtk_tests_ldflags) 807 endif 808 809 Programs_TestWebKitAPI_WebKit2Gtk_TestDownloads_SOURCES = \ 810 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp 811 Programs_TestWebKitAPI_WebKit2Gtk_TestDownloads_CPPFLAGS = $(webkit2gtk_tests_cppflags) 812 Programs_TestWebKitAPI_WebKit2Gtk_TestDownloads_LDADD = $(webkit2gtk_tests_ldadd) 813 Programs_TestWebKitAPI_WebKit2Gtk_TestDownloads_LDFLAGS = $(webkit2gtk_tests_ldflags) 814 815 Programs_TestWebKitAPI_WebKit2Gtk_TestWebViewEditor_SOURCES = \ 816 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp 817 Programs_TestWebKitAPI_WebKit2Gtk_TestWebViewEditor_CPPFLAGS = $(webkit2gtk_tests_cppflags) 818 Programs_TestWebKitAPI_WebKit2Gtk_TestWebViewEditor_LDADD = $(webkit2gtk_tests_ldadd) 819 Programs_TestWebKitAPI_WebKit2Gtk_TestWebViewEditor_LDFLAGS = $(webkit2gtk_tests_ldflags) 820 821 Programs_TestWebKitAPI_WebKit2Gtk_TestPrinting_SOURCES = \ 822 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp 823 Programs_TestWebKitAPI_WebKit2Gtk_TestPrinting_CPPFLAGS = $(webkit2gtk_tests_cppflags) $(GTK_UNIX_PRINTING_CFLAGS) 824 Programs_TestWebKitAPI_WebKit2Gtk_TestPrinting_LDADD = $(webkit2gtk_tests_ldadd) $(GTK_UNIX_PRINTING_LIBS) 825 Programs_TestWebKitAPI_WebKit2Gtk_TestPrinting_LDFLAGS = $(webkit2gtk_tests_ldflags) 826 827 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFaviconDatabase_SOURCES = \ 828 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp 829 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFaviconDatabase_CPPFLAGS = $(webkit2gtk_tests_cppflags) 830 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFaviconDatabase_LDADD = $(webkit2gtk_tests_ldadd) 831 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFaviconDatabase_LDFLAGS = $(webkit2gtk_tests_ldflags) 832 833 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFindController_SOURCES = \ 834 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp 835 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFindController_CPPFLAGS = $(webkit2gtk_tests_cppflags) 836 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFindController_LDADD = $(webkit2gtk_tests_ldadd) 837 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitFindController_LDFLAGS = $(webkit2gtk_tests_ldflags) 838 839 Programs_TestWebKitAPI_WebKit2Gtk_TestResources_SOURCES = \ 840 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp 841 Programs_TestWebKitAPI_WebKit2Gtk_TestResources_CPPFLAGS = $(webkit2gtk_tests_cppflags) 842 Programs_TestWebKitAPI_WebKit2Gtk_TestResources_LDADD = $(webkit2gtk_tests_ldadd) 843 Programs_TestWebKitAPI_WebKit2Gtk_TestResources_LDFLAGS = $(webkit2gtk_tests_ldflags) 844 845 Programs_TestWebKitAPI_WebKit2Gtk_TestCookieManager_SOURCES = \ 846 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp 847 Programs_TestWebKitAPI_WebKit2Gtk_TestCookieManager_CPPFLAGS = $(webkit2gtk_tests_cppflags) 848 Programs_TestWebKitAPI_WebKit2Gtk_TestCookieManager_LDADD = $(webkit2gtk_tests_ldadd) 849 Programs_TestWebKitAPI_WebKit2Gtk_TestCookieManager_LDFLAGS = $(webkit2gtk_tests_ldflags) 850 851 Programs_TestWebKitAPI_WebKit2Gtk_TestInspector_SOURCES = \ 852 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp 853 Programs_TestWebKitAPI_WebKit2Gtk_TestInspector_CPPFLAGS = \ 854 $(webkit2gtk_tests_cppflags) 855 Programs_TestWebKitAPI_WebKit2Gtk_TestInspector_LDADD = $(webkit2gtk_tests_ldadd) 856 Programs_TestWebKitAPI_WebKit2Gtk_TestInspector_LDFLAGS = $(webkit2gtk_tests_ldflags) 857 858 Programs_TestWebKitAPI_WebKit2Gtk_TestInspectorServer_SOURCES = \ 859 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp 860 Programs_TestWebKitAPI_WebKit2Gtk_TestInspectorServer_CPPFLAGS = $(webkit2gtk_tests_cppflags) 861 Programs_TestWebKitAPI_WebKit2Gtk_TestInspectorServer_LDADD = $(webkit2gtk_tests_ldadd) 862 Programs_TestWebKitAPI_WebKit2Gtk_TestInspectorServer_LDFLAGS = $(webkit2gtk_tests_ldflags) 863 864 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitVersion_SOURCES = \ 865 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitVersion.cpp 866 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitVersion_CPPFLAGS = $(webkit2gtk_tests_cppflags) 867 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitVersion_LDADD = $(webkit2gtk_tests_ldadd) 868 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitVersion_LDFLAGS = $(webkit2gtk_tests_ldflags) 869 870 Programs_TestWebKitAPI_WebKit2Gtk_TestContextMenu_SOURCES = \ 871 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp 872 Programs_TestWebKitAPI_WebKit2Gtk_TestContextMenu_CPPFLAGS = $(webkit2gtk_tests_cppflags) 873 Programs_TestWebKitAPI_WebKit2Gtk_TestContextMenu_LDADD = $(webkit2gtk_tests_ldadd) 874 Programs_TestWebKitAPI_WebKit2Gtk_TestContextMenu_LDFLAGS = $(webkit2gtk_tests_ldflags) 875 876 Programs_TestWebKitAPI_WebKit2Gtk_TestSSL_SOURCES = \ 877 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp 878 Programs_TestWebKitAPI_WebKit2Gtk_TestSSL_CPPFLAGS = $(webkit2gtk_tests_cppflags) 879 Programs_TestWebKitAPI_WebKit2Gtk_TestSSL_LDADD = $(webkit2gtk_tests_ldadd) 880 Programs_TestWebKitAPI_WebKit2Gtk_TestSSL_LDFLAGS = $(webkit2gtk_tests_ldflags) 881 882 Programs_TestWebKitAPI_WebKit2Gtk_TestWebExtensions_SOURCES = \ 883 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp 884 Programs_TestWebKitAPI_WebKit2Gtk_TestWebExtensions_CPPFLAGS = $(webkit2gtk_tests_cppflags) 885 Programs_TestWebKitAPI_WebKit2Gtk_TestWebExtensions_LDADD = $(webkit2gtk_tests_ldadd) 886 Programs_TestWebKitAPI_WebKit2Gtk_TestWebExtensions_LDFLAGS = $(webkit2gtk_tests_ldflags) 887 888 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebViewGroup_SOURCES = \ 889 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp 890 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebViewGroup_CPPFLAGS = $(webkit2gtk_tests_cppflags) 891 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebViewGroup_LDADD = $(webkit2gtk_tests_ldadd) 892 Programs_TestWebKitAPI_WebKit2Gtk_TestWebKitWebViewGroup_LDFLAGS = $(webkit2gtk_tests_ldflags) 893 894 Programs_TestWebKitAPI_WebKit2Gtk_TestDOMNode_SOURCES = \ 895 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp 896 Programs_TestWebKitAPI_WebKit2Gtk_TestDOMNode_CPPFLAGS = $(webkit2gtk_tests_cppflags) 897 Programs_TestWebKitAPI_WebKit2Gtk_TestDOMNode_LDADD = $(webkit2gtk_tests_ldadd) 898 Programs_TestWebKitAPI_WebKit2Gtk_TestDOMNode_LDFLAGS = $(webkit2gtk_tests_ldflags) 899 900 Programs_TestWebKitAPI_WebKit2Gtk_TestFrame_SOURCES = \ 901 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp 902 Programs_TestWebKitAPI_WebKit2Gtk_TestFrame_CPPFLAGS = $(webkit2gtk_tests_cppflags) 903 Programs_TestWebKitAPI_WebKit2Gtk_TestFrame_LDADD = $(webkit2gtk_tests_ldadd) 904 Programs_TestWebKitAPI_WebKit2Gtk_TestFrame_LDFLAGS = $(webkit2gtk_tests_ldflags) 905 906 Programs_TestWebKitAPI_WebKit2Gtk_TestAuthentication_SOURCES = \ 907 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp 908 Programs_TestWebKitAPI_WebKit2Gtk_TestAuthentication_CPPFLAGS = $(webkit2gtk_tests_cppflags) 909 Programs_TestWebKitAPI_WebKit2Gtk_TestAuthentication_LDADD = $(webkit2gtk_tests_ldadd) 910 Programs_TestWebKitAPI_WebKit2Gtk_TestAuthentication_LDFLAGS = $(webkit2gtk_tests_ldflags) 911 912 Programs_TestWebKitAPI_WebKit2Gtk_TestUIClient_SOURCES = \ 913 Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp 914 Programs_TestWebKitAPI_WebKit2Gtk_TestUIClient_CPPFLAGS = $(webkit2gtk_tests_cppflags) 915 Programs_TestWebKitAPI_WebKit2Gtk_TestUIClient_LDADD = $(webkit2gtk_tests_ldadd) 916 Programs_TestWebKitAPI_WebKit2Gtk_TestUIClient_LDFLAGS = $(webkit2gtk_tests_ldflags) 917 918 919 stamp-testwebkitapi-webcore-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_TestWebKitAPI_WebCore_TestWebCore_SOURCES) 361 920 $(AM_V_GEN)$(PERL) $< $(srcdir)/Tools/TestWebKitAPI/Tests/WebCore $(GENSOURCES_WEBCORE)/include gtk \ 362 921 && echo timestamp > $(@F) 363 922 364 stamp-testwebkitapi-webkit2-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_TestWebKitAPI_ TestWebKit2_SOURCES) $(Libraries_libTestWebKitAPIInjectedBundle_la_SOURCES)923 stamp-testwebkitapi-webkit2-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_TestWebKitAPI_WebKit2_TestWebKit2_SOURCES) $(Libraries_libTestWebKitAPIInjectedBundle_la_SOURCES) 365 924 $(AM_V_GEN)$(PERL) $< $(srcdir)/Tools/TestWebKitAPI $(GENSOURCES_WEBKIT2)/include gtk \ 366 925 && echo timestamp > $(@F) … … 387 946 Tools/TestWebKitAPI/Tests/WebKit2/simple-iframe.html \ 388 947 Tools/TestWebKitAPI/Tests/WebKit2/simple-tall.html \ 389 Tools/TestWebKitAPI/Tests/WebKit2/spacebar-scrolling.html 948 Tools/TestWebKitAPI/Tests/WebKit2/spacebar-scrolling.html \ 949 Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-cert.pem \ 950 Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-key.pem \ 951 Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml \ 952 Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js \ 953 Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h \ 954 Tools/TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico \ 955 Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html \ 956 Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg \ 957 Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf \ 958 Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/AccessibilityTestServer.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 39 39 WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new()); 40 40 webkit_web_view_load_html(webView, 41 42 43 44 45 46 47 48 41 "<html>" 42 " <body>" 43 " <h1>This is a test</h1>" 44 " <p>This is a paragraph with some plain text.</p>" 45 " <p>This paragraph contains <a href=\"http://www.webkitgtk.org\">a link</a> in the middle.</p>" 46 " </body>" 47 "</html>", 48 0); 49 49 50 50 GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt
r161365 r161366 1 set(TEST_LIBRARY_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/WebKit2GObjectAPITests) 2 set(TEST_RESOURCES_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/resources) 1 set(TEST_LIBRARY_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/WebKit2GtkAPITests) 2 set(TEST_BINARY_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestWebKitAPI/WebKit2Gtk) 3 set(TEST_RESOURCES_DIR ${TEST_BINARY_DIR}/resources) 3 4 file(MAKE_DIRECTORY ${TEST_RESOURCES_DIR}) 4 5 … … 20 21 ${FORWARDING_HEADERS_WEBKIT2GTK_DIR} 21 22 ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR} 23 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk 22 24 ${ATSPI_INCLUDE_DIRS} 23 25 ${GLIB_INCLUDE_DIRS} … … 27 29 28 30 add_library(WebKit2APITestCore STATIC 29 LoadTrackingTest.cpp30 WebKitTestBus.cpp31 WebKitTestServer.cpp32 WebProcessTestRunner.cpp33 TestMain.cpp34 WebViewTest.cpp31 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp 32 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp 33 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp 34 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp 35 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp 36 ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp 35 37 ) 36 37 38 target_link_libraries(WebKit2APITestCore WebKit2) 38 39 … … 40 41 DEPENDS resources/webkit2gtk-tests.gresource.xml 41 42 resources/link-title.js 42 COMMAND glib-compile-resources --target=${TEST_RESOURCES_DIR}/webkit2gtk-tests-resources.gresource --sourcedir=${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml 43 COMMAND glib-compile-resources 44 --target=${TEST_RESOURCES_DIR}/webkit2gtk-tests-resources.gresource 45 --sourcedir=${CMAKE_SOURCE_DIR} 46 ${CMAKE_CURRENT_LIST_DIR}/resources/webkit2gtk-tests.gresource.xml 43 47 ) 44 48 … … 72 76 ) 73 77 set_target_properties(${test_name} PROPERTIES 74 RUNTIME_OUTPUT_DIRECTORY ${ CMAKE_RUNTIME_OUTPUT_DIRECTORY}/WebKit2GObjectAPITests78 RUNTIME_OUTPUT_DIRECTORY ${TEST_BINARY_DIR} 75 79 ) 76 80 endmacro() -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/InspectorTestServer.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 80 80 { 81 81 // Prepare argv[] for spawning the server process. 82 GOwnPtr<char> testServerPath(g_build_filename(WEBKIT_EXEC_PATH, " WebKit2GObjectAPITests", gTestServerAppName, NULL));82 GOwnPtr<char> testServerPath(g_build_filename(WEBKIT_EXEC_PATH, "TestWebKitAPI", "WebKit2Gtk", gTestServerAppName, NULL)); 83 83 84 84 // We install a handler to ensure that we kill the child process -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 121 121 122 122 GRefPtr<WebKitPrintOperation> m_printOperation; 123 unsigned intm_expectedError;123 unsigned m_expectedError; 124 124 }; 125 125 … … 147 147 test->waitUntilPrintFinished(); 148 148 149 GRefPtr<GFileInfo> fileInfo = adoptGRef(g_file_query_info(outputFile.get(), G_FILE_ATTRIBUTE_STANDARD_SIZE "," G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE, 150 static_cast<GFileQueryInfoFlags>(0), 0, 0)); 149 GRefPtr<GFileInfo> fileInfo = adoptGRef(g_file_query_info(outputFile.get(), 150 G_FILE_ATTRIBUTE_STANDARD_SIZE "," G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE, 151 static_cast<GFileQueryInfoFlags>(0), 0, 0)); 151 152 g_assert(fileInfo.get()); 152 153 g_assert_cmpint(g_file_info_get_size(fileInfo.get()), >, 0); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 257 257 , m_resourceDataReceived(0) 258 258 { 259 259 m_resourcesToLoad = 2; 260 260 } 261 261 -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 136 136 gulong scriptDialogID = g_signal_connect(test->m_webView, "script-dialog", G_CALLBACK(scriptDialogCallback), &result.outPtr()); 137 137 138 static const char *mainWorldScript =138 static const char* mainWorldScript = 139 139 "top.foo = 'Foo';\n" 140 140 "document.getElementById('console').innerHTML = top.foo;\n" … … 150 150 g_assert_cmpstr(valueString.get(), ==, "Foo"); 151 151 152 static const char *isolatedWorldScript =152 static const char* isolatedWorldScript = 153 153 "document.getElementById('console').innerHTML = top.foo;\n" 154 154 "window.open = function () { alert('Isolated World'); }\n" -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 88 88 { 89 89 // Prepare argv[] for spawning the server process. 90 GOwnPtr<char> testServerPath(g_build_filename(WEBKIT_EXEC_PATH, " WebKit2GObjectAPITests", kTestServerAppName, NULL));90 GOwnPtr<char> testServerPath(g_build_filename(WEBKIT_EXEC_PATH, "TestWebKitAPI", "WebKit2Gtk", kTestServerAppName, NULL)); 91 91 92 92 char* testServerArgv[2]; … … 97 97 // communication channel, so we know when it's ready. 98 98 int childStdout = 0; 99 if (!g_spawn_async_with_pipes(0, testServerArgv, 0, static_cast<GSpawnFlags>(0), 0, 0, 100 &kChildProcessPid, 0, &childStdout, 0, 0)) { 99 if (!g_spawn_async_with_pipes(0, testServerArgv, 0, static_cast<GSpawnFlags>(0), 0, 0, &kChildProcessPid, 0, &childStdout, 0, 0)) { 101 100 close(childStdout); 102 101 return; -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp
r161365 r161366 279 279 void testWebKitSettingsNewWithSettings(Test* test, gconstpointer) 280 280 { 281 GRefPtr<WebKitSettings> settings = adoptGRef(webkit_settings_new_with_settings("enable-javascript", FALSE, 282 "auto-load-images", FALSE, 283 "load-icons-ignoring-image-load-setting", TRUE, 284 NULL)); 281 GRefPtr<WebKitSettings> settings = adoptGRef(webkit_settings_new_with_settings( 282 "enable-javascript", FALSE, 283 "auto-load-images", FALSE, 284 "load-icons-ignoring-image-load-setting", TRUE, 285 nullptr)); 285 286 test->assertObjectIsDeletedWhenTestFinishes(G_OBJECT(settings.get())); 286 287 g_assert(!webkit_settings_get_enable_javascript(settings.get())); -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitVersion.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 401 401 webkit_security_manager_register_uri_scheme_as_cors_enabled(test->m_manager, "foo"); 402 402 test->verifyThatSchemeMatchesPolicy("foo", SecurityPolicyTest::Local | SecurityPolicyTest::NoAccess | SecurityPolicyTest::DisplayIsolated | SecurityPolicyTest::Secure 403 403 | SecurityPolicyTest::CORSEnabled); 404 404 webkit_security_manager_register_uri_scheme_as_empty_document(test->m_manager, "foo"); 405 405 test->verifyThatSchemeMatchesPolicy("foo", SecurityPolicyTest::Local | SecurityPolicyTest::NoAccess | SecurityPolicyTest::DisplayIsolated | SecurityPolicyTest::Secure 406 406 | SecurityPolicyTest::CORSEnabled | SecurityPolicyTest::EmptyDocument); 407 407 } 408 408 -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp
r161365 r161366 387 387 { 388 388 test->loadHtml("<html>" 389 390 391 392 393 394 395 396 389 "<body>" 390 " <p>A paragraph with plain text</p>" 391 " <p>" 392 " A red box: <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AYWDTMVwnSZnwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAFklEQVQI12P8z8DAwMDAxMDAwMDAAAANHQEDK+mmyAAAAABJRU5ErkJggg=='></br>" 393 " A blue box: <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AYWDTMvBHhALQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAFklEQVQI12Nk4PnPwMDAxMDAwMDAAAALrwEPPIs1pgAAAABJRU5ErkJggg=='>" 394 " </p>" 395 "</body>" 396 "</html>", 0); 397 397 test->waitUntilLoadFinished(); 398 398 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 82 82 GRefPtr<WebKitWebViewGroup> viewGroup1 = adoptGRef(webkit_web_view_group_new("TestGroup1")); 83 83 test->assertObjectIsDeletedWhenTestFinishes(G_OBJECT(viewGroup1.get())); 84 GRefPtr<WebKitSettings> newSettings = adoptGRef(webkit_settings_new_with_settings("enable-javascript", FALSE, NULL));84 GRefPtr<WebKitSettings> newSettings = adoptGRef(webkit_settings_new_with_settings("enable-javascript", FALSE, nullptr)); 85 85 test->assertObjectIsDeletedWhenTestFinishes(G_OBJECT(newSettings.get())); 86 86 webkit_web_view_group_set_settings(viewGroup1.get(), newSettings.get()); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 26 26 MAKE_GLIB_TEST_FIXTURE(EditorTest); 27 27 28 static const unsigned intkClipboardWaitTimeout = 50;29 static const unsigned intkClipboardWaitMaxTries = 2;28 static const unsigned kClipboardWaitTimeout = 50; 29 static const unsigned kClipboardWaitMaxTries = 2; 30 30 31 31 EditorTest() -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 211 211 JSEvaluateScript(jsContext, jsScript.get(), 0, 0, 0, 0); 212 212 g_dbus_method_invocation_return_value(invocation, 0); 213 } else if (!g_strcmp0(methodName, "AbortProcess")) {213 } else if (!g_strcmp0(methodName, "AbortProcess")) 214 214 abort(); 215 }216 215 } 217 216 … … 222 221 static void busAcquiredCallback(GDBusConnection* connection, const char* name, gpointer userData) 223 222 { 224 static GDBusNodeInfo *introspectionData = 0;223 static GDBusNodeInfo* introspectionData = 0; 225 224 if (!introspectionData) 226 225 introspectionData = g_dbus_node_info_new_for_xml(introspectionXML, 0); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 77 77 static void busAcquiredCallback(GDBusConnection* connection, const char* name, gpointer userData) 78 78 { 79 static GDBusNodeInfo *introspectionData = 0;79 static GDBusNodeInfo* introspectionData = 0; 80 80 if (!introspectionData) 81 81 introspectionData = g_dbus_node_info_new_for_xml(introspectionXML, 0); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml
-
Property
svn:eol-style
set to
LF
r161365 r161366 2 2 <gresources> 3 3 <gresource prefix="/org/webkit/webkit2gtk/tests/"> 4 <file alias="link-title.js"> Source/WebKit2/UIProcess/API/gtk/tests/resources/link-title.js</file>4 <file alias="link-title.js">Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js</file> 5 5 </gresource> 6 6 </gresources> -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt
r161365 r161366 25 25 ) 26 26 set_target_properties(${test_name} PROPERTIES 27 RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ WebKit1GObjectAPITests27 RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestWebKitAPI/WebKitGtk 28 28 ) 29 29 endmacro() -
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf
-
Property
svn:mime-type
set to
application/pdf
-
Property
svn:mime-type
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h
-
Property
svn:eol-style
changed from
native
toLF
-
Property
svn:eol-style
changed from
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c
-
Property
svn:eol-style
set to
LF
r161365 r161366 247 247 248 248 /* This hopefully makes the test independent of the path it's called from. */ 249 testutils_relative_chdir(" Source/WebKit/gtk/tests/resources/test.html", argv[0]);249 testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]); 250 250 251 251 SoupServer *server = soup_server_new(SOUP_SERVER_PORT, 0, NULL); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c
-
Property
svn:eol-style
set to
LF
r161365 r161366 179 179 180 180 /* Hopefully make test independent of the path it's called from. */ 181 testutils_relative_chdir(" Source/WebKit/gtk/tests/resources/test.html", argv[0]);181 testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]); 182 182 183 183 server = soup_server_new(SOUP_SERVER_PORT, 0, NULL); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c
-
Property
svn:eol-style
set to
LF
r161365 r161366 717 717 718 718 /* Hopefully make test independent of the path it's called from. */ 719 testutils_relative_chdir(" Source/WebKit/gtk/tests/resources/test.html", argv[0]);719 testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]); 720 720 721 721 server = soup_server_new(SOUP_SERVER_PORT, 0, NULL); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 31 31 static void registerGResource(void) 32 32 { 33 GOwnPtr<char> resourcesPath(g_build_filename(WEBKIT_EXEC_PATH, " resources", "webkit2gtk-tests-resources.gresource", NULL));33 GOwnPtr<char> resourcesPath(g_build_filename(WEBKIT_EXEC_PATH, "TestWebKitAPI", "WebKit2Gtk", "resources", "webkit2gtk-tests-resources.gresource", NULL)); 34 34 GResource* resource = g_resource_load(resourcesPath.get(), 0); 35 35 g_assert(resource); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h
r161365 r161366 43 43 44 44 #define ASSERT_CMP_CSTRING(s1, cmp, s2) \ 45 do { CString __s1 = (s1); CString __s2 = (s2); \ 46 if (g_strcmp0(__s1.data(), __s2.data()) cmp 0) ; else \ 47 g_assertion_message_cmpstr(G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ 48 #s1 " " #cmp " " #s2, __s1.data(), #cmp, __s2.data()); } while (0) 45 do { \ 46 CString __s1 = (s1); \ 47 CString __s2 = (s2); \ 48 if (g_strcmp0(__s1.data(), __s2.data()) cmp 0) ; \ 49 else \ 50 g_assertion_message_cmpstr(G_LOG_DOMAIN, __FILE__, __LINE__, \ 51 G_STRFUNC, #s1 " " #cmp " " #s2, __s1.data(), #cmp, __s2.data()); \ 52 } while (0) 53 49 54 50 55 class Test { … … 79 84 static CString getWebKit1TestResoucesDir() 80 85 { 81 GOwnPtr<char> resourcesDir(g_build_filename(WEBKIT_SRC_DIR, " Source", "WebKit", "gtk", "tests", "resources", NULL));86 GOwnPtr<char> resourcesDir(g_build_filename(WEBKIT_SRC_DIR, "Tools", "TestWebKitAPI", "Tests", "WebKitGtk", "resources", NULL)); 82 87 return resourcesDir.get(); 83 88 } … … 85 90 static CString getResourcesDir() 86 91 { 87 GOwnPtr<char> resourcesDir(g_build_filename(WEBKIT_SRC_DIR, " Source", "WebKit2", "UIProcess", "API", "gtk", "tests", "resources", NULL));92 GOwnPtr<char> resourcesDir(g_build_filename(WEBKIT_SRC_DIR, "Tools", "TestWebKitAPI", "Tests", "WebKit2Gtk", "resources", NULL)); 88 93 return resourcesDir.get(); 89 94 } -
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp
-
Property
svn:eol-style
set to
LF
r161365 r161366 38 38 39 39 m_soupServer = adoptGRef(soup_server_new(SOUP_SERVER_INTERFACE, address.get(), 40 41 SOUP_SERVER_SSL_KEY_FILE, sslKeyFile.get(), NULL));40 SOUP_SERVER_SSL_CERT_FILE, sslCertificateFile.get(), 41 SOUP_SERVER_SSL_KEY_FILE, sslKeyFile.get(), nullptr)); 42 42 m_baseURI = type == ServerHTTPS ? soup_uri_new("https://127.0.0.1/") : soup_uri_new("http://127.0.0.1/"); 43 43 soup_uri_set_port(m_baseURI, soup_server_get_port(m_soupServer.get())); -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h
-
Property
svn:eol-style
set to
LF
r161365 r161366 34 34 }; 35 35 36 WebKitTestServer(ServerType type= ServerHTTP);36 WebKitTestServer(ServerType = ServerHTTP); 37 37 virtual ~WebKitTestServer(); 38 38 -
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.h
-
Property
svn:eol-style
set to
LF
-
Property
svn:eol-style
set to
-
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp
r161365 r161366 243 243 } 244 244 245 void WebViewTest::mouseMoveTo(int x, int y, unsigned intmouseModifiers)245 void WebViewTest::mouseMoveTo(int x, int y, unsigned mouseModifiers) 246 246 { 247 247 g_assert(m_parentWindow); … … 267 267 } 268 268 269 void WebViewTest::clickMouseButton(int x, int y, unsigned int button, unsigned intmouseModifiers)269 void WebViewTest::clickMouseButton(int x, int y, unsigned button, unsigned mouseModifiers) 270 270 { 271 271 doMouseButtonEvent(GDK_BUTTON_PRESS, x, y, button, mouseModifiers); … … 273 273 } 274 274 275 void WebViewTest::keyStroke(unsigned int keyVal, unsigned intkeyModifiers)275 void WebViewTest::keyStroke(unsigned keyVal, unsigned keyModifiers) 276 276 { 277 277 g_assert(m_parentWindow); … … 299 299 } 300 300 301 void WebViewTest::doMouseButtonEvent(GdkEventType eventType, int x, int y, unsigned int button, unsigned intmouseModifiers)301 void WebViewTest::doMouseButtonEvent(GdkEventType eventType, int x, int y, unsigned button, unsigned mouseModifiers) 302 302 { 303 303 g_assert(m_parentWindow); -
trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h
r161365 r161366 53 53 const char* mainResourceData(size_t& mainResourceDataSize); 54 54 55 void mouseMoveTo(int x, int y, unsigned intmouseModifiers = 0);56 void clickMouseButton(int x, int y, unsigned int button = 1, unsigned intmouseModifiers = 0);57 void keyStroke(unsigned int keyVal, unsigned intkeyModifiers = 0);55 void mouseMoveTo(int x, int y, unsigned mouseModifiers = 0); 56 void clickMouseButton(int x, int y, unsigned button = 1, unsigned mouseModifiers = 0); 57 void keyStroke(unsigned keyVal, unsigned keyModifiers = 0); 58 58 59 59 WebKitJavascriptResult* runJavaScriptAndWaitUntilFinished(const char* javascript, GError**); … … 81 81 82 82 private: 83 void doMouseButtonEvent(GdkEventType, int, int, unsigned int, unsigned int);83 void doMouseButtonEvent(GdkEventType, int, int, unsigned, unsigned); 84 84 }; 85 85
Note: See TracChangeset
for help on using the changeset viewer.