Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show All 31 Lines | |||||
32 | ) | 32 | ) | ||
33 | 33 | | |||
34 | set(falkon_autotests_SRCS passwordbackendtest.cpp) | 34 | set(falkon_autotests_SRCS passwordbackendtest.cpp) | ||
35 | include_directories(${OPENSSL_INCLUDE_DIR}) | 35 | include_directories(${OPENSSL_INCLUDE_DIR}) | ||
36 | falkon_tests( | 36 | falkon_tests( | ||
37 | databasepasswordbackendtest | 37 | databasepasswordbackendtest | ||
38 | databaseencryptedpasswordbackendtest | 38 | databaseencryptedpasswordbackendtest | ||
39 | ) | 39 | ) | ||
40 | | ||||
41 | set(falkon_autotests_SRCS | ||||
42 | qml/qmltestitem.cpp | ||||
43 | qml/qmltesthelper.cpp | ||||
44 | ) | ||||
45 | | ||||
46 | macro(falkon_qml_tests) | ||||
47 | foreach(_testname ${ARGN}) | ||||
48 | add_executable(${_testname} qml/${_testname}.cpp ${falkon_autotests_SRCS}) | ||||
49 | target_link_libraries(${_testname} Qt5::Test FalkonPrivate) | ||||
50 | add_test(NAME falkon-qml-${_testname} COMMAND ${_testname}) | ||||
51 | ecm_mark_as_test(${_testname}) | ||||
52 | set_tests_properties(falkon-qml-${_testname} PROPERTIES RUN_SERIAL TRUE) | ||||
53 | endforeach(_testname) | ||||
54 | endmacro() | ||||
55 | | ||||
56 | falkon_qml_tests( | ||||
57 | qmlbookmarksapitest | ||||
58 | qmltopsitesapitest | ||||
59 | qmlhistoryapitest | ||||
60 | qmlcookiesapitest | ||||
61 | qmlclipboardapitest | ||||
62 | qmltabsapitest | ||||
63 | qmlwindowsapitest | ||||
64 | qmluserscriptapitest | ||||
65 | ) |