Regenerate coreliob/io tests
With a few special cases to make the tests pass. Biggest one is the qlockfile_test_helper. Also a few tests have some problems and have not been ported yet: qfileselector, qresourceengine, qprocess. Change-Id: I91a5210b13e7a0697774d909449a71f46af0a0ba Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
4572ded8b3
commit
7947032e2d
56
tests/auto/corelib/io/.prev_CMakeLists.txt
Normal file
56
tests/auto/corelib/io/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,56 @@
|
||||
# Generated from io.pro.
|
||||
|
||||
if(QT_FEATURE_private_tests)
|
||||
add_subdirectory(qabstractfileengine)
|
||||
add_subdirectory(qfileinfo)
|
||||
add_subdirectory(qipaddress)
|
||||
add_subdirectory(qloggingregistry)
|
||||
add_subdirectory(qurlinternal)
|
||||
endif()
|
||||
add_subdirectory(qbuffer)
|
||||
add_subdirectory(qdataurl)
|
||||
add_subdirectory(qdiriterator)
|
||||
add_subdirectory(qfile)
|
||||
add_subdirectory(largefile)
|
||||
add_subdirectory(qfileselector)
|
||||
add_subdirectory(qfilesystemmetadata)
|
||||
add_subdirectory(qloggingcategory)
|
||||
add_subdirectory(qnodebug)
|
||||
add_subdirectory(qsavefile)
|
||||
add_subdirectory(qstandardpaths)
|
||||
add_subdirectory(qtemporarydir)
|
||||
add_subdirectory(qtemporaryfile)
|
||||
add_subdirectory(qurlquery)
|
||||
if(TARGET Qt::Concurrent)
|
||||
add_subdirectory(qdebug)
|
||||
add_subdirectory(qlockfile)
|
||||
add_subdirectory(qurl)
|
||||
endif()
|
||||
if(NOT ANDROID)
|
||||
add_subdirectory(qdir)
|
||||
add_subdirectory(qresourceengine)
|
||||
endif()
|
||||
if(QT_FEATURE_private_tests OR UNIX)
|
||||
add_subdirectory(qfilesystementry)
|
||||
endif()
|
||||
if(QT_FEATURE_filesystemwatcher)
|
||||
add_subdirectory(qfilesystemwatcher)
|
||||
endif()
|
||||
if(TARGET Qt::Network)
|
||||
add_subdirectory(qiodevice)
|
||||
endif()
|
||||
if(QT_FEATURE_process AND TARGET Qt::Network AND NOT ANDROID)
|
||||
add_subdirectory(qprocess)
|
||||
endif()
|
||||
if(QT_FEATURE_process)
|
||||
add_subdirectory(qprocess-noapplication)
|
||||
endif()
|
||||
if(QT_FEATURE_processenvironment)
|
||||
add_subdirectory(qprocessenvironment)
|
||||
endif()
|
||||
if(QT_FEATURE_settings AND TARGET Qt::Gui)
|
||||
add_subdirectory(qsettings)
|
||||
endif()
|
||||
if(NOT WINRT)
|
||||
add_subdirectory(qstorageinfo)
|
||||
endif()
|
@ -1,15 +1,56 @@
|
||||
add_subdirectory(largefile)
|
||||
add_subdirectory(qabstractfileengine)
|
||||
# Generated from io.pro.
|
||||
|
||||
if(QT_FEATURE_private_tests)
|
||||
add_subdirectory(qabstractfileengine)
|
||||
add_subdirectory(qfileinfo)
|
||||
add_subdirectory(qipaddress)
|
||||
add_subdirectory(qloggingregistry)
|
||||
add_subdirectory(qurlinternal)
|
||||
endif()
|
||||
add_subdirectory(qbuffer)
|
||||
add_subdirectory(qdataurl)
|
||||
if(QT_FEATURE_private_tests)
|
||||
add_subdirectory(qdiriterator)
|
||||
add_subdirectory(qfile)
|
||||
add_subdirectory(largefile)
|
||||
# add_subdirectory(qfileselector) # special case needs fixes
|
||||
add_subdirectory(qfilesystemmetadata)
|
||||
add_subdirectory(qloggingcategory)
|
||||
add_subdirectory(qnodebug)
|
||||
add_subdirectory(qsavefile)
|
||||
add_subdirectory(qstandardpaths)
|
||||
add_subdirectory(qtemporarydir)
|
||||
add_subdirectory(qtemporaryfile)
|
||||
add_subdirectory(qurlquery)
|
||||
if(TARGET Qt::Concurrent)
|
||||
add_subdirectory(qdebug)
|
||||
add_subdirectory(qlockfile)
|
||||
add_subdirectory(qurl)
|
||||
endif()
|
||||
if(NOT ANDROID)
|
||||
add_subdirectory(qdir)
|
||||
# add_subdirectory(qresourceengine) # special case needs fixes
|
||||
endif()
|
||||
if(QT_FEATURE_private_tests OR UNIX)
|
||||
add_subdirectory(qfilesystementry)
|
||||
endif()
|
||||
add_subdirectory(qfilesystemwatcher)
|
||||
add_subdirectory(qipaddress)
|
||||
# add_subdirectory(qloggingcategory)
|
||||
add_subdirectory(qnodebug)
|
||||
add_subdirectory(qprocessenvironment)
|
||||
add_subdirectory(qstorageinfo)
|
||||
add_subdirectory(qurlquery)
|
||||
|
||||
if(QT_FEATURE_filesystemwatcher)
|
||||
add_subdirectory(qfilesystemwatcher)
|
||||
endif()
|
||||
if(TARGET Qt::Network)
|
||||
add_subdirectory(qiodevice)
|
||||
endif()
|
||||
if(QT_FEATURE_process AND TARGET Qt::Network AND NOT ANDROID)
|
||||
# add_subdirectory(qprocess) # special case needs fixes
|
||||
endif()
|
||||
if(QT_FEATURE_process)
|
||||
add_subdirectory(qprocess-noapplication)
|
||||
endif()
|
||||
if(QT_FEATURE_processenvironment)
|
||||
add_subdirectory(qprocessenvironment)
|
||||
endif()
|
||||
if(QT_FEATURE_settings AND TARGET Qt::Gui)
|
||||
add_subdirectory(qsettings)
|
||||
endif()
|
||||
if(NOT WINRT)
|
||||
add_subdirectory(qstorageinfo)
|
||||
endif()
|
||||
|
@ -1,6 +1,14 @@
|
||||
add_qt_test(tst_largefile SOURCES
|
||||
tst_largefile.cpp
|
||||
# Generated from largefile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_largefile Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_largefile
|
||||
GUI
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_largefile.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared/
|
||||
../../../../shared
|
||||
)
|
||||
|
@ -5,18 +5,18 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qabstractfileengine
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qabstractfileengine.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qabstractfileengine "qabstractfileengine" PREFIX "/tst_qabstractfileengine/" FILES
|
||||
resources/)
|
||||
add_qt_resource(tst_qabstractfileengine "qabstractfileengine"
|
||||
PREFIX
|
||||
"/tst_qabstractfileengine/"
|
||||
FILES
|
||||
"resources/"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qabstractfileengine.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
@ -1 +1,11 @@
|
||||
add_qt_test(tst_qbuffer SOURCES tst_qbuffer.cpp)
|
||||
# Generated from qbuffer.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qbuffer Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qbuffer
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qbuffer.cpp
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test(tst_qdataurl SOURCES tst_qdataurl.cpp LIBRARIES Qt::CorePrivate)
|
||||
# Generated from qdataurl.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdataurl Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdataurl
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qdataurl.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
@ -5,11 +5,9 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdebug
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qdebug.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qdebug.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
91
tests/auto/corelib/io/qdir/CMakeLists.txt
Normal file
91
tests/auto/corelib/io/qdir/CMakeLists.txt
Normal file
@ -0,0 +1,91 @@
|
||||
# Generated from qdir.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdir Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "testdir")
|
||||
list(APPEND test_data "testData")
|
||||
list(APPEND test_data "searchdir")
|
||||
list(APPEND test_data "resources")
|
||||
list(APPEND test_data "entrylist")
|
||||
list(APPEND test_data "types")
|
||||
list(APPEND test_data "tst_qdir.cpp")
|
||||
|
||||
add_qt_test(tst_qdir
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qdir.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qdir "qdir"
|
||||
PREFIX
|
||||
"/tst_qdir/"
|
||||
FILES
|
||||
"resources/entryList/"
|
||||
)
|
||||
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:.:qdir.pro:APPLE_IOS:
|
||||
# QMAKE_INFO_PLIST = "Info.plist"
|
||||
|
||||
extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
|
||||
DEFINES
|
||||
BUILTIN_TESTDATA
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qdir "android_testdata"
|
||||
PREFIX
|
||||
"/android_testdata"
|
||||
FILES
|
||||
"entrylist/directory/dummy"
|
||||
"entrylist/file"
|
||||
"resources/entryList/file1.data"
|
||||
"resources/entryList/file2.data"
|
||||
"resources/entryList/file3.data"
|
||||
"resources/entryList/file4.nothing"
|
||||
"searchdir/subdir1/picker.png"
|
||||
"searchdir/subdir2/picker.png"
|
||||
"testData/empty"
|
||||
"testdir/dir/qdir.pro"
|
||||
"testdir/dir/qrc_qdir.cpp"
|
||||
"testdir/dir/tmp/empty"
|
||||
"testdir/dir/tst_qdir.cpp"
|
||||
"testdir/spaces/foo. bar"
|
||||
"testdir/spaces/foo.bar"
|
||||
"tst_qdir.cpp"
|
||||
"types/a"
|
||||
"types/a.a"
|
||||
"types/a.b"
|
||||
"types/a.c"
|
||||
"types/b"
|
||||
"types/b.a"
|
||||
"types/b.b"
|
||||
"types/b.c"
|
||||
"types/c"
|
||||
"types/c.a"
|
||||
"types/c.b"
|
||||
"types/c.c"
|
||||
"types/d.a/dummy"
|
||||
"types/d.b/dummy"
|
||||
"types/d.c/dummy"
|
||||
"types/d/dummy"
|
||||
"types/e.a/dummy"
|
||||
"types/e.b/dummy"
|
||||
"types/e.c/dummy"
|
||||
"types/e/dummy"
|
||||
"types/f.a/dummy"
|
||||
"types/f.b/dummy"
|
||||
"types/f.c/dummy"
|
||||
"types/f/dummy"
|
||||
)
|
||||
|
13
tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt
Normal file
13
tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# Generated from qdir.pro.
|
||||
|
||||
#####################################################################
|
||||
## qdir Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(qdir
|
||||
GUI
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -4,23 +4,28 @@
|
||||
## tst_qdiriterator Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "entrylist")
|
||||
|
||||
add_qt_test(tst_qdiriterator
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qdiriterator.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qdiriterator "qdiriterator" PREFIX "/testdata/" FILES
|
||||
entrylist/directory/dummy
|
||||
entrylist/file)
|
||||
add_qt_resource(tst_qdiriterator "qdiriterator"
|
||||
PREFIX
|
||||
"/testdata/"
|
||||
FILES
|
||||
"entrylist/directory/dummy"
|
||||
"entrylist/file"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qdiriterator.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "entrylist"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
78
tests/auto/corelib/io/qfile/.prev_CMakeLists.txt
Normal file
78
tests/auto/corelib/io/qfile/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,78 @@
|
||||
# Generated from qfile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfile Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "BLACKLIST")
|
||||
list(APPEND test_data "dosfile.txt")
|
||||
list(APPEND test_data "noendofline.txt")
|
||||
list(APPEND test_data "testfile.txt")
|
||||
list(APPEND test_data "testlog.txt")
|
||||
list(APPEND test_data "two.dots.file")
|
||||
list(APPEND test_data "tst_qfile.cpp")
|
||||
list(APPEND test_data "Makefile")
|
||||
list(APPEND test_data "forCopying.txt")
|
||||
list(APPEND test_data "forRenaming.txt")
|
||||
list(APPEND test_data "resources/file1.ext1")
|
||||
|
||||
add_qt_test(tst_qfile
|
||||
GUI
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qfile.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfile "qfile"
|
||||
PREFIX
|
||||
"/tst_qfileinfo/"
|
||||
FILES
|
||||
"resources/"
|
||||
)
|
||||
add_qt_resource(tst_qfile "rename-fallback"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"rename-fallback.qrc"
|
||||
)
|
||||
add_qt_resource(tst_qfile "copy-fallback"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"copy-fallback.qrc"
|
||||
)
|
||||
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qfile CONDITION TARGET Qt::Network
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
|
||||
DEFINES
|
||||
QT_NO_NETWORK
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
|
||||
DEFINES
|
||||
BUILTIN_TESTDATA
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
ole32
|
||||
uuid
|
||||
)
|
||||
if(NOT WINRT)
|
||||
add_subdirectory(stdinprocess)
|
||||
endif()
|
@ -4,7 +4,21 @@
|
||||
## tst_qfile Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "BLACKLIST")
|
||||
list(APPEND test_data "dosfile.txt")
|
||||
list(APPEND test_data "noendofline.txt")
|
||||
list(APPEND test_data "testfile.txt")
|
||||
list(APPEND test_data "testlog.txt")
|
||||
list(APPEND test_data "two.dots.file")
|
||||
list(APPEND test_data "tst_qfile.cpp")
|
||||
# list(APPEND test_data "Makefile") # special case remove
|
||||
list(APPEND test_data "forCopying.txt")
|
||||
list(APPEND test_data "forRenaming.txt")
|
||||
list(APPEND test_data "resources/file1.ext1")
|
||||
|
||||
add_qt_test(tst_qfile
|
||||
GUI
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qfile.cpp
|
||||
@ -12,21 +26,30 @@ add_qt_test(tst_qfile
|
||||
../../../../shared
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfile "qfile" PREFIX "/tst_qfileinfo/" FILES
|
||||
resources/)
|
||||
add_qt_resource(tst_qfile "rename-fallback" FILES
|
||||
rename-fallback.qrc)
|
||||
add_qt_resource(tst_qfile "copy-fallback" FILES
|
||||
copy-fallback.qrc)
|
||||
add_qt_resource(tst_qfile "qfile"
|
||||
PREFIX
|
||||
"/tst_qfileinfo/"
|
||||
FILES
|
||||
"resources/"
|
||||
)
|
||||
add_qt_resource(tst_qfile "rename-fallback"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"rename-fallback.qrc"
|
||||
)
|
||||
add_qt_resource(tst_qfile "copy-fallback"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"copy-fallback.qrc"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 3:.:.:test.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "BLACKLIST" "dosfile.txt" "noendofline.txt" "testfile.txt" "testlog.txt" "two.dots.file" "tst_qfile.cpp" "Makefile" "forCopying.txt" "forRenaming.txt" "resources/file1.ext1"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
@ -35,7 +58,7 @@ extend_target(tst_qfile CONDITION TARGET Qt::Network
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION NOT (TARGET Qt::Network)
|
||||
extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
|
||||
DEFINES
|
||||
QT_NO_NETWORK
|
||||
)
|
||||
@ -50,7 +73,6 @@ extend_target(tst_qfile CONDITION WIN32 AND NOT WINRT
|
||||
ole32
|
||||
uuid
|
||||
)
|
||||
|
||||
if(NOT WINRT)
|
||||
add_subdirectory(stdinprocess)
|
||||
endif()
|
||||
|
@ -1,11 +1,10 @@
|
||||
# Generated from stdinprocess.pro.
|
||||
|
||||
#####################################################################
|
||||
## stdinprocess Binary:
|
||||
## stdinprocess_helper Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(stdinprocess
|
||||
GUI
|
||||
add_qt_test_helper(stdinprocess_helper
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
@ -5,6 +5,7 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfileinfo
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qfileinfo.cpp
|
||||
LIBRARIES
|
||||
@ -12,18 +13,23 @@ add_qt_test(tst_qfileinfo
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfileinfo "qfileinfo" PREFIX "/tst_qfileinfo/" FILES
|
||||
resources/)
|
||||
add_qt_resource(tst_qfileinfo "testdata" PREFIX "/testdata" FILES
|
||||
resources/file1
|
||||
resources/file1.ext1
|
||||
resources/file1.ext1.ext2
|
||||
tst_qfileinfo.cpp)
|
||||
add_qt_resource(tst_qfileinfo "qfileinfo"
|
||||
PREFIX
|
||||
"/tst_qfileinfo/"
|
||||
FILES
|
||||
"resources/"
|
||||
)
|
||||
add_qt_resource(tst_qfileinfo "testdata"
|
||||
PREFIX
|
||||
"/testdata"
|
||||
FILES
|
||||
"resources/file1"
|
||||
"resources/file1.ext1"
|
||||
"resources/file1.ext1.ext2"
|
||||
"tst_qfileinfo.cpp"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfileinfo.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Generated from qfileselector.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfileselectors Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfileselectors
|
||||
SOURCES
|
||||
tst_qfileselector.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfileselectors "qfileselector" PREFIX "/" FILES
|
||||
extras/+custom1/test
|
||||
extras/+custom1/test3
|
||||
extras/+custom2/test
|
||||
extras/+custom3/+custom2/test
|
||||
extras/+custom3/+custom4/test
|
||||
extras/+custom3/+custom5/test
|
||||
extras/+custom3/test
|
||||
extras/+custom5/+custom3/test
|
||||
extras/test
|
||||
extras/test2
|
||||
platforms/+android/test
|
||||
platforms/+android/test2
|
||||
platforms/+darwin/test
|
||||
platforms/+haiku/test
|
||||
platforms/+haiku/test2
|
||||
platforms/+ios/test
|
||||
platforms/+ios/test2
|
||||
platforms/+linux/test
|
||||
platforms/+linux/test2
|
||||
platforms/+macos/test
|
||||
platforms/+macos/test2
|
||||
platforms/+qnx/test
|
||||
platforms/+qnx/test2
|
||||
platforms/+unix/+android/test
|
||||
platforms/+unix/+darwin/+ios/test
|
||||
platforms/+unix/+darwin/+macos/test
|
||||
platforms/+unix/+darwin/test
|
||||
platforms/+unix/+haiku/test
|
||||
platforms/+unix/+linux/test
|
||||
platforms/+unix/+qnx/test
|
||||
platforms/+unix/test
|
||||
platforms/+unix/test3
|
||||
platforms/+wince/test
|
||||
platforms/+wince/test2
|
||||
platforms/+windows/+wince/test
|
||||
platforms/+windows/+winnt/test
|
||||
platforms/+windows/+winrt/test
|
||||
platforms/+windows/test
|
||||
platforms/+windows/test3
|
||||
platforms/+winnt/test2
|
||||
platforms/+winrt/test
|
||||
platforms/+winrt/test2
|
||||
platforms/test
|
||||
platforms/test2
|
||||
platforms/test3
|
||||
platforms/test4
|
||||
platforms/test5)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfileselector.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
@ -12,6 +12,3 @@ add_qt_test(tst_qfilesystementry
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfilesystementry.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
@ -5,11 +5,9 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfilesystemmetadata
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qfilesystemmetadata.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfilesystemmetadata.pro:<TRUE>:
|
||||
# CONFIG = "testcase" "parallel_test"
|
||||
|
@ -1 +1,11 @@
|
||||
add_qt_test(tst_qfilesystemwatcher SOURCES tst_qfilesystemwatcher.cpp)
|
||||
# Generated from qfilesystemwatcher.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfilesystemwatcher Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfilesystemwatcher
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qfilesystemwatcher.cpp
|
||||
)
|
||||
|
@ -4,22 +4,29 @@
|
||||
## tst_qiodevice Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "tst_qiodevice.cpp")
|
||||
|
||||
add_qt_test(tst_qiodevice
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qiodevice.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qiodevice.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# MOC_DIR = "tmp"
|
||||
# TESTDATA = "tst_qiodevice.cpp"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qiodevice "android_testdata" PREFIX "/" FILES
|
||||
tst_qiodevice.cpp)
|
||||
add_qt_resource(tst_qiodevice "android_testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"tst_qiodevice.cpp"
|
||||
)
|
||||
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test(tst_qipaddress SOURCES tst_qipaddress.cpp LIBRARIES Qt::CorePrivate)
|
||||
# Generated from qipaddress.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qipaddress Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qipaddress
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qipaddress.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
24
tests/auto/corelib/io/qlockfile/CMakeLists.txt
Normal file
24
tests/auto/corelib/io/qlockfile/CMakeLists.txt
Normal file
@ -0,0 +1,24 @@
|
||||
# Generated from qlockfile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qlockfile Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qlockfile
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qlockfile.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qlockfile CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
advapi32
|
||||
)
|
||||
add_subdirectory(qlockfiletesthelper)
|
@ -0,0 +1,11 @@
|
||||
# Generated from qlockfile_test_helper.pro.
|
||||
|
||||
#####################################################################
|
||||
## qlockfile_test_helper Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(qlockfile_test_helper
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
|
||||
SOURCES
|
||||
qlockfile_test_helper.cpp
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
# Generated from qlockfile_test_helper.pro.
|
||||
|
||||
#####################################################################
|
||||
## qlockfile_test_helper Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test_helper(qlockfile_test_helper # special case
|
||||
OVERRIDE_OUTPUT_DIRECTORY # special case
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
|
||||
SOURCES
|
||||
qlockfile_test_helper.cpp
|
||||
)
|
@ -1 +1,16 @@
|
||||
add_qt_test(tst_qloggingcategory SOURCES tst_qloggingcategory.cpp LIBRARIES Qt::CorePrivate)
|
||||
# Generated from qloggingcategory.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qloggingcategory Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qloggingcategory
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qloggingcategory.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qloggingcategory.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
@ -4,22 +4,29 @@
|
||||
## tst_qloggingregistry Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "qtlogging.ini")
|
||||
|
||||
add_qt_test(tst_qloggingregistry
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qloggingregistry.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qloggingregistry.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TEMPLATE = "app"
|
||||
# TESTDATA = "qtlogging.ini"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qloggingregistry "android_testdata" PREFIX "/" FILES
|
||||
qtlogging.ini)
|
||||
add_qt_resource(tst_qloggingregistry "android_testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"qtlogging.ini"
|
||||
)
|
||||
|
||||
|
@ -1 +1,11 @@
|
||||
add_qt_test(tst_qnodebug SOURCES tst_qnodebug.cpp)
|
||||
# Generated from qnodebug.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qnodebug Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qnodebug
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qnodebug.cpp
|
||||
)
|
||||
|
11
tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt
Normal file
11
tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# Generated from qprocess-noapplication.pro.
|
||||
|
||||
#####################################################################
|
||||
## qprocess-noapplication Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(qprocess-noapplication
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qprocessnoapplication.cpp
|
||||
)
|
@ -1 +1,11 @@
|
||||
add_qt_test(tst_qprocessenvironment SOURCES tst_qprocessenvironment.cpp)
|
||||
# Generated from qprocessenvironment.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qprocessenvironment Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qprocessenvironment
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qprocessenvironment.cpp
|
||||
)
|
||||
|
@ -4,11 +4,12 @@
|
||||
## tst_qsavefile Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "tst_qsavefile.cpp")
|
||||
|
||||
add_qt_test(tst_qsavefile
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qsavefile.cpp
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qsavefile.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qsavefile.cpp"
|
||||
|
@ -5,6 +5,7 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsettings
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qsettings.cpp
|
||||
DEFINES
|
||||
@ -18,20 +19,21 @@ add_qt_test(tst_qsettings
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qsettings "qsettings" PREFIX "/" 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"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qsettings.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
@ -4,18 +4,20 @@
|
||||
## tst_qstandardpaths Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
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
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qstandardpaths.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qstandardpaths.cpp" "qstandardpaths.pro"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test(tst_qstorageinfo SOURCES tst_qstorageinfo.cpp LIBRARIES Qt::CorePrivate)
|
||||
# Generated from qstorageinfo.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qstorageinfo Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qstorageinfo
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qstorageinfo.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
@ -5,6 +5,7 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtemporarydir
|
||||
GUI
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qtemporarydir.cpp
|
||||
@ -13,6 +14,3 @@ add_qt_test(tst_qtemporarydir
|
||||
LIBRARIES
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtemporarydir.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
@ -4,27 +4,36 @@
|
||||
## tst_qtemporaryfile Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "tst_qtemporaryfile.cpp")
|
||||
|
||||
add_qt_test(tst_qtemporaryfile
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qtemporaryfile.cpp
|
||||
LIBRARIES
|
||||
Qt::TestPrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qtemporaryfile "qtemporaryfile" FILES
|
||||
resources/test.txt)
|
||||
add_qt_resource(tst_qtemporaryfile "qtemporaryfile"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
"resources/test.txt"
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtemporaryfile.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qtemporaryfile.cpp"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qtemporaryfile "android_testdata" PREFIX "/android_testdata" FILES
|
||||
resources/test.txt
|
||||
tst_qtemporaryfile.cpp)
|
||||
add_qt_resource(tst_qtemporaryfile "android_testdata"
|
||||
PREFIX
|
||||
"/android_testdata"
|
||||
FILES
|
||||
"resources/test.txt"
|
||||
"tst_qtemporaryfile.cpp"
|
||||
)
|
||||
|
||||
|
@ -5,19 +5,17 @@
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qurl
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qurl.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qurl.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qurl CONDITION APPLE_OSX
|
||||
extend_target(tst_qurl CONDITION APPLE
|
||||
SOURCES
|
||||
tst_qurl_mac.mm
|
||||
)
|
||||
|
@ -5,12 +5,10 @@
|
||||
#####################################################################
|
||||
|
||||
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>:
|
||||
# CONFIG = "testcase"
|
||||
|
@ -1 +1,15 @@
|
||||
add_qt_test(tst_qurlquery SOURCES tst_qurlquery.cpp LIBRARIES Qt::CorePrivate)
|
||||
# Generated from qurlquery.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qurlquery Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qurlquery
|
||||
GUI
|
||||
SOURCES
|
||||
tst_qurlquery.cpp
|
||||
DEFINES
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user