PlatformEfl.cmake 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. add_custom_target(forwarding-headersEflForTestWebKitAPI
  2. COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
  3. COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include CoordinatedGraphics
  4. COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${TESTWEBKITAPI_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
  5. )
  6. set(ForwardingHeadersForTestWebKitAPI_NAME forwarding-headersEflForTestWebKitAPI)
  7. add_custom_target(forwarding-headersSoupForTestWebKitAPI
  8. COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
  9. COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${TESTWEBKITAPI_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
  10. )
  11. set(ForwardingNetworkHeadersForTestWebKitAPI_NAME forwarding-headersSoupForTestWebKitAPI)
  12. include_directories(
  13. ${WEBKIT2_DIR}/UIProcess/API/C/CoordinatedGraphics
  14. ${WEBKIT2_DIR}/UIProcess/API/C/soup
  15. ${WEBKIT2_DIR}/UIProcess/API/C/efl
  16. ${WEBKIT2_DIR}/UIProcess/API/efl
  17. ${ECORE_EVAS_INCLUDE_DIRS}
  18. ${ECORE_INCLUDE_DIRS}
  19. ${EINA_INCLUDE_DIRS}
  20. ${EO_INCLUDE_DIRS}
  21. ${EVAS_INCLUDE_DIRS}
  22. ${GLIB_INCLUDE_DIRS}
  23. ${LIBSOUP_INCLUDE_DIRS}
  24. )
  25. set(test_main_SOURCES
  26. ${TESTWEBKITAPI_DIR}/efl/main.cpp
  27. )
  28. set(bundle_harness_SOURCES
  29. ${TESTWEBKITAPI_DIR}/efl/InjectedBundleController.cpp
  30. ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
  31. )
  32. set(webkit2_api_harness_SOURCES
  33. ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp
  34. ${TESTWEBKITAPI_DIR}/efl/PlatformWebView.cpp
  35. )
  36. # The list below works like a test expectation. Tests in the
  37. # test_{webkit2_api|webcore}_BINARIES list are added to the test runner and
  38. # tried on the bots on every build. Tests in test_{webkit2_api|webcore}_BINARIES
  39. # are compiled and suffixed with fail and skipped from the test runner.
  40. #
  41. # Make sure that the tests are passing on both Debug and
  42. # Release builds before adding it to test_{webkit2_api|webcore}_BINARIES.
  43. set(test_webcore_BINARIES
  44. LayoutUnit
  45. KURL
  46. )
  47. # In here we list the bundles that are used by our specific WK2 API Tests
  48. list(APPEND bundle_harness_SOURCES
  49. ${TESTWEBKITAPI_DIR}/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp
  50. )
  51. set(test_webkit2_api_BINARIES
  52. AboutBlankLoad
  53. CookieManager
  54. DOMWindowExtensionNoCache
  55. DocumentStartUserScriptAlertCrash
  56. EvaluateJavaScript
  57. FailedLoad
  58. Find
  59. ForceRepaint
  60. FrameMIMETypeHTML
  61. FrameMIMETypePNG
  62. GetInjectedBundleInitializationUserDataCallback
  63. HitTestResultNodeHandle
  64. InjectedBundleBasic
  65. InjectedBundleFrameHitTest
  66. InjectedBundleInitializationUserDataCallbackWins
  67. LoadAlternateHTMLStringWithNonDirectoryURL
  68. LoadCanceledNoServerRedirectCallback
  69. LoadPageOnCrash
  70. MouseMoveAfterCrash
  71. ReloadPageAfterCrash
  72. ResizeWindowAfterCrash
  73. NewFirstVisuallyNonEmptyLayout
  74. NewFirstVisuallyNonEmptyLayoutFails
  75. NewFirstVisuallyNonEmptyLayoutForImages
  76. PageLoadBasic
  77. PageLoadDidChangeLocationWithinPageForFrame
  78. ParentFrame
  79. PreventEmptyUserAgent
  80. PrivateBrowsingPushStateNoHistoryCallback
  81. UserMessage
  82. WKConnection
  83. WKPreferences
  84. WKString
  85. WKStringJSString
  86. WKURL
  87. WillSendSubmitEvent
  88. CoordinatedGraphics/WKViewUserViewportToContents
  89. efl/WKViewClientWebProcessCallbacks
  90. )
  91. # Seccomp filters is an internal API and its symbols
  92. # are not (and should not) be exposed by default. We
  93. # can only test it when building shared core.
  94. if (ENABLE_SECCOMP_FILTERS AND SHARED_CORE)
  95. list(APPEND test_webkit2_api_BINARIES
  96. SeccompFilters
  97. )
  98. endif ()
  99. set(test_webkit2_api_fail_BINARIES
  100. CanHandleRequest
  101. DOMWindowExtensionBasic
  102. DownloadDecideDestinationCrash
  103. NewFirstVisuallyNonEmptyLayoutFrames
  104. RestoreSessionStateContainingFormData
  105. ShouldGoToBackForwardListItem
  106. WKPageGetScaleFactorNotZero
  107. )
  108. # Tests disabled because of missing features on the test harness:
  109. #
  110. # ResponsivenessTimerDoesntFireEarly
  111. # SpacebarScrolling