Regenerate tests/auto/corelib/io

Change-Id: Ic1d1b5c0deb90800c7219fb8cce4e77e0db145b8
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:
Alexandru Croitor 2019-11-12 11:53:30 +01:00
parent 681e8b4ead
commit 76590ce220
30 changed files with 99 additions and 74 deletions

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_largefile
GUI
SOURCES
../../../../shared/emulationdetector.h
tst_largefile.cpp

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qabstractfileengine
GUI
SOURCES
tst_qabstractfileengine.cpp
LIBRARIES
@ -13,10 +12,14 @@ add_qt_test(tst_qabstractfileengine
)
# Resources:
set(qabstractfileengine_resource_files
"resources/"
)
add_qt_resource(tst_qabstractfileengine "qabstractfileengine"
PREFIX
"/tst_qabstractfileengine/"
FILES
"resources/"
${qabstractfileengine_resource_files}
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qbuffer
GUI
SOURCES
tst_qbuffer.cpp
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qdataurl
GUI
SOURCES
tst_qdataurl.cpp
LIBRARIES

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qdebug
GUI
SOURCES
tst_qdebug.cpp
PUBLIC_LIBRARIES

View File

@ -14,7 +14,6 @@ list(APPEND test_data "types")
list(APPEND test_data "tst_qdir.cpp")
add_qt_test(tst_qdir
GUI
SOURCES
tst_qdir.cpp
LIBRARIES
@ -23,11 +22,15 @@ add_qt_test(tst_qdir
)
# Resources:
set(qdir_resource_files
"resources/entryList/"
)
add_qt_resource(tst_qdir "qdir"
PREFIX
"/tst_qdir/"
FILES
"resources/entryList/"
${qdir_resource_files}
)
@ -42,11 +45,9 @@ extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
BUILTIN_TESTDATA
)
# Resources:
add_qt_resource(tst_qdir "android_testdata"
PREFIX
"/android_testdata"
FILES
if(ANDROID AND NOT ANDROID_EMBEDDED)
# Resources:
set(android_testdata_resource_files
"entrylist/directory/dummy"
"entrylist/file"
"resources/entryList/file1.data"
@ -87,5 +88,12 @@ add_qt_resource(tst_qdir "android_testdata"
"types/f.b/dummy"
"types/f.c/dummy"
"types/f/dummy"
)
)
add_qt_resource(tst_qdir "android_testdata"
PREFIX
"/android_testdata"
FILES
${android_testdata_resource_files}
)
endif()

View File

@ -8,7 +8,6 @@
list(APPEND test_data "entrylist")
add_qt_test(tst_qdiriterator
GUI
SOURCES
tst_qdiriterator.cpp
LIBRARIES
@ -17,12 +16,16 @@ add_qt_test(tst_qdiriterator
)
# Resources:
set(qdiriterator_resource_files
"entrylist/directory/dummy"
"entrylist/file"
)
add_qt_resource(tst_qdiriterator "qdiriterator"
PREFIX
"/testdata/"
FILES
"entrylist/directory/dummy"
"entrylist/file"
${qdiriterator_resource_files}
)

View File

@ -8,6 +8,3 @@ add_qt_test_helper(stdinprocess_helper
SOURCES
main.cpp
)
#### Keys ignored in scope 1:.:.:stdinprocess.pro:<TRUE>:
# _LOADED = "qt_test_helper"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qfileinfo
GUI
SOURCES
tst_qfileinfo.cpp
LIBRARIES
@ -13,20 +12,28 @@ add_qt_test(tst_qfileinfo
)
# Resources:
set(qfileinfo_resource_files
"resources/"
)
add_qt_resource(tst_qfileinfo "qfileinfo"
PREFIX
"/tst_qfileinfo/"
FILES
"resources/"
${qfileinfo_resource_files}
)
set(testdata_resource_files
"resources/file1"
"resources/file1.ext1"
"resources/file1.ext1.ext2"
"tst_qfileinfo.cpp"
)
add_qt_resource(tst_qfileinfo "testdata"
PREFIX
"/testdata"
FILES
"resources/file1"
"resources/file1.ext1"
"resources/file1.ext1.ext2"
"tst_qfileinfo.cpp"
${testdata_resource_files}
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qfilesystementry
GUI
SOURCES
${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry.cpp ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry_p.h
tst_qfilesystementry.cpp

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qfilesystemmetadata
GUI
SOURCES
tst_qfilesystemmetadata.cpp
LIBRARIES

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qfilesystemwatcher
GUI
SOURCES
tst_qfilesystemwatcher.cpp
)

View File

@ -8,7 +8,6 @@
list(APPEND test_data "tst_qiodevice.cpp")
add_qt_test(tst_qiodevice
GUI
SOURCES
tst_qiodevice.cpp
PUBLIC_LIBRARIES
@ -22,11 +21,16 @@ add_qt_test(tst_qiodevice
## Scopes:
#####################################################################
# Resources:
add_qt_resource(tst_qiodevice "android_testdata"
PREFIX
"/"
FILES
if(ANDROID AND NOT ANDROID_EMBEDDED)
# Resources:
set(android_testdata_resource_files
"tst_qiodevice.cpp"
)
)
add_qt_resource(tst_qiodevice "android_testdata"
PREFIX
"/"
FILES
${android_testdata_resource_files}
)
endif()

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qipaddress
GUI
SOURCES
tst_qipaddress.cpp
LIBRARIES

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_executable(qlockfile_test_helper
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
qlockfile_test_helper.cpp
)

View File

@ -6,7 +6,7 @@
add_qt_test_helper(qlockfile_test_helper # special case
OVERRIDE_OUTPUT_DIRECTORY # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
qlockfile_test_helper.cpp
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qloggingcategory
GUI
SOURCES
tst_qloggingcategory.cpp
LIBRARIES

View File

@ -8,7 +8,6 @@
list(APPEND test_data "qtlogging.ini")
add_qt_test(tst_qloggingregistry
GUI
SOURCES
tst_qloggingregistry.cpp
LIBRARIES
@ -22,11 +21,16 @@ add_qt_test(tst_qloggingregistry
## Scopes:
#####################################################################
# Resources:
add_qt_resource(tst_qloggingregistry "android_testdata"
PREFIX
"/"
FILES
if(ANDROID AND NOT ANDROID_EMBEDDED)
# Resources:
set(android_testdata_resource_files
"qtlogging.ini"
)
)
add_qt_resource(tst_qloggingregistry "android_testdata"
PREFIX
"/"
FILES
${android_testdata_resource_files}
)
endif()

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qnodebug
GUI
SOURCES
tst_qnodebug.cpp
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(qprocess-noapplication
GUI
SOURCES
tst_qprocessnoapplication.cpp
)

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qprocessenvironment
GUI
SOURCES
tst_qprocessenvironment.cpp
)

View File

@ -8,7 +8,6 @@
list(APPEND test_data "tst_qsavefile.cpp")
add_qt_test(tst_qsavefile
GUI
SOURCES
tst_qsavefile.cpp
TESTDATA ${test_data}

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qsettings
GUI
SOURCES
tst_qsettings.cpp
DEFINES
@ -19,18 +18,22 @@ add_qt_test(tst_qsettings
)
# Resources:
set(qsettings_resource_files
"bom.ini"
"resourcefile.ini"
"resourcefile2.ini"
"resourcefile3.ini"
"resourcefile4.ini"
"resourcefile5.ini"
"resourcefile6.plist"
"withcomments.ini"
)
add_qt_resource(tst_qsettings "qsettings"
PREFIX
"/"
FILES
"bom.ini"
"resourcefile.ini"
"resourcefile2.ini"
"resourcefile3.ini"
"resourcefile4.ini"
"resourcefile5.ini"
"resourcefile6.plist"
"withcomments.ini"
${qsettings_resource_files}
)

View File

@ -9,7 +9,6 @@ list(APPEND test_data "tst_qstandardpaths.cpp")
list(APPEND test_data "qstandardpaths.pro")
add_qt_test(tst_qstandardpaths
GUI
SOURCES
../../../../shared/emulationdetector.h
tst_qstandardpaths.cpp

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qstorageinfo
GUI
SOURCES
tst_qstorageinfo.cpp
LIBRARIES

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qtemporarydir
GUI
SOURCES
../../../../shared/emulationdetector.h
tst_qtemporarydir.cpp

View File

@ -8,7 +8,6 @@
list(APPEND test_data "tst_qtemporaryfile.cpp")
add_qt_test(tst_qtemporaryfile
GUI
SOURCES
tst_qtemporaryfile.cpp
LIBRARIES
@ -17,23 +16,32 @@ add_qt_test(tst_qtemporaryfile
)
# Resources:
set(qtemporaryfile_resource_files
"resources/test.txt"
)
add_qt_resource(tst_qtemporaryfile "qtemporaryfile"
PREFIX
"/"
FILES
"resources/test.txt"
${qtemporaryfile_resource_files}
)
## Scopes:
#####################################################################
# Resources:
add_qt_resource(tst_qtemporaryfile "android_testdata"
PREFIX
"/android_testdata"
FILES
if(ANDROID AND NOT ANDROID_EMBEDDED)
# Resources:
set(android_testdata_resource_files
"resources/test.txt"
"tst_qtemporaryfile.cpp"
)
)
add_qt_resource(tst_qtemporaryfile "android_testdata"
PREFIX
"/android_testdata"
FILES
${android_testdata_resource_files}
)
endif()

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qurl
GUI
SOURCES
tst_qurl.cpp
PUBLIC_LIBRARIES

View File

@ -1,14 +1,20 @@
# Generated from qurlinternal.pro.
if(NOT QT_FEATURE_private_tests)
return()
endif()
#####################################################################
## tst_qurlinternal Test:
#####################################################################
add_qt_test(tst_qurlinternal
GUI
SOURCES
../../codecs/utf8/utf8data.cpp
tst_qurlinternal.cpp
LIBRARIES
Qt::CorePrivate
)
#### Keys ignored in scope 1:.:.:qurlinternal.pro:<TRUE>:
# _REQUIREMENTS = "qtConfig(private_tests)"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qurlquery
GUI
SOURCES
tst_qurlquery.cpp
DEFINES