summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/corelib/io/qdebug/CMakeLists.txt15
-rw-r--r--tests/auto/corelib/io/qdiriterator/CMakeLists.txt30
-rw-r--r--tests/auto/corelib/io/qfile/CMakeLists.txt56
-rw-r--r--tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt14
-rw-r--r--tests/auto/corelib/io/qfileinfo/CMakeLists.txt34
-rw-r--r--tests/auto/corelib/io/qfileselector/CMakeLists.txt66
-rw-r--r--tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt15
-rw-r--r--tests/auto/corelib/io/qiodevice/CMakeLists.txt25
-rw-r--r--tests/auto/corelib/io/qloggingregistry/CMakeLists.txt25
-rw-r--r--tests/auto/corelib/io/qsavefile/CMakeLists.txt14
-rw-r--r--tests/auto/corelib/io/qsettings/CMakeLists.txt46
-rw-r--r--tests/auto/corelib/io/qstandardpaths/CMakeLists.txt25
-rw-r--r--tests/auto/corelib/io/qtemporarydir/CMakeLists.txt18
-rw-r--r--tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt30
-rw-r--r--tests/auto/corelib/io/qurl/CMakeLists.txt23
-rw-r--r--tests/auto/corelib/io/qurlinternal/CMakeLists.txt16
16 files changed, 452 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qdebug/CMakeLists.txt b/tests/auto/corelib/io/qdebug/CMakeLists.txt
new file mode 100644
index 0000000000..f19d6bad45
--- /dev/null
+++ b/tests/auto/corelib/io/qdebug/CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qdebug.pro.
+
+#####################################################################
+## tst_qdebug Test:
+#####################################################################
+
+add_qt_test(tst_qdebug
+ SOURCES
+ tst_qdebug.cpp
+ PUBLIC_LIBRARIES
+ Qt::Concurrent
+)
+
+#### Keys ignored in scope 1:.:.:qdebug.pro:<TRUE>:
+# CONFIG = "testcase"
diff --git a/tests/auto/corelib/io/qdiriterator/CMakeLists.txt b/tests/auto/corelib/io/qdiriterator/CMakeLists.txt
new file mode 100644
index 0000000000..098f3f1d37
--- /dev/null
+++ b/tests/auto/corelib/io/qdiriterator/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from qdiriterator.pro.
+
+#####################################################################
+## tst_qdiriterator Test:
+#####################################################################
+
+add_qt_test(tst_qdiriterator
+ SOURCES
+ tst_qdiriterator.cpp
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# Resources:
+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:
+#####################################################################
+
+extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
+ DEFINES
+ BUILTIN_TESTDATA
+)
diff --git a/tests/auto/corelib/io/qfile/CMakeLists.txt b/tests/auto/corelib/io/qfile/CMakeLists.txt
new file mode 100644
index 0000000000..dcc9c85f5d
--- /dev/null
+++ b/tests/auto/corelib/io/qfile/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from qfile.pro.
+
+#####################################################################
+## tst_qfile Test:
+#####################################################################
+
+add_qt_test(tst_qfile
+ SOURCES
+ ../../../../shared/emulationdetector.h
+ tst_qfile.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../shared
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# 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)
+
+
+#### 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:
+#####################################################################
+
+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()
diff --git a/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
new file mode 100644
index 0000000000..508e16ecc4
--- /dev/null
+++ b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from stdinprocess.pro.
+
+#####################################################################
+## stdinprocess Binary:
+#####################################################################
+
+add_qt_executable(stdinprocess
+ GUI
+ SOURCES
+ main.cpp
+)
+
+#### Keys ignored in scope 1:.:.:stdinprocess.pro:<TRUE>:
+# _LOADED = "qt_test_helper"
diff --git a/tests/auto/corelib/io/qfileinfo/CMakeLists.txt b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
new file mode 100644
index 0000000000..58ef56d31e
--- /dev/null
+++ b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from qfileinfo.pro.
+
+#####################################################################
+## tst_qfileinfo Test:
+#####################################################################
+
+add_qt_test(tst_qfileinfo
+ SOURCES
+ tst_qfileinfo.cpp
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# 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)
+
+
+#### Keys ignored in scope 1:.:.:qfileinfo.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qfileinfo CONDITION WIN32 AND NOT WINRT
+ PUBLIC_LIBRARIES
+ advapi32
+ netapi32
+)
diff --git a/tests/auto/corelib/io/qfileselector/CMakeLists.txt b/tests/auto/corelib/io/qfileselector/CMakeLists.txt
new file mode 100644
index 0000000000..d7f0b539b6
--- /dev/null
+++ b/tests/auto/corelib/io/qfileselector/CMakeLists.txt
@@ -0,0 +1,66 @@
+# 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"
diff --git a/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt b/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
new file mode 100644
index 0000000000..bf9eba566d
--- /dev/null
+++ b/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qfilesystemmetadata.pro.
+
+#####################################################################
+## tst_qfilesystemmetadata Test:
+#####################################################################
+
+add_qt_test(tst_qfilesystemmetadata
+ SOURCES
+ tst_qfilesystemmetadata.cpp
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+#### Keys ignored in scope 1:.:.:qfilesystemmetadata.pro:<TRUE>:
+# CONFIG = "testcase" "parallel_test"
diff --git a/tests/auto/corelib/io/qiodevice/CMakeLists.txt b/tests/auto/corelib/io/qiodevice/CMakeLists.txt
new file mode 100644
index 0000000000..d47a72241a
--- /dev/null
+++ b/tests/auto/corelib/io/qiodevice/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qiodevice.pro.
+
+#####################################################################
+## tst_qiodevice Test:
+#####################################################################
+
+add_qt_test(tst_qiodevice
+ SOURCES
+ tst_qiodevice.cpp
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+#### 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)
+
diff --git a/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
new file mode 100644
index 0000000000..a2ef7bd3ad
--- /dev/null
+++ b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qloggingregistry.pro.
+
+#####################################################################
+## tst_qloggingregistry Test:
+#####################################################################
+
+add_qt_test(tst_qloggingregistry
+ SOURCES
+ tst_qloggingregistry.cpp
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+#### 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)
+
diff --git a/tests/auto/corelib/io/qsavefile/CMakeLists.txt b/tests/auto/corelib/io/qsavefile/CMakeLists.txt
new file mode 100644
index 0000000000..c22fe475dd
--- /dev/null
+++ b/tests/auto/corelib/io/qsavefile/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from qsavefile.pro.
+
+#####################################################################
+## tst_qsavefile Test:
+#####################################################################
+
+add_qt_test(tst_qsavefile
+ SOURCES
+ tst_qsavefile.cpp
+)
+
+#### Keys ignored in scope 1:.:.:qsavefile.pro:<TRUE>:
+# CONFIG = "testcase"
+# TESTDATA = "tst_qsavefile.cpp"
diff --git a/tests/auto/corelib/io/qsettings/CMakeLists.txt b/tests/auto/corelib/io/qsettings/CMakeLists.txt
new file mode 100644
index 0000000000..8634169d4d
--- /dev/null
+++ b/tests/auto/corelib/io/qsettings/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from qsettings.pro.
+
+#####################################################################
+## tst_qsettings Test:
+#####################################################################
+
+add_qt_test(tst_qsettings
+ SOURCES
+ tst_qsettings.cpp
+ DEFINES
+ QT_DISABLE_DEPRECATED_BEFORE=0
+ INCLUDE_DIRECTORIES
+ ../../kernel/qmetatype
+ LIBRARIES
+ Qt::CorePrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# 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)
+
+
+#### Keys ignored in scope 1:.:.:qsettings.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qsettings CONDITION MSVC
+ PUBLIC_LIBRARIES
+ advapi32
+)
+
+extend_target(tst_qsettings CONDITION APPLE
+ PUBLIC_LIBRARIES
+ ${FWCoreFoundation}
+)
diff --git a/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt b/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
new file mode 100644
index 0000000000..a98c65cb44
--- /dev/null
+++ b/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from qstandardpaths.pro.
+
+#####################################################################
+## tst_qstandardpaths Test:
+#####################################################################
+
+add_qt_test(tst_qstandardpaths
+ SOURCES
+ ../../../../shared/emulationdetector.h
+ tst_qstandardpaths.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../shared
+)
+
+#### Keys ignored in scope 1:.:.:qstandardpaths.pro:<TRUE>:
+# CONFIG = "testcase"
+# TESTDATA = "tst_qstandardpaths.cpp" "qstandardpaths.pro"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qstandardpaths CONDITION boot2qt
+ DEFINES
+ SKIP_FINDEXECUTABLE
+)
diff --git a/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt b/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
new file mode 100644
index 0000000000..7f1957df7f
--- /dev/null
+++ b/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qtemporarydir.pro.
+
+#####################################################################
+## tst_qtemporarydir Test:
+#####################################################################
+
+add_qt_test(tst_qtemporarydir
+ SOURCES
+ ../../../../shared/emulationdetector.h
+ tst_qtemporarydir.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../shared
+ LIBRARIES
+ Qt::TestPrivate
+)
+
+#### Keys ignored in scope 1:.:.:qtemporarydir.pro:<TRUE>:
+# CONFIG = "testcase"
diff --git a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
new file mode 100644
index 0000000000..7acf70fd36
--- /dev/null
+++ b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from qtemporaryfile.pro.
+
+#####################################################################
+## tst_qtemporaryfile Test:
+#####################################################################
+
+add_qt_test(tst_qtemporaryfile
+ SOURCES
+ tst_qtemporaryfile.cpp
+ LIBRARIES
+ Qt::TestPrivate
+)
+
+# Resources:
+add_qt_resource(tst_qtemporaryfile "qtemporaryfile" 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)
+
diff --git a/tests/auto/corelib/io/qurl/CMakeLists.txt b/tests/auto/corelib/io/qurl/CMakeLists.txt
new file mode 100644
index 0000000000..2807baabf5
--- /dev/null
+++ b/tests/auto/corelib/io/qurl/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qurl.pro.
+
+#####################################################################
+## tst_qurl Test:
+#####################################################################
+
+add_qt_test(tst_qurl
+ 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
+ SOURCES
+ tst_qurl_mac.mm
+)
diff --git a/tests/auto/corelib/io/qurlinternal/CMakeLists.txt b/tests/auto/corelib/io/qurlinternal/CMakeLists.txt
new file mode 100644
index 0000000000..1953d75f7b
--- /dev/null
+++ b/tests/auto/corelib/io/qurlinternal/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qurlinternal.pro.
+
+#####################################################################
+## tst_qurlinternal Test:
+#####################################################################
+
+add_qt_test(tst_qurlinternal
+ SOURCES
+ ../../codecs/utf8/utf8data.cpp
+ tst_qurlinternal.cpp
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+#### Keys ignored in scope 1:.:.:qurlinternal.pro:<TRUE>:
+# CONFIG = "testcase"