forked from qt-creator/qt-creator
Clang: Tests: Move test data into test/data
Change-Id: Ib33cec849ffd575d8b0bf87c6969170af4cd30d3 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -115,23 +115,14 @@ contains(DEFINES, CLANG_INDEXING) {
|
|||||||
FORMS += clangprojectsettingspropertiespage.ui
|
FORMS += clangprojectsettingspropertiespage.ui
|
||||||
|
|
||||||
equals(TEST, 1) {
|
equals(TEST, 1) {
|
||||||
RESOURCES += \
|
|
||||||
test/clang_tests_database.qrc
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
test/clangcodecompletion_test.h
|
test/clangcodecompletion_test.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
test/clangcodecompletion_test.cpp
|
test/clangcodecompletion_test.cpp
|
||||||
|
|
||||||
DISTFILES += \
|
RESOURCES += test/data/clangtestdata.qrc
|
||||||
test/mysource.cpp \
|
OTHER_FILES += $$files(test/data/*)
|
||||||
test/myheader.cpp \
|
|
||||||
test/completionWithProject.cpp \
|
|
||||||
test/memberCompletion.cpp \
|
|
||||||
test/doxygenKeywordsCompletion.cpp \
|
|
||||||
test/preprocessorKeywordsCompletion.cpp \
|
|
||||||
test/includeDirectiveCompletion.cpp
|
|
||||||
}
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
|
@@ -104,7 +104,7 @@ QtcPlugin {
|
|||||||
condition: project.testsEnabled
|
condition: project.testsEnabled
|
||||||
prefix: "test/"
|
prefix: "test/"
|
||||||
files: [
|
files: [
|
||||||
"clang_tests_database.qrc",
|
"data/clangtestdata.qrc",
|
||||||
"clangcodecompletion_test.cpp",
|
"clangcodecompletion_test.cpp",
|
||||||
"clangcodecompletion_test.h",
|
"clangcodecompletion_test.h",
|
||||||
]
|
]
|
||||||
@@ -112,20 +112,10 @@ QtcPlugin {
|
|||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Test resources"
|
name: "Test resources"
|
||||||
prefix: "test/"
|
prefix: "test/data/"
|
||||||
fileTags: "none"
|
fileTags: "none"
|
||||||
files: [
|
files: [ "*" ]
|
||||||
"mysource.cpp",
|
excludeFiles: "clangtestdata.qrc"
|
||||||
"myheader.h",
|
|
||||||
"completionWithProject.cpp",
|
|
||||||
"memberCompletion.cpp",
|
|
||||||
"doxygenKeywordsCompletion.cpp",
|
|
||||||
"preprocessorKeywordsCompletion.cpp",
|
|
||||||
"includeDirectiveCompletion.cpp",
|
|
||||||
"objc_messages_1.mm",
|
|
||||||
"objc_messages_2.mm",
|
|
||||||
"objc_messages_3.mm",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/unittests/ClangCodeModel">
|
<qresource prefix="/unittests/ClangCodeModel">
|
||||||
<file>objc_messages_1.mm</file>
|
|
||||||
<file>objc_messages_2.mm</file>
|
|
||||||
<file>objc_messages_3.mm</file>
|
|
||||||
<file>completionWithProject.cpp</file>
|
|
||||||
<file>memberCompletion.cpp</file>
|
|
||||||
<file>myheader.h</file>
|
|
||||||
<file>mysource.cpp</file>
|
|
||||||
<file>qt-widgets-app/main.cpp</file>
|
<file>qt-widgets-app/main.cpp</file>
|
||||||
<file>qt-widgets-app/mainwindow.cpp</file>
|
<file>qt-widgets-app/mainwindow.cpp</file>
|
||||||
<file>qt-widgets-app/mainwindow.h</file>
|
<file>qt-widgets-app/mainwindow.h</file>
|
||||||
<file>qt-widgets-app/mainwindow.ui</file>
|
<file>qt-widgets-app/mainwindow.ui</file>
|
||||||
<file>qt-widgets-app/qt-widgets-app.pro</file>
|
<file>qt-widgets-app/qt-widgets-app.pro</file>
|
||||||
<file>functionCompletion.cpp</file>
|
|
||||||
<file>doxygenKeywordsCompletion.cpp</file>
|
|
||||||
<file>preprocessorKeywordsCompletion.cpp</file>
|
|
||||||
<file>includeDirectiveCompletion.cpp</file>
|
|
||||||
<file>exampleIncludeDir/file.h</file>
|
<file>exampleIncludeDir/file.h</file>
|
||||||
<file>exampleIncludeDir/otherFile.h</file>
|
|
||||||
<file>exampleIncludeDir/mylib/mylib.h</file>
|
<file>exampleIncludeDir/mylib/mylib.h</file>
|
||||||
<file>globalCompletion.cpp</file>
|
<file>exampleIncludeDir/otherFile.h</file>
|
||||||
|
<file>completionWithProject.cpp</file>
|
||||||
<file>constructorCompletion.cpp</file>
|
<file>constructorCompletion.cpp</file>
|
||||||
|
<file>doxygenKeywordsCompletion.cpp</file>
|
||||||
|
<file>functionCompletion.cpp</file>
|
||||||
|
<file>globalCompletion.cpp</file>
|
||||||
|
<file>includeDirectiveCompletion.cpp</file>
|
||||||
|
<file>memberCompletion.cpp</file>
|
||||||
|
<file>myheader.h</file>
|
||||||
|
<file>mysource.cpp</file>
|
||||||
|
<file>objc_messages_1.mm</file>
|
||||||
|
<file>objc_messages_2.mm</file>
|
||||||
|
<file>objc_messages_3.mm</file>
|
||||||
|
<file>preprocessorKeywordsCompletion.cpp</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
Reference in New Issue
Block a user