1 add_custom_target(forwarding-headersEflForTestWebKitAPI
2 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl --include-path ${TESTWEBKITAPI_DIR} --output ${DERIVED_SOURCES_WEBKIT2_DIR}/include --platform efl --platform CoordinatedGraphics --platform soup
3 DEPENDS forwarding-headersEflForWebKit2
5 set(ForwardingHeadersForTestWebKitAPI_NAME forwarding-headersEflForTestWebKitAPI)
8 ${DERIVED_SOURCES_WEBKIT2_DIR}/include
10 ${WEBKIT2_DIR}/UIProcess/API/C/CoordinatedGraphics
11 ${WEBKIT2_DIR}/UIProcess/API/C/soup
12 ${WEBKIT2_DIR}/UIProcess/API/C/efl
13 ${WEBKIT2_DIR}/UIProcess/API/efl
14 ${ECORE_EVAS_INCLUDE_DIRS}
16 ${LIBSOUP_INCLUDE_DIRS}
20 ${TESTWEBKITAPI_DIR}/efl/main.cpp
23 set(bundle_harness_SOURCES
24 ${TESTWEBKITAPI_DIR}/efl/InjectedBundleController.cpp
25 ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
28 set(webkit2_api_harness_SOURCES
29 ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
30 ${TESTWEBKITAPI_DIR}/efl/PlatformWebView.cpp
33 list(APPEND test_wtf_LIBRARIES
37 list(APPEND test_webcore_LIBRARIES
41 list(APPEND TestJavaScriptCore_LIBRARIES
45 # The list below works like a test expectation. Tests in the
46 # test_{webkit2_api|webcore}_BINARIES list are added to the test runner and
47 # tried on the bots on every build. Tests in test_{webkit2_api|webcore}_BINARIES
48 # are compiled and suffixed with fail and skipped from the test runner.
50 # Make sure that the tests are passing on both Debug and
51 # Release builds before adding it to test_{webkit2_api|webcore}_BINARIES.
53 set(test_webcore_BINARIES
59 # In here we list the bundles that are used by our specific WK2 API Tests
60 list(APPEND bundle_harness_SOURCES
61 ${TESTWEBKITAPI_DIR}/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp
64 set(test_webkit2_api_BINARIES
68 DidAssociateFormControls
69 DOMWindowExtensionNoCache
70 DocumentStartUserScriptAlertCrash
77 GetInjectedBundleInitializationUserDataCallback
78 HitTestResultNodeHandle
80 InjectedBundleFrameHitTest
81 InjectedBundleInitializationUserDataCallbackWins
82 LoadAlternateHTMLStringWithNonDirectoryURL
83 LoadCanceledNoServerRedirectCallback
84 NewFirstVisuallyNonEmptyLayout
85 NewFirstVisuallyNonEmptyLayoutFails
86 NewFirstVisuallyNonEmptyLayoutForImages
88 PageLoadDidChangeLocationWithinPageForFrame
91 PrivateBrowsingPushStateNoHistoryCallback
92 ResponsivenessTimerDoesntFireEarly
93 ShouldGoToBackForwardListItem
100 CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward
101 CoordinatedGraphics/WKViewUserViewportToContents
102 efl/WKViewClientWebProcessCallbacks
106 set(test_webkit2_api_fail_BINARIES
108 DOMWindowExtensionBasic
109 DownloadDecideDestinationCrash
113 NewFirstVisuallyNonEmptyLayoutFrames
115 ResizeReversePaginatedWebView
116 ResizeWindowAfterCrash
117 RestoreSessionStateContainingFormData
118 ScrollPinningBehaviors
120 WKPageGetScaleFactorNotZero
124 if (ENABLE_SECCOMP_FILTERS)
125 list(APPEND test_webkit2_api_fail_BINARIES
130 # Tests disabled because of missing features on the test harness:
133 # CoordinatedGraphics/WKViewIsActiveSetIsActive