Remove unnecessary repetition of initializing feedback library.
[framework/web/webkit-efl.git] / Tools / TestWebKitAPI / PlatformEfl.cmake
1 ADD_CUSTOM_TARGET(forwarding-headersEflForTestWebKitAPI
2     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${TESTWEBKITAPI_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
3 )
4 SET(ForwardingHeadersForTestWebKitAPI_NAME forwarding-headersEflForTestWebKitAPI)
5
6 ADD_CUSTOM_TARGET(forwarding-headersSoupForTestWebKitAPI
7     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${TESTWEBKITAPI_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
8 )
9 SET(ForwardingNetworkHeadersForTestWebKitAPI_NAME forwarding-headersSoupForTestWebKitAPI)
10
11 INCLUDE_DIRECTORIES(
12     ${WEBKIT2_DIR}/UIProcess/API/C/soup
13     ${WEBKIT2_DIR}/UIProcess/API/C/efl
14     ${ECORE_INCLUDE_DIRS}
15     ${EINA_INCLUDE_DIRS}
16     ${EVAS_INCLUDE_DIRS}
17     ${GLIB_INCLUDE_DIRS}
18     ${LIBSOUP_INCLUDE_DIRS}
19 )
20
21 SET(test_main_SOURCES
22     ${TESTWEBKITAPI_DIR}/efl/main.cpp
23 )
24
25 SET(bundle_harness_SOURCES
26     ${TESTWEBKITAPI_DIR}/efl/InjectedBundleController.cpp
27     ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
28 )
29
30 SET(webkit2_api_harness_SOURCES
31     ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
32     ${TESTWEBKITAPI_DIR}/efl/PlatformWebView.cpp
33 )
34
35 # The list below works like a test expectation. Tests in the
36 # test_webkit2_api_BINARIES list are added to the test runner and
37 # tried on the bots on every build. Tests in test_webkit2_api_fail_BINARIES
38 # are compiled and suffixed with fail and skipped from the test runner.
39 #
40 # Make sure that the tests are passing on both Debug and
41 # Release builds before adding it to test_webkit2_api_BINARIES.
42
43 SET(test_webkit2_api_BINARIES
44     CookieManager
45     DOMWindowExtensionNoCache
46     DocumentStartUserScriptAlertCrash
47     EvaluateJavaScript
48     FailedLoad
49     Find
50     ForceRepaint
51     FrameMIMETypeHTML
52     FrameMIMETypePNG
53     GetInjectedBundleInitializationUserDataCallback
54     InjectedBundleBasic
55     InjectedBundleInitializationUserDataCallbackWins
56     LoadAlternateHTMLStringWithNonDirectoryURL
57     LoadCanceledNoServerRedirectCallback
58     NewFirstVisuallyNonEmptyLayout
59     NewFirstVisuallyNonEmptyLayoutFails
60     PageLoadBasic
61     PageLoadDidChangeLocationWithinPageForFrame
62     ParentFrame
63     PreventEmptyUserAgent
64     PrivateBrowsingPushStateNoHistoryCallback
65     WKConnection
66     WKString
67     WKStringJSString
68     WillSendSubmitEvent
69 )
70
71 SET(test_webkit2_api_fail_BINARIES
72     CanHandleRequest
73     DOMWindowExtensionBasic
74     DownloadDecideDestinationCrash
75     NewFirstVisuallyNonEmptyLayoutForImages
76     NewFirstVisuallyNonEmptyLayoutFrames
77     RestoreSessionStateContainingFormData
78     ShouldGoToBackForwardListItem
79     WKPageGetScaleFactorNotZero
80 )
81
82 # Tests disabled because of missing features on the test harness:
83 #
84 #   AboutBlankLoad
85 #   HitTestResultNodeHandle
86 #   MouseMoveAfterCrash
87 #   ResponsivenessTimerDoesntFireEarly
88 #   SpacebarScrolling
89 #   WKPreferences
90 #
91 # Flaky test, fails on Release but passes on Debug:
92 #
93 #   UserMessage