blob: fa6de9ef5df58001dee354331bde2ab13e45a2ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
include(../../util/util.cmake)
include(../../httpserver/httpserver.cmake)
qt_internal_add_test(tst_qwebengineurlrequestinterceptor
SOURCES
tst_qwebengineurlrequestinterceptor.cpp
LIBRARIES
Qt::WebEngineWidgets
Test::HttpServer
Test::Util
)
set(tst_qwebengineurlrequestinterceptor_resource_files
"resources/content.html"
"resources/favicon.html"
"resources/firstparty.html"
"resources/fontawesome.woff"
"resources/icons/favicon.png"
"resources/iframe.html"
"resources/iframe2.html"
"resources/iframe3.html"
"resources/image.html"
"resources/image_in_iframe.html"
"resources/index.html"
"resources/media.html"
"resources/media.mp4"
"resources/media_in_iframe.html"
"resources/resource.html"
"resources/resource_in_iframe.html"
"resources/script.js"
"resources/style.css"
"resources/sw.html"
"resources/sw.js"
)
qt_add_resource(tst_qwebengineurlrequestinterceptor "tst_qwebengineurlrequestinterceptor"
PREFIX
"/"
FILES
${tst_qwebengineurlrequestinterceptor_resource_files}
)
|