| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  | if (TARGET libclang)
 | 
					
						
							|  |  |  |   set(HAVE_LIBCLANG ON)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if (HAVE_LIBCLANG AND NOT QTC_CLANG_BUILDMODE_MATCH)
 | 
					
						
							|  |  |  |     message(STATUS "Disabling libclang tests due to build mode mismatch.")
 | 
					
						
							|  |  |  |     set(HAVE_LIBCLANG OFF)
 | 
					
						
							| 
									
										
										
										
											2020-11-18 09:08:55 +01:00
										 |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | find_package(Googletest MODULE)
 | 
					
						
							|  |  |  | find_package(GoogleBenchmark MODULE)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if (NOT Googletest_FOUND)
 | 
					
						
							|  |  |  |   message(STATUS "Googletest was not found. Please set GOOGLETEST_DIR (CMake or Environment) variable.")
 | 
					
						
							|  |  |  |   message(STATUS "Have a look at cmake/FindGoogletest.cmake file for more details.")
 | 
					
						
							|  |  |  |   message(STATUS "unittest module will be skipped.")
 | 
					
						
							|  |  |  |   return()
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-05 10:50:10 +01:00
										 |  |  | if (MSVC)
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
 | 
					
						
							|  |  |  | elseif (MINGW)
 | 
					
						
							|  |  |  |   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wa,-mbig-obj")
 | 
					
						
							| 
									
										
										
										
											2019-12-05 10:50:10 +01:00
										 |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-06 10:40:58 +01:00
										 |  |  | file(RELATIVE_PATH RELATIVE_TEST_PATH "${PROJECT_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
 | 
					
						
							|  |  |  | file(RELATIVE_PATH TEST_RELATIVE_LIBEXEC_PATH "/${RELATIVE_TEST_PATH}" "/${IDE_LIBEXEC_PATH}")
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | add_qtc_test(unittest GTEST | 
					
						
							|  |  |  |   INCLUDES
 | 
					
						
							|  |  |  |     BEFORE "../mockup"
 | 
					
						
							| 
									
										
										
										
											2020-07-23 17:10:54 +02:00
										 |  |  |     BEFORE "../mockup/qmldesigner/designercore/include"
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   DEPENDS
 | 
					
						
							|  |  |  |     Qt5::Core Qt5::Network Qt5::Widgets
 | 
					
						
							|  |  |  |     Qt5::Xml Qt5::Concurrent Qt5::Qml Qt5::Gui
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     Qt6Core5Compat QmlJS
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     Googletest
 | 
					
						
							|  |  |  |   DEFINES
 | 
					
						
							| 
									
										
										
										
											2020-06-11 16:25:51 +02:00
										 |  |  |     QT_NO_CAST_TO_ASCII
 | 
					
						
							|  |  |  |     QT_RESTRICTED_CAST_FROM_ASCII
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     UNIT_TESTS
 | 
					
						
							|  |  |  |     DONT_CHECK_MESSAGE_COUNTER
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |     QTC_RESOURCE_DIR="${CMAKE_CURRENT_LIST_DIR}/../../../share/qtcreator"
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     TESTDATA_DIR="${CMAKE_CURRENT_BINARY_DIR}/data"
 | 
					
						
							|  |  |  |     ECHOSERVER="$<TARGET_FILE_DIR:echo>/echo"
 | 
					
						
							| 
									
										
										
										
											2022-01-06 10:40:58 +01:00
										 |  |  |     TEST_RELATIVE_LIBEXEC_PATH="${TEST_RELATIVE_LIBEXEC_PATH}"
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   SOURCES
 | 
					
						
							| 
									
										
										
										
											2021-04-14 15:30:43 +02:00
										 |  |  |     abstractviewmock.h
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     clientserverinprocess-test.cpp
 | 
					
						
							|  |  |  |     clientserveroutsideprocess-test.cpp
 | 
					
						
							|  |  |  |     compare-operators.h
 | 
					
						
							|  |  |  |     conditionally-disabled-tests.h
 | 
					
						
							|  |  |  |     dummyclangipcclient.h
 | 
					
						
							|  |  |  |     dynamicastmatcherdiagnosticcontainer-matcher.h
 | 
					
						
							|  |  |  |     eventspy.cpp eventspy.h
 | 
					
						
							|  |  |  |     fakeprocess.cpp fakeprocess.h
 | 
					
						
							|  |  |  |     filesystem-utilities.h
 | 
					
						
							|  |  |  |     googletest.h
 | 
					
						
							|  |  |  |     google-using-declarations.h
 | 
					
						
							|  |  |  |     gtest-creator-printing.cpp gtest-creator-printing.h
 | 
					
						
							|  |  |  |     gtest-llvm-printing.h
 | 
					
						
							|  |  |  |     gtest-qt-printing.cpp gtest-qt-printing.h
 | 
					
						
							| 
									
										
										
										
											2020-06-10 13:50:35 +02:00
										 |  |  |     gtest-std-printing.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     lastchangedrowid-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     lineprefixer-test.cpp
 | 
					
						
							|  |  |  |     matchingtext-test.cpp
 | 
					
						
							|  |  |  |     mockclangcodemodelclient.h
 | 
					
						
							|  |  |  |     mockclangcodemodelserver.h
 | 
					
						
							|  |  |  |     mockfutureinterface.h
 | 
					
						
							|  |  |  |     mockmutex.h
 | 
					
						
							|  |  |  |     mockqfilesystemwatcher.h
 | 
					
						
							|  |  |  |     mockqueue.h
 | 
					
						
							|  |  |  |     mocksqlitestatement.h
 | 
					
						
							|  |  |  |     mocksqlitetransactionbackend.h
 | 
					
						
							|  |  |  |     mocksyntaxhighligher.h
 | 
					
						
							|  |  |  |     mocktimer.cpp mocktimer.h
 | 
					
						
							| 
									
										
										
										
											2021-04-14 15:30:43 +02:00
										 |  |  |     nodelistproperty-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     processcreator-test.cpp
 | 
					
						
							|  |  |  |     processevents-utilities.cpp processevents-utilities.h
 | 
					
						
							|  |  |  |     readandwritemessageblock-test.cpp
 | 
					
						
							|  |  |  |     rundocumentparse-utility.h
 | 
					
						
							|  |  |  |     sizedarray-test.cpp
 | 
					
						
							|  |  |  |     smallstring-test.cpp
 | 
					
						
							|  |  |  |     sourcerangecontainer-matcher.h
 | 
					
						
							|  |  |  |     spydummy.cpp spydummy.h
 | 
					
						
							| 
									
										
										
										
											2021-05-18 12:14:16 +02:00
										 |  |  |     sqlitealgorithms-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     sqliteindex-test.cpp
 | 
					
						
							|  |  |  |     sqliteteststatement.h
 | 
					
						
							|  |  |  |     sqlitetransaction-test.cpp
 | 
					
						
							|  |  |  |     unittests-main.cpp
 | 
					
						
							|  |  |  |     unittest-utility-functions.h
 | 
					
						
							|  |  |  |     utf8-test.cpp
 | 
					
						
							| 
									
										
										
										
											2020-04-27 20:01:38 +02:00
										 |  |  |     sqlitecolumn-test.cpp
 | 
					
						
							|  |  |  |     sqlitedatabasebackend-test.cpp
 | 
					
						
							|  |  |  |     sqlitedatabase-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     sqlitesessions-test.cpp
 | 
					
						
							| 
									
										
										
										
											2020-04-27 20:01:38 +02:00
										 |  |  |     sqlitestatement-test.cpp
 | 
					
						
							|  |  |  |     sqlitetable-test.cpp
 | 
					
						
							|  |  |  |     sqlstatementbuilder-test.cpp
 | 
					
						
							|  |  |  |     createtablesqlstatementbuilder-test.cpp
 | 
					
						
							|  |  |  |     sqlitevalue-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-01-13 13:23:46 +01:00
										 |  |  |     asynchronousimagecache-test.cpp
 | 
					
						
							|  |  |  |     synchronousimagecache-test.cpp
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     imagecachegenerator-test.cpp
 | 
					
						
							|  |  |  |     imagecachestorage-test.cpp
 | 
					
						
							|  |  |  |     sqlitedatabasemock.h
 | 
					
						
							|  |  |  |     sqlitereadstatementmock.cpp sqlitereadstatementmock.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     sqlitereadwritestatementmock.cpp
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     sqlitestatementmock.h
 | 
					
						
							|  |  |  |     sqlitetransactionbackendmock.h
 | 
					
						
							|  |  |  |     sqlitewritestatementmock.cpp sqlitewritestatementmock.h
 | 
					
						
							|  |  |  |     notification.h
 | 
					
						
							|  |  |  |     mocktimestampprovider.h
 | 
					
						
							|  |  |  |     imagecachecollectormock.h
 | 
					
						
							|  |  |  |     mockimagecachegenerator.h
 | 
					
						
							|  |  |  |     mockimagecachestorage.h
 | 
					
						
							| 
									
										
										
										
											2021-12-23 16:39:53 +01:00
										 |  |  |     asynchronousexplicitimagecache-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-12-28 11:32:47 +01:00
										 |  |  |     asynchronousimagefactory-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-11 14:46:53 +02:00
										 |  |  | if (NOT TARGET unittest)
 | 
					
						
							|  |  |  |     return()
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  | function(extend_qtc_test_with_target_sources target)
 | 
					
						
							|  |  |  |   cmake_parse_arguments(_arg "" "" "DEFINES;INCLUDES" ${ARGN})
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   get_target_property(${target}Sources ${target} SOURCES)
 | 
					
						
							| 
									
										
										
										
											2020-11-24 10:34:15 +01:00
										 |  |  |   # work around issue with CMake < 3.14 where target sources can contain
 | 
					
						
							|  |  |  |   # $<TARGET_OBJECTS:...>
 | 
					
						
							|  |  |  |   list(FILTER ${target}Sources EXCLUDE REGEX "^\\$<TARGET_OBJECTS:.*")
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |   get_target_property(${target}SourcesDir ${target} SOURCES_DIR)
 | 
					
						
							|  |  |  |   extend_qtc_test(unittest | 
					
						
							|  |  |  |     SOURCES_PREFIX "${${target}SourcesDir}"
 | 
					
						
							|  |  |  |     SOURCES ${${target}Sources}
 | 
					
						
							|  |  |  |     DEFINES
 | 
					
						
							|  |  |  |       $<TARGET_PROPERTY:${target},INTERFACE_COMPILE_DEFINITIONS>
 | 
					
						
							|  |  |  |       ${_arg_DEFINES}
 | 
					
						
							|  |  |  |     INCLUDES
 | 
					
						
							|  |  |  |       $<TARGET_PROPERTY:${target},INTERFACE_INCLUDE_DIRECTORIES>
 | 
					
						
							|  |  |  |       ${_arg_INCLUDES}
 | 
					
						
							|  |  |  |   )
 | 
					
						
							|  |  |  | endfunction()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  | if (HAVE_LIBCLANG AND NOT TARGET clangbackend_lib)
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   add_subdirectory(../../../src/tools/clangbackend/source ${CMAKE_CURRENT_BINARY_DIR}/clangbackend)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  | extend_qtc_test(unittest DEPENDS clangbackend_lib CONDITION HAVE_LIBCLANG)
 | 
					
						
							| 
									
										
										
										
											2020-06-09 12:07:59 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  | if (NOT TARGET Sqlite)
 | 
					
						
							|  |  |  |   add_subdirectory(../../../src/libs/sqlite ${CMAKE_CURRENT_BINARY_DIR}/sqlite)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | extend_qtc_test_with_target_sources(Sqlite | 
					
						
							| 
									
										
										
										
											2022-01-05 17:45:50 +01:00
										 |  |  |   DEFINES SQLITE_CUSTOM_INCLUDE=config.h
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  | )
 | 
					
						
							| 
									
										
										
										
											2021-05-07 09:19:39 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | if (APPLE)
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   extend_qtc_test(unittest DEFINES _BSD_SOURCE)
 | 
					
						
							| 
									
										
										
										
											2021-05-07 09:19:39 +02:00
										 |  |  | elseif (UNIX)
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   extend_qtc_test(unittest DEFINES _POSIX_C_SOURCE=200809L _GNU_SOURCE _DEFAULT_SOURCE)
 | 
					
						
							| 
									
										
										
										
											2021-05-07 09:19:39 +02:00
										 |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | # Do not work on the source directory data
 | 
					
						
							|  |  |  | add_custom_command(TARGET unittest POST_BUILD | 
					
						
							|  |  |  |   COMMAND "${CMAKE_COMMAND}" -E copy_directory
 | 
					
						
							|  |  |  |           "${CMAKE_CURRENT_SOURCE_DIR}/data"
 | 
					
						
							|  |  |  |           "${CMAKE_CURRENT_BINARY_DIR}/data"
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  |   CONDITION HAVE_LIBCLANG
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  |   INCLUDES "${CLANG_INCLUDE_DIRS}"
 | 
					
						
							| 
									
										
										
										
											2021-06-14 11:47:51 +02:00
										 |  |  |   DEFINES CLANG_UNIT_TESTS
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  |   DEPENDS libclang
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     activationsequencecontextprocessor-test.cpp
 | 
					
						
							|  |  |  |     activationsequenceprocessor-test.cpp
 | 
					
						
							|  |  |  |     chunksreportedmonitor.cpp
 | 
					
						
							|  |  |  |     clangasyncjob-base.cpp
 | 
					
						
							|  |  |  |     clangcodecompleteresults-test.cpp
 | 
					
						
							|  |  |  |     clangcodemodelserver-test.cpp
 | 
					
						
							|  |  |  |     clangcompletecodejob-test.cpp
 | 
					
						
							|  |  |  |     clangcompletioncontextanalyzer-test.cpp
 | 
					
						
							|  |  |  |     clangdiagnosticfilter-test.cpp
 | 
					
						
							|  |  |  |     clangdocumentprocessors-test.cpp
 | 
					
						
							|  |  |  |     clangdocumentprocessor-test.cpp
 | 
					
						
							|  |  |  |     clangdocuments-test.cpp
 | 
					
						
							|  |  |  |     clangdocumentsuspenderresumer-test.cpp
 | 
					
						
							|  |  |  |     clangdocument-test.cpp
 | 
					
						
							|  |  |  |     clangfixitoperation-test.cpp
 | 
					
						
							|  |  |  |     clangfollowsymbol-test.cpp
 | 
					
						
							|  |  |  |     clangisdiagnosticrelatedtolocation-test.cpp
 | 
					
						
							|  |  |  |     clangjobqueue-test.cpp
 | 
					
						
							|  |  |  |     clangjobs-test.cpp
 | 
					
						
							|  |  |  |     clangparsesupportivetranslationunitjob-test.cpp
 | 
					
						
							|  |  |  |     clangreferencescollector-test.cpp
 | 
					
						
							|  |  |  |     clangrequestannotationsjob-test.cpp
 | 
					
						
							|  |  |  |     clangrequestreferencesjob-test.cpp
 | 
					
						
							|  |  |  |     clangresumedocumentjob-test.cpp
 | 
					
						
							|  |  |  |     clangstring-test.cpp
 | 
					
						
							|  |  |  |     clangsupportivetranslationunitinitializer-test.cpp
 | 
					
						
							|  |  |  |     clangsuspenddocumentjob-test.cpp
 | 
					
						
							|  |  |  |     clangtooltipinfo-test.cpp
 | 
					
						
							|  |  |  |     clangtranslationunits-test.cpp
 | 
					
						
							|  |  |  |     clangtranslationunit-test.cpp
 | 
					
						
							|  |  |  |     clangupdateannotationsjob-test.cpp
 | 
					
						
							|  |  |  |     codecompleter-test.cpp
 | 
					
						
							|  |  |  |     codecompletionsextractor-test.cpp
 | 
					
						
							|  |  |  |     completionchunkstotextconverter-test.cpp
 | 
					
						
							|  |  |  |     cursor-test.cpp
 | 
					
						
							|  |  |  |     diagnosticset-test.cpp
 | 
					
						
							|  |  |  |     diagnostic-test.cpp
 | 
					
						
							|  |  |  |     fixit-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-14 11:47:51 +02:00
										 |  |  |     gtest-clang-printing.cpp gtest-clang-printing.h
 | 
					
						
							| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  |     highlightingresultreporter-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     readexporteddiagnostics-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     skippedsourceranges-test.cpp
 | 
					
						
							|  |  |  |     sourcelocation-test.cpp
 | 
					
						
							|  |  |  |     sourcerange-test.cpp
 | 
					
						
							|  |  |  |     token-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-07-28 14:30:36 +02:00
										 |  |  |     tokenprocessor-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     translationunitupdater-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     unsavedfile-test.cpp
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     unsavedfiles-test.cpp
 | 
					
						
							|  |  |  |     utf8positionfromlinecolumn-test.cpp
 | 
					
						
							|  |  |  |     chunksreportedmonitor.h
 | 
					
						
							|  |  |  |     clangasyncjob-base.h
 | 
					
						
							|  |  |  |     clangcompareoperators.h
 | 
					
						
							|  |  |  |     diagnosticcontainer-matcher.h
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  | )
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							|  |  |  |   CONDITION TARGET GoogleBenchmark
 | 
					
						
							|  |  |  |   DEPENDS GoogleBenchmark
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |     smallstring-benchmark.cpp
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:47:16 +02:00
										 |  |  | )
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-09 12:07:59 +02:00
										 |  |  | finalize_qtc_gtest(unittest ".c$")
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-30 10:58:08 +02:00
										 |  |  | # Path needs to be before CppEditor
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | target_include_directories(unittest | 
					
						
							|  |  |  |   PRIVATE
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |     BEFORE ../../../src/tools/clangbackend/source
 | 
					
						
							| 
									
										
										
										
											2020-06-03 09:49:08 +02:00
										 |  |  |     BEFORE ../../../src/plugins
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  | # QmlDesigner tests
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  | set(QmlDesignerDir ../../../src/plugins/qmldesigner)
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:25:49 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   INCLUDES
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |     "${QmlDesignerDir}"
 | 
					
						
							|  |  |  |     "${QmlDesignerDir}/designercore"
 | 
					
						
							|  |  |  |     "${QmlDesignerDir}/designercore/include"
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     "${QmlDesignerDir}/designercore/imagecache"
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |     "${QmlDesignerDir}/../../../share/qtcreator/qml/qmlpuppet/interfaces"
 | 
					
						
							|  |  |  |     "${QmlDesignerDir}/../../../share/qtcreator/qml/qmlpuppet/types"
 | 
					
						
							|  |  |  |   DEFINES
 | 
					
						
							|  |  |  |     QMLDESIGNER_TEST DESIGNER_STATIC_CORE_LIBRARY
 | 
					
						
							|  |  |  |   SOURCES_PREFIX
 | 
					
						
							|  |  |  |     "${QmlDesignerDir}"
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							|  |  |  |     components/listmodeleditor/listmodeleditormodel.cpp components/listmodeleditor/listmodeleditormodel.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | extend_qtc_test(unittest | 
					
						
							|  |  |  |   SOURCES_PREFIX "${QmlDesignerDir}/designercore"
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     ../../../../share/qtcreator/qml/qmlpuppet/interfaces/commondefines.h
 | 
					
						
							|  |  |  |     ../components/listmodeleditor/listmodeleditormodel.cpp
 | 
					
						
							|  |  |  |     ../components/listmodeleditor/listmodeleditormodel.h
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |     exceptions/exception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidargumentexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalididexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidmetainfoexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidmodelnodeexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidmodelstateexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidpropertyexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidqmlsourceexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidreparentingexception.cpp
 | 
					
						
							|  |  |  |     exceptions/invalidslideindexexception.cpp
 | 
					
						
							|  |  |  |     exceptions/notimplementedexception.cpp
 | 
					
						
							|  |  |  |     exceptions/removebasestateexception.cpp
 | 
					
						
							|  |  |  |     exceptions/rewritingexception.cpp
 | 
					
						
							| 
									
										
										
										
											2021-12-23 16:39:53 +01:00
										 |  |  |     imagecache/asynchronousexplicitimagecache.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     imagecache/asynchronousimagecache.cpp
 | 
					
						
							| 
									
										
										
										
											2021-12-28 11:32:47 +01:00
										 |  |  |     imagecache/asynchronousimagefactory.cpp
 | 
					
						
							|  |  |  |     imagecache/asynchronousimagefactory.h
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     imagecache/imagecachecollectorinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     imagecache/imagecachegenerator.cpp
 | 
					
						
							|  |  |  |     imagecache/imagecachegenerator.h
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     imagecache/imagecachegeneratorinterface.h
 | 
					
						
							|  |  |  |     imagecache/imagecachestorage.h
 | 
					
						
							|  |  |  |     imagecache/imagecachestorageinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     imagecache/synchronousimagecache.cpp
 | 
					
						
							| 
									
										
										
										
											2020-09-16 13:44:43 +02:00
										 |  |  |     imagecache/timestampproviderinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     include/abstractproperty.h
 | 
					
						
							|  |  |  |     include/abstractview.h
 | 
					
						
							| 
									
										
										
										
											2021-12-23 16:39:53 +01:00
										 |  |  |     include/asynchronousexplicitimagecache.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     include/asynchronousimagecache.h
 | 
					
						
							|  |  |  |     include/asynchronousimagecacheinterface.h
 | 
					
						
							|  |  |  |     include/bindingproperty.h
 | 
					
						
							|  |  |  |     include/imagecacheauxiliarydata.h
 | 
					
						
							|  |  |  |     include/import.h
 | 
					
						
							|  |  |  |     include/model.h
 | 
					
						
							|  |  |  |     include/modelnode.h
 | 
					
						
							|  |  |  |     include/nodeabstractproperty.h
 | 
					
						
							|  |  |  |     include/nodelistproperty.h
 | 
					
						
							|  |  |  |     include/nodeproperty.h
 | 
					
						
							|  |  |  |     include/projectstorageids.h
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |     include/qmldesignercorelib_global.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     include/signalhandlerproperty.h
 | 
					
						
							|  |  |  |     include/synchronousimagecache.h
 | 
					
						
							|  |  |  |     include/variantproperty.h
 | 
					
						
							|  |  |  |     model/abstractproperty.cpp
 | 
					
						
							|  |  |  |     model/abstractview.cpp
 | 
					
						
							|  |  |  |     model/annotation.cpp
 | 
					
						
							|  |  |  |     model/bindingproperty.cpp
 | 
					
						
							|  |  |  |     model/import.cpp
 | 
					
						
							|  |  |  |     model/internalbindingproperty.cpp
 | 
					
						
							|  |  |  |     model/internalbindingproperty.h
 | 
					
						
							|  |  |  |     model/internalnode.cpp
 | 
					
						
							|  |  |  |     model/internalnode_p.h
 | 
					
						
							|  |  |  |     model/internalnodeabstractproperty.cpp
 | 
					
						
							|  |  |  |     model/internalnodeabstractproperty.h
 | 
					
						
							|  |  |  |     model/internalnodelistproperty.cpp
 | 
					
						
							|  |  |  |     model/internalnodelistproperty.h
 | 
					
						
							|  |  |  |     model/internalnodeproperty.cpp
 | 
					
						
							|  |  |  |     model/internalnodeproperty.h
 | 
					
						
							|  |  |  |     model/internalproperty.cpp
 | 
					
						
							|  |  |  |     model/internalproperty.h
 | 
					
						
							|  |  |  |     model/internalsignalhandlerproperty.cpp
 | 
					
						
							|  |  |  |     model/internalsignalhandlerproperty.h
 | 
					
						
							|  |  |  |     model/internalvariantproperty.cpp
 | 
					
						
							|  |  |  |     model/internalvariantproperty.h
 | 
					
						
							|  |  |  |     model/model.cpp
 | 
					
						
							|  |  |  |     model/model_p.h
 | 
					
						
							|  |  |  |     model/modelnode.cpp
 | 
					
						
							|  |  |  |     model/nodeabstractproperty.cpp
 | 
					
						
							|  |  |  |     model/nodelistproperty.cpp
 | 
					
						
							|  |  |  |     model/nodeproperty.cpp
 | 
					
						
							|  |  |  |     model/signalhandlerproperty.cpp
 | 
					
						
							|  |  |  |     model/variantproperty.cpp
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     projectstorage/directorypathcompressor.h
 | 
					
						
							|  |  |  |     projectstorage/filesysteminterface.h
 | 
					
						
							|  |  |  |     projectstorage/filesystem.cpp projectstorage/filesystem.h
 | 
					
						
							|  |  |  |     projectstorage/filestatus.h
 | 
					
						
							|  |  |  |     projectstorage/filestatuscache.cpp projectstorage/filestatuscache.h
 | 
					
						
							|  |  |  |     projectstorage/nonlockingmutex.h
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     projectstorage/projectmanagerinterface.h
 | 
					
						
							|  |  |  |     projectstorage/projectstorageinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstorage/projectstorage.h
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     projectstorage/projectstoragepathwatcher.h
 | 
					
						
							|  |  |  |     projectstorage/projectstoragepathwatcherinterface.h
 | 
					
						
							|  |  |  |     projectstorage/projectstoragepathwatchernotifierinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstorage/projectstoragesqlitefunctionregistry.cpp
 | 
					
						
							|  |  |  |     projectstorage/projectstoragesqlitefunctionregistry.h
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     projectstorage/projectstoragepathwatcher.h
 | 
					
						
							|  |  |  |     projectstorage/projectstoragepathwatchertypes.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstorage/projectstoragetypes.h
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     projectstorage/projectstorageupdater.cpp projectstorage/projectstorageupdater.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstorage/sourcepath.h
 | 
					
						
							|  |  |  |     projectstorage/sourcepathcache.h
 | 
					
						
							|  |  |  |     projectstorage/sourcepathcache.h
 | 
					
						
							|  |  |  |     projectstorage/sourcepathcachetypes.h
 | 
					
						
							|  |  |  |     projectstorage/sourcepathview.h
 | 
					
						
							|  |  |  |     projectstorage/storagecache.h
 | 
					
						
							|  |  |  |     projectstorage/storagecacheentry.h
 | 
					
						
							|  |  |  |     projectstorage/storagecachefwd.h
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     projectstorage/qmldocumentparserinterface.h
 | 
					
						
							|  |  |  |     projectstorage/qmltypesparserinterface.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     rewritertransaction.cpp
 | 
					
						
							|  |  |  |     rewritertransaction.h
 | 
					
						
							| 
									
										
										
										
											2020-09-10 21:09:24 +02:00
										 |  |  |   EXPLICIT_MOC
 | 
					
						
							|  |  |  |     "../mockup/qmldesigner/designercore/include/nodeinstanceview.h"
 | 
					
						
							|  |  |  |     "../mockup/qmldesigner/designercore/include/rewriterview.h"
 | 
					
						
							|  |  |  |     "${QmlDesignerDir}/designercore/include/model.h"
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     directorypathcompressor-test.cpp
 | 
					
						
							|  |  |  |     filesystemmock.h
 | 
					
						
							|  |  |  |     filestatuscache-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     listmodeleditor-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     projectmanagermock.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstorage-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     projectstorageupdater-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     projectstoragesqlitefunctionregistry-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     projectstoragepathwatchermock.h
 | 
					
						
							|  |  |  |     projectstoragepathwatchernotifiermock.h
 | 
					
						
							|  |  |  |     projectstoragepathwatcher-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     sourcepath-test.cpp
 | 
					
						
							|  |  |  |     sourcepathcache-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-07-29 11:19:02 +02:00
										 |  |  |     sourcepathcachemock.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |     sourcepathview-test.cpp
 | 
					
						
							|  |  |  |     storagecache-test.cpp
 | 
					
						
							| 
									
										
										
										
											2021-09-16 17:19:56 +02:00
										 |  |  |     qmldocumentparsermock.h
 | 
					
						
							|  |  |  |     qmltypesparsermock.h
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # QmlDesigner tests END
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  | if (NOT TARGET Utils)
 | 
					
						
							|  |  |  |   add_subdirectory(../../../src/libs/utils ${CMAKE_CURRENT_BINARY_DIR}/utils)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | if (NOT TARGET CPlusPlus)
 | 
					
						
							|  |  |  |   add_subdirectory(../../../src/libs/3rdparty/cplusplus ${CMAKE_CURRENT_BINARY_DIR}/3rd_cplusplus)
 | 
					
						
							|  |  |  |   add_subdirectory(../../../src/libs/cplusplus ${CMAKE_CURRENT_BINARY_DIR}/cplusplus)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | if (NOT TARGET ClangSupport)
 | 
					
						
							|  |  |  |   add_subdirectory(../../../src/libs/clangsupport ${CMAKE_CURRENT_BINARY_DIR}/clangsupport)
 | 
					
						
							|  |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extend_qtc_test(unittest DEPENDS Utils CPlusPlus ClangSupport)
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:25:49 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   SOURCES_PREFIX ../../../src/plugins/clangcodemodel
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   SOURCES
 | 
					
						
							|  |  |  |     clangactivationsequencecontextprocessor.cpp clangactivationsequencecontextprocessor.h
 | 
					
						
							|  |  |  |     clangactivationsequenceprocessor.cpp clangactivationsequenceprocessor.h
 | 
					
						
							|  |  |  |     clangcompletionchunkstotextconverter.cpp clangcompletionchunkstotextconverter.h
 | 
					
						
							|  |  |  |     clangcompletioncontextanalyzer.cpp clangcompletioncontextanalyzer.h
 | 
					
						
							|  |  |  |     clangdiagnosticfilter.cpp clangdiagnosticfilter.h
 | 
					
						
							|  |  |  |     clangfixitoperation.cpp clangfixitoperation.h
 | 
					
						
							|  |  |  |     clanghighlightingresultreporter.cpp clanghighlightingresultreporter.h
 | 
					
						
							|  |  |  |     clanguiheaderondiskmanager.cpp clanguiheaderondiskmanager.h
 | 
					
						
							|  |  |  |     clangisdiagnosticrelatedtolocation.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  | find_package(yaml-cpp QUIET MODULE)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:25:49 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2021-06-16 16:42:24 +02:00
										 |  |  |   DEPENDS yaml-cpp
 | 
					
						
							|  |  |  |   DEFINES CLANGTOOLS_STATIC_LIBRARY
 | 
					
						
							|  |  |  |   SOURCES_PREFIX ../../../src/plugins/clangtools
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							|  |  |  |     clangtoolsdiagnostic.cpp
 | 
					
						
							|  |  |  |     clangtoolsdiagnostic.h
 | 
					
						
							|  |  |  |     clangtoolslogfilereader.cpp
 | 
					
						
							|  |  |  |     clangtoolslogfilereader.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extend_qtc_test(unittest | 
					
						
							|  |  |  |   DEFINES DEBUGGER_STATIC_LIBRARY
 | 
					
						
							|  |  |  |   SOURCES_PREFIX ../../../src/plugins/debugger
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							|  |  |  |     analyzer/diagnosticlocation.cpp
 | 
					
						
							|  |  |  |     analyzer/diagnosticlocation.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-20 14:18:57 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2021-06-13 15:35:56 +02:00
										 |  |  |   SOURCES_PREFIX ../../../src/plugins/coreplugin
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   DEFINES CORE_STATIC_LIBRARY
 | 
					
						
							|  |  |  |   SOURCES
 | 
					
						
							|  |  |  |     coreicons.cpp coreicons.h
 | 
					
						
							|  |  |  |     find/ifindfilter.cpp find/ifindfilter.h
 | 
					
						
							|  |  |  |     locator/ilocatorfilter.cpp locator/ilocatorfilter.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-15 16:25:49 +02:00
										 |  |  | extend_qtc_test(unittest | 
					
						
							| 
									
										
										
										
											2021-08-30 10:58:08 +02:00
										 |  |  |   SOURCES_PREFIX ../../../src/plugins/cppeditor
 | 
					
						
							|  |  |  |   DEFINES CPPEDITOR_STATIC_LIBRARY
 | 
					
						
							| 
									
										
										
										
											2019-05-29 14:55:17 +02:00
										 |  |  |   SOURCES
 | 
					
						
							|  |  |  |     cppprojectfile.cpp cppprojectfile.h
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-28 12:09:54 +02:00
										 |  |  | get_filename_component( | 
					
						
							|  |  |  |     QMLDOM_STANDALONE_CMAKELISTS
 | 
					
						
							|  |  |  |     "${CMAKE_CURRENT_SOURCE_DIR}/../../../../qmldom_standalone/src/qmldom/standalone/"
 | 
					
						
							|  |  |  |     ABSOLUTE
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-28 17:05:23 +02:00
										 |  |  | if(EXISTS ${QMLDOM_STANDALONE_CMAKELISTS} AND Qt6_FOUND)
 | 
					
						
							| 
									
										
										
										
											2021-09-28 15:17:36 +02:00
										 |  |  |   add_subdirectory( | 
					
						
							|  |  |  |     ../../../../qmldom_standalone/src/qmldom/standalone
 | 
					
						
							|  |  |  |     ${CMAKE_CURRENT_BINARY_DIR}/qmldom_standalone)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   set_target_properties(qmldomlib PROPERTIES | 
					
						
							|  |  |  |     RUNTIME_OUTPUT_DIRECTORY "$<TARGET_PROPERTY:QmlJS,RUNTIME_OUTPUT_DIRECTORY>"
 | 
					
						
							|  |  |  |     LIBRARY_OUTPUT_DIRECTORY "$<TARGET_PROPERTY:QmlJS,LIBRARY_OUTPUT_DIRECTORY>")
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-28 17:05:23 +02:00
										 |  |  |   extend_qtc_test(unittest | 
					
						
							|  |  |  |     DEPENDS qmldomlib
 | 
					
						
							|  |  |  |     SOURCES
 | 
					
						
							|  |  |  |       qmldocumentparser-test.cpp
 | 
					
						
							|  |  |  |       qmltypesparser-test.cpp
 | 
					
						
							|  |  |  |   )
 | 
					
						
							|  |  |  |   extend_qtc_test(unittest | 
					
						
							|  |  |  |     SOURCES_PREFIX "${QmlDesignerDir}/designercore"
 | 
					
						
							|  |  |  |     SOURCES
 | 
					
						
							|  |  |  |       projectstorage/qmldocumentparser.cpp projectstorage/qmldocumentparser.h
 | 
					
						
							|  |  |  |       projectstorage/qmltypesparser.cpp projectstorage/qmltypesparser.h
 | 
					
						
							| 
									
										
										
										
											2021-09-28 12:09:54 +02:00
										 |  |  |     )
 | 
					
						
							|  |  |  | endif()
 |