Regenerate tests/auto/corelib/mimetypes
Change-Id: Id137b8e9f48edd65c4df901f11a8ae917395d6b6 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
7adcdcbf80
commit
5447ccd469
@ -1,11 +1,14 @@
|
|||||||
# Generated from qmimedatabase-cache.pro.
|
# Generated from qmimedatabase-cache.pro.
|
||||||
|
|
||||||
|
if(NOT QT_FEATURE_private_tests)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
## tst_qmimedatabase-cache Test:
|
## tst_qmimedatabase-cache Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-cache
|
add_qt_test(tst_qmimedatabase-cache
|
||||||
GUI
|
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-cache.cpp
|
tst_qmimedatabase-cache.cpp
|
||||||
@ -15,54 +18,80 @@ add_qt_test(tst_qmimedatabase-cache
|
|||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
||||||
PROPERTIES alias "freedesktop.org.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
|
set(mimetypes_resource_files
|
||||||
|
"mime/packages/freedesktop.org.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "mimetypes"
|
add_qt_resource(tst_qmimedatabase-cache "mimetypes"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime/packages"
|
"/qt-project.org/qmime/packages"
|
||||||
BASE
|
BASE
|
||||||
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
||||||
FILES
|
FILES
|
||||||
mime/packages/freedesktop.org.xml
|
${mimetypes_resource_files}
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic1.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic1.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic2.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic2.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic3.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic3.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.foo"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy2.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy2.foo"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../qml-again.xml"
|
set_source_files_properties("../qml-again.xml"
|
||||||
PROPERTIES alias "qml-again.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../test.qml"
|
set_source_files_properties("../test.qml"
|
||||||
PROPERTIES alias "test.qml"
|
PROPERTIES QT_RESOURCE_ALIAS "test.qml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../text-x-objcsrc.xml"
|
set_source_files_properties("../text-x-objcsrc.xml"
|
||||||
PROPERTIES alias "text-x-objcsrc.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "text-x-objcsrc.xml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
||||||
PROPERTIES alias "yast2-metapackage-handler-mimetypes.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
set(testdata_resource_files
|
||||||
|
"invalid-magic1.xml"
|
||||||
|
"invalid-magic2.xml"
|
||||||
|
"invalid-magic3.xml"
|
||||||
|
"magic-and-hierarchy.foo"
|
||||||
|
"magic-and-hierarchy.xml"
|
||||||
|
"magic-and-hierarchy2.foo"
|
||||||
|
"qml-again.xml"
|
||||||
|
"test.qml"
|
||||||
|
"text-x-objcsrc.xml"
|
||||||
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
".."
|
".."
|
||||||
FILES
|
FILES
|
||||||
invalid-magic1.xml
|
${testdata_resource_files}
|
||||||
invalid-magic2.xml
|
|
||||||
invalid-magic3.xml
|
|
||||||
magic-and-hierarchy.foo
|
|
||||||
magic-and-hierarchy.xml
|
|
||||||
magic-and-hierarchy2.foo
|
|
||||||
qml-again.xml
|
|
||||||
test.qml
|
|
||||||
text-x-objcsrc.xml
|
|
||||||
yast2-metapackage-handler-mimetypes.xml
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:qmimedatabase-cache.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:qmimedatabase-cache.pro:<TRUE>:
|
||||||
# CONFIG = "testcase"
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||||
|
|
||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION 2*_x_ - g
|
extend_target(tst_qmimedatabase-cache CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Generated from qmimedatabase-cache.pro.
|
# Generated from qmimedatabase-cache.pro.
|
||||||
|
|
||||||
|
if(NOT QT_FEATURE_private_tests)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
## tst_qmimedatabase-cache Test:
|
## tst_qmimedatabase-cache Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-cache
|
add_qt_test(tst_qmimedatabase-cache
|
||||||
GUI
|
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-cache.cpp
|
tst_qmimedatabase-cache.cpp
|
||||||
@ -14,6 +17,30 @@ add_qt_test(tst_qmimedatabase-cache
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
|
# special case begin
|
||||||
|
# the freedesktop resources are handled manually below via mimetypes_resources.cmake
|
||||||
|
#set(mimetypes_resource_files
|
||||||
|
#"mime/packages/freedesktop.org.xml"
|
||||||
|
#)
|
||||||
|
# special case end
|
||||||
|
set_source_files_properties("../invalid-magic1.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic1.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic2.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic2.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic3.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic3.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.foo"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy2.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy2.foo"
|
||||||
|
)
|
||||||
set_source_files_properties("../qml-again.xml"
|
set_source_files_properties("../qml-again.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
||||||
)
|
)
|
||||||
@ -26,22 +53,26 @@ set_source_files_properties("../text-x-objcsrc.xml"
|
|||||||
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
set(testdata_resource_files
|
||||||
|
"invalid-magic1.xml"
|
||||||
|
"invalid-magic2.xml"
|
||||||
|
"invalid-magic3.xml"
|
||||||
|
"magic-and-hierarchy.foo"
|
||||||
|
"magic-and-hierarchy.xml"
|
||||||
|
"magic-and-hierarchy2.foo"
|
||||||
|
"qml-again.xml"
|
||||||
|
"test.qml"
|
||||||
|
"text-x-objcsrc.xml"
|
||||||
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
".."
|
".."
|
||||||
FILES
|
FILES
|
||||||
invalid-magic1.xml
|
${testdata_resource_files}
|
||||||
invalid-magic2.xml
|
|
||||||
invalid-magic3.xml
|
|
||||||
magic-and-hierarchy.foo
|
|
||||||
magic-and-hierarchy.xml
|
|
||||||
magic-and-hierarchy2.foo
|
|
||||||
qml-again.xml
|
|
||||||
test.qml
|
|
||||||
text-x-objcsrc.xml
|
|
||||||
yast2-metapackage-handler-mimetypes.xml
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# special case begin
|
# special case begin
|
||||||
@ -51,13 +82,12 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-cache)
|
|||||||
# special case end
|
# special case end
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:qmimedatabase-cache.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:qmimedatabase-cache.pro:<TRUE>:
|
||||||
# CONFIG = "testcase"
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||||
|
|
||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION CMAKE_COMPILER_IS_GNUCXX
|
extend_target(tst_qmimedatabase-cache CONDITION GCC
|
||||||
|
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Generated from qmimedatabase-xml.pro.
|
# Generated from qmimedatabase-xml.pro.
|
||||||
|
|
||||||
|
if(NOT QT_FEATURE_private_tests)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
## tst_qmimedatabase-xml Test:
|
## tst_qmimedatabase-xml Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-xml
|
add_qt_test(tst_qmimedatabase-xml
|
||||||
GUI
|
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-xml.cpp
|
tst_qmimedatabase-xml.cpp
|
||||||
@ -15,54 +18,80 @@ add_qt_test(tst_qmimedatabase-xml
|
|||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
||||||
PROPERTIES alias "freedesktop.org.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
|
set(mimetypes_resource_files
|
||||||
|
"mime/packages/freedesktop.org.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "mimetypes"
|
add_qt_resource(tst_qmimedatabase-xml "mimetypes"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime/packages"
|
"/qt-project.org/qmime/packages"
|
||||||
BASE
|
BASE
|
||||||
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
||||||
FILES
|
FILES
|
||||||
mime/packages/freedesktop.org.xml
|
${mimetypes_resource_files}
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic1.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic1.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic2.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic2.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic3.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic3.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.foo"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy2.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy2.foo"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../qml-again.xml"
|
set_source_files_properties("../qml-again.xml"
|
||||||
PROPERTIES alias "qml-again.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../test.qml"
|
set_source_files_properties("../test.qml"
|
||||||
PROPERTIES alias "test.qml"
|
PROPERTIES QT_RESOURCE_ALIAS "test.qml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../text-x-objcsrc.xml"
|
set_source_files_properties("../text-x-objcsrc.xml"
|
||||||
PROPERTIES alias "text-x-objcsrc.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "text-x-objcsrc.xml"
|
||||||
)
|
)
|
||||||
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
||||||
PROPERTIES alias "yast2-metapackage-handler-mimetypes.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
set(testdata_resource_files
|
||||||
|
"invalid-magic1.xml"
|
||||||
|
"invalid-magic2.xml"
|
||||||
|
"invalid-magic3.xml"
|
||||||
|
"magic-and-hierarchy.foo"
|
||||||
|
"magic-and-hierarchy.xml"
|
||||||
|
"magic-and-hierarchy2.foo"
|
||||||
|
"qml-again.xml"
|
||||||
|
"test.qml"
|
||||||
|
"text-x-objcsrc.xml"
|
||||||
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
".."
|
".."
|
||||||
FILES
|
FILES
|
||||||
invalid-magic1.xml
|
${testdata_resource_files}
|
||||||
invalid-magic2.xml
|
|
||||||
invalid-magic3.xml
|
|
||||||
magic-and-hierarchy.foo
|
|
||||||
magic-and-hierarchy.xml
|
|
||||||
magic-and-hierarchy2.foo
|
|
||||||
qml-again.xml
|
|
||||||
test.qml
|
|
||||||
text-x-objcsrc.xml
|
|
||||||
yast2-metapackage-handler-mimetypes.xml
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:qmimedatabase-xml.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:qmimedatabase-xml.pro:<TRUE>:
|
||||||
# CONFIG = "testcase"
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||||
|
|
||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION 2*_x_ - g
|
extend_target(tst_qmimedatabase-xml CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Generated from qmimedatabase-xml.pro.
|
# Generated from qmimedatabase-xml.pro.
|
||||||
|
|
||||||
|
if(NOT QT_FEATURE_private_tests)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
## tst_qmimedatabase-xml Test:
|
## tst_qmimedatabase-xml Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-xml
|
add_qt_test(tst_qmimedatabase-xml
|
||||||
GUI
|
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-xml.cpp
|
tst_qmimedatabase-xml.cpp
|
||||||
@ -14,6 +17,30 @@ add_qt_test(tst_qmimedatabase-xml
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
|
# special case begin
|
||||||
|
# the freedesktop resources are handled manually below via mimetypes_resources.cmake
|
||||||
|
#set(mimetypes_resource_files
|
||||||
|
#"mime/packages/freedesktop.org.xml"
|
||||||
|
#)
|
||||||
|
# special case end
|
||||||
|
set_source_files_properties("../invalid-magic1.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic1.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic2.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic2.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../invalid-magic3.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "invalid-magic3.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.foo"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy.xml"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy.xml"
|
||||||
|
)
|
||||||
|
set_source_files_properties("../magic-and-hierarchy2.foo"
|
||||||
|
PROPERTIES QT_RESOURCE_ALIAS "magic-and-hierarchy2.foo"
|
||||||
|
)
|
||||||
set_source_files_properties("../qml-again.xml"
|
set_source_files_properties("../qml-again.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "qml-again.xml"
|
||||||
)
|
)
|
||||||
@ -26,22 +53,26 @@ set_source_files_properties("../text-x-objcsrc.xml"
|
|||||||
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
set_source_files_properties("../yast2-metapackage-handler-mimetypes.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
set(testdata_resource_files
|
||||||
|
"invalid-magic1.xml"
|
||||||
|
"invalid-magic2.xml"
|
||||||
|
"invalid-magic3.xml"
|
||||||
|
"magic-and-hierarchy.foo"
|
||||||
|
"magic-and-hierarchy.xml"
|
||||||
|
"magic-and-hierarchy2.foo"
|
||||||
|
"qml-again.xml"
|
||||||
|
"test.qml"
|
||||||
|
"text-x-objcsrc.xml"
|
||||||
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
".."
|
".."
|
||||||
FILES
|
FILES
|
||||||
invalid-magic1.xml
|
${testdata_resource_files}
|
||||||
invalid-magic2.xml
|
|
||||||
invalid-magic3.xml
|
|
||||||
magic-and-hierarchy.foo
|
|
||||||
magic-and-hierarchy.xml
|
|
||||||
magic-and-hierarchy2.foo
|
|
||||||
qml-again.xml
|
|
||||||
test.qml
|
|
||||||
text-x-objcsrc.xml
|
|
||||||
yast2-metapackage-handler-mimetypes.xml
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# special case begin
|
# special case begin
|
||||||
@ -51,12 +82,12 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-xml)
|
|||||||
# special case end
|
# special case end
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:qmimedatabase-xml.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:qmimedatabase-xml.pro:<TRUE>:
|
||||||
# CONFIG = "testcase"
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||||
|
|
||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION CMAKE_COMPILER_IS_GNUCXX # special case
|
extend_target(tst_qmimedatabase-xml CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
|
@ -10,6 +10,3 @@ add_qt_test(tst_qmimetype
|
|||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:qmimetype.pro:<TRUE>:
|
|
||||||
# CONFIG = "testcase"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user