2015-07-23 13:01:02 +02:00
|
|
|
INCLUDEPATH += ../mockup
|
2015-06-01 18:51:55 +02:00
|
|
|
|
2015-07-22 16:56:17 +02:00
|
|
|
include(gmock_dependency.pri)
|
|
|
|
include(clang_dependency.pri)
|
|
|
|
include(creator_dependency.pri)
|
2016-02-16 16:04:54 +01:00
|
|
|
include(benchmark_dependency.pri)
|
2015-07-08 14:07:13 +02:00
|
|
|
|
2015-07-22 16:56:17 +02:00
|
|
|
QT += core network testlib widgets
|
2016-02-16 16:04:54 +01:00
|
|
|
CONFIG += console c++14 testcase object_parallel_to_source
|
2015-07-22 16:56:17 +02:00
|
|
|
CONFIG -= app_bundle
|
2015-06-01 18:51:55 +02:00
|
|
|
|
2016-02-16 16:04:54 +01:00
|
|
|
OBJECTS_DIR = $$OUT_PWD/obj # workaround for qmake bug in object_parallel_to_source
|
|
|
|
|
2015-06-01 18:51:55 +02:00
|
|
|
osx:QMAKE_CXXFLAGS = -stdlib=libc++
|
|
|
|
|
2015-07-22 16:56:17 +02:00
|
|
|
DEFINES += \
|
|
|
|
QT_NO_CAST_FROM_ASCII \
|
|
|
|
CLANGBACKEND_TESTS \
|
2015-08-19 12:36:43 +02:00
|
|
|
DONT_CHECK_MESSAGE_COUNTER \
|
2015-07-22 16:56:17 +02:00
|
|
|
TESTDATA_DIR=\"R\\\"xxx($$PWD/data)xxx\\\"\"
|
2015-11-26 16:31:41 +01:00
|
|
|
win32-msvc*:QMAKE_CXXFLAGS_WARN_ON -= -w34100 # 'unreferenced formal parameter' in MATCHER_* functions
|
2015-07-22 16:56:17 +02:00
|
|
|
win32:DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echo)xxx\\\"\"
|
|
|
|
unix: DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echoserver/echo)xxx\\\"\"
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
activationsequencecontextprocessortest.cpp \
|
|
|
|
activationsequenceprocessortest.cpp \
|
|
|
|
clangcodecompleteresultstest.cpp \
|
|
|
|
clangcompletioncontextanalyzertest.cpp \
|
2015-09-04 12:15:17 +02:00
|
|
|
clangdiagnosticfiltertest.cpp \
|
2015-08-24 18:26:09 +02:00
|
|
|
clangfixitoperationtest.cpp \
|
2015-07-22 16:56:17 +02:00
|
|
|
clangipcservertest.cpp \
|
|
|
|
clangstringtest.cpp \
|
|
|
|
clientserverinprocesstest.cpp \
|
|
|
|
clientserveroutsideprocess.cpp \
|
|
|
|
codecompletionsextractortest.cpp \
|
|
|
|
codecompletiontest.cpp \
|
|
|
|
completionchunkstotextconvertertest.cpp \
|
2015-06-01 18:51:55 +02:00
|
|
|
createtablesqlstatementbuildertest.cpp \
|
2015-08-31 16:28:26 +02:00
|
|
|
diagnosticsettest.cpp \
|
|
|
|
diagnostictest.cpp \
|
|
|
|
fixittest.cpp \
|
2015-07-22 16:56:17 +02:00
|
|
|
lineprefixertest.cpp \
|
|
|
|
main.cpp \
|
|
|
|
projecttest.cpp \
|
2015-08-19 12:36:43 +02:00
|
|
|
readandwritemessageblocktest.cpp \
|
2015-08-31 16:28:26 +02:00
|
|
|
sourcelocationtest.cpp \
|
|
|
|
sourcerangetest.cpp \
|
2015-07-22 16:56:17 +02:00
|
|
|
spydummy.cpp \
|
2015-06-01 18:51:55 +02:00
|
|
|
sqlitecolumntest.cpp \
|
2015-07-22 16:56:17 +02:00
|
|
|
sqlitedatabasebackendtest.cpp \
|
|
|
|
sqlitedatabasetest.cpp \
|
2015-06-01 18:51:55 +02:00
|
|
|
sqlitestatementtest.cpp \
|
|
|
|
sqlitetabletest.cpp \
|
2015-07-22 16:56:17 +02:00
|
|
|
sqlstatementbuildertest.cpp \
|
|
|
|
translationunitstest.cpp \
|
2015-06-01 18:51:55 +02:00
|
|
|
translationunittest.cpp \
|
|
|
|
unsavedfilestest.cpp \
|
2015-09-28 17:42:43 +02:00
|
|
|
utf8test.cpp \
|
2015-11-17 13:33:31 +01:00
|
|
|
senddocumenttrackertest.cpp \
|
|
|
|
cursortest.cpp \
|
|
|
|
highlightinginformationstest.cpp \
|
2015-11-18 17:07:44 +01:00
|
|
|
skippedsourcerangestest.cpp \
|
|
|
|
highlightingmarksreportertest.cpp \
|
2016-01-11 15:20:04 +01:00
|
|
|
chunksreportedmonitor.cpp \
|
2016-01-27 13:37:19 +01:00
|
|
|
unsavedfiletest.cpp \
|
|
|
|
clangisdiagnosticrelatedtolocationtest.cpp
|
2015-06-01 18:51:55 +02:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
gtest-qt-printing.h \
|
|
|
|
mockipclient.h \
|
2015-07-22 16:56:17 +02:00
|
|
|
mockipcserver.h \
|
2015-09-18 17:01:32 +02:00
|
|
|
spydummy.h \
|
2015-11-25 15:21:24 +01:00
|
|
|
matcher-diagnosticcontainer.h \
|
2015-11-18 17:07:44 +01:00
|
|
|
chunksreportedmonitor.h \
|
2015-11-27 15:15:28 +01:00
|
|
|
mocksenddocumentannotationscallback.h
|
2015-06-01 18:51:55 +02:00
|
|
|
|
2015-07-22 16:56:17 +02:00
|
|
|
OTHER_FILES += $$files(data/*)
|