Regenerate tests

Change-Id: I67a6c8f1659e7b471a4fcb92a2699292cf4eea81
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Alexandru Croitor 2019-11-13 19:13:03 +01:00
parent e9cac99f37
commit 387f360b3b
220 changed files with 465 additions and 1838 deletions

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickage
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickage.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickage
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickage.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickage.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickage CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickangleddirection
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickangleddirection.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickangleddirection
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickangleddirection.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickangleddirection.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickangleddirection CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickcumulativedirection
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickcumulativedirection.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickcumulativedirection
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickcumulativedirection.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickcumulativedirection.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickcumulativedirection CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickcustomaffector
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickcustomaffector.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickcustomaffector
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickcustomaffector.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickcustomaffector.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickcustomaffector CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickcustomparticle
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickcustomparticle.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickcustomparticle
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickcustomparticle.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickcustomparticle.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickcustomparticle CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickellipseextruder
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickellipseextruder.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickellipseextruder
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickellipseextruder.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickellipseextruder.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickellipseextruder CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickfriction
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickfriction.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickfriction
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickfriction.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickfriction.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickfriction CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickgravity
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickgravity.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickgravity
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickgravity.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickgravity.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickgravity CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickgroupgoal
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickgroupgoal.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickgroupgoal
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickgroupgoal.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickgroupgoal.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickgroupgoal CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickimageparticle
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickimageparticle.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickimageparticle
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickimageparticle.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickimageparticle.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickimageparticle CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickitemparticle
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickitemparticle.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickitemparticle
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickitemparticle.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickitemparticle.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickitemparticle CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquicklineextruder
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquicklineextruder.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquicklineextruder
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquicklineextruder.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquicklineextruder.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquicklineextruder CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickmaskextruder
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickmaskextruder.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickmaskextruder
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickmaskextruder.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickmaskextruder.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickmaskextruder CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickparticlegroup
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickparticlegroup.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickparticlegroup
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickparticlegroup.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickparticlegroup.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickparticlegroup CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickparticlesystem
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickparticlesystem.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickparticlesystem
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickparticlesystem.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickparticlesystem.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickparticlesystem CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickpointattractor
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickpointattractor.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickpointattractor
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickpointattractor.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickpointattractor.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickpointattractor CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickpointdirection
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickpointdirection.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickpointdirection
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickpointdirection.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickpointdirection.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickpointdirection CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickrectangleextruder
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickrectangleextruder.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickrectangleextruder
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickrectangleextruder.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickrectangleextruder.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickrectangleextruder CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickspritegoal
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickspritegoal.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickspritegoal
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickspritegoal.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickspritegoal.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickspritegoal CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquicktargetdirection
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquicktargetdirection.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquicktargetdirection
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquicktargetdirection.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquicktargetdirection.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquicktargetdirection CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquicktrailemitter
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquicktrailemitter.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquicktrailemitter
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquicktrailemitter.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquicktrailemitter.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquicktrailemitter CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickturbulence
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickturbulence.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickturbulence
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickturbulence.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickturbulence.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickturbulence CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickwander
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickwander.cpp
@ -33,15 +30,9 @@ add_qt_test(tst_qquickwander
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickwander.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickwander.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickwander CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qabstractanimationjob
GUI
SOURCES
tst_qabstractanimationjob.cpp
LIBRARIES
@ -15,11 +14,5 @@ add_qt_test(tst_qabstractanimationjob
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qabstractanimationjob.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qabstractanimationjob.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qanimationgroupjob
GUI
SOURCES
tst_qanimationgroupjob.cpp
LIBRARIES
@ -15,11 +14,5 @@ add_qt_test(tst_qanimationgroupjob
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qanimationgroupjob.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qanimationgroupjob.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qparallelanimationgroupjob
GUI
SOURCES
tst_qparallelanimationgroupjob.cpp
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qparallelanimationgroupjob
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qparallelanimationgroupjob.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qparallelanimationgroupjob.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qpauseanimationjob
GUI
SOURCES
tst_qpauseanimationjob.cpp
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qpauseanimationjob
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qpauseanimationjob.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qpauseanimationjob.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qsequentialanimationgroupjob
GUI
SOURCES
tst_qsequentialanimationgroupjob.cpp
LIBRARIES
@ -15,11 +14,5 @@ add_qt_test(tst_qsequentialanimationgroupjob
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qsequentialanimationgroupjob.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qsequentialanimationgroupjob.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_bindingdependencyapi
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_bindingdependencyapi.cpp
@ -31,15 +28,9 @@ add_qt_test(tst_bindingdependencyapi
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:bindingdependencyapi.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:bindingdependencyapi.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_bindingdependencyapi CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qdebugmessageservice
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -34,15 +31,11 @@ add_qt_test(tst_qdebugmessageservice
)
#### Keys ignored in scope 1:.:.:qdebugmessageservice.pro:<TRUE>:
# CONFIG = "testcase"
# OTHER_FILES = "data/test.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qdebugmessageservice.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qdebugmessageservice CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qpacketprotocol
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -24,15 +23,9 @@ add_qt_test(tst_qpacketprotocol
Qt::QmlDebug
)
#### Keys ignored in scope 1:.:.:qpacketprotocol.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qpacketprotocol.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qpacketprotocol CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmldebugclient
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmldebuggingenabler
GUI
SOURCES
../../../../shared/util.cpp ../../../../shared/util.h
../../shared/debugutil.cpp ../../shared/debugutil_p.h
@ -25,15 +24,11 @@ add_qt_test(tst_qqmldebuggingenabler
)
#### Keys ignored in scope 1:.:.:qqmldebuggingenabler.pro:<TRUE>:
# CONFIG = "testcase" "-debug_and_release_target"
# OTHER_FILES = "data/test.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebuggingenabler.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmldebuggingenabler CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -0,0 +1,23 @@
# Generated from qqmldebuggingenablerserver.pro.
#####################################################################
## qqmldebuggingenablerserver Binary:
#####################################################################
add_qt_executable(qqmldebuggingenablerserver
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebuggingenabler"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler"
SOURCES
qqmldebuggingenablerserver.cpp
DEFINES
QT_QML_DEBUG_NO_WARNING
INCLUDE_DIRECTORIES
../../shared
PUBLIC_LIBRARIES
Qt::Gui
Qt::Qml
Qt::Test
)
## Scopes:
#####################################################################

View File

@ -5,10 +5,11 @@
#####################################################################
add_qt_executable(qqmldebuggingenablerserver
# special case begin
# Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS]
# as these are invalid
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler"
# special case begin
# Remove INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS]
# as these are invalid
# INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebuggingenabler"
# special case end
SOURCES
qqmldebuggingenablerserver.cpp
@ -22,11 +23,5 @@ add_qt_executable(qqmldebuggingenablerserver
Qt::Test
)
#### Keys ignored in scope 1:.:.:qqmldebuggingenablerserver.pro:<TRUE>:
# CONFIG = "-debug_and_release_target"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebuggingenablerserver.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmldebugjs
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -33,15 +30,11 @@ add_qt_test(tst_qqmldebugjs
)
#### Keys ignored in scope 1:.:.:qqmldebugjs.pro:<TRUE>:
# CONFIG = "testcase"
# OTHER_FILES = "data/test.qml" "data/test.js" "data/timer.qml" "data/exception.qml" "data/oncompleted.qml" "data/loadjsfile.qml" "data/condition.qml" "data/changeBreakpoint.qml" "data/stepAction.qml" "data/breakpointRelocation.qml" "data/createComponent.qml" "data/encodeQmlScope.qml" "data/breakOnAnchor.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebugjs.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmldebugjs CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -0,0 +1,23 @@
# Generated from qqmldebugjsserver.pro.
#####################################################################
## qqmldebugjsserver Binary:
#####################################################################
add_qt_executable(qqmldebugjsserver
OUTPUT_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
SOURCES
qqmldebugjsserver.cpp
DEFINES
QT_QML_DEBUG_NO_WARNING
INCLUDE_DIRECTORIES
../shared
PUBLIC_LIBRARIES
Qt::Gui
Qt::Qml
Qt::Test
)
## Scopes:
#####################################################################

View File

@ -4,13 +4,10 @@
## qqmldebugjsserver Binary:
#####################################################################
# special case begin
# Remove INSTALL_DIRECTORY and INSTALL_DIRECTORY from this test a
# use the one from special case instead
# special case end
add_qt_executable(qqmldebugjsserver
# special case begin
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
# INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/qqmldebugjsserver"
# special case end
SOURCES
qqmldebugjsserver.cpp
@ -26,6 +23,3 @@ add_qt_executable(qqmldebugjsserver
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebugjsserver.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmldebuglocal
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -28,15 +27,9 @@ add_qt_test(tst_qqmldebuglocal
Qt::QmlDebug
)
#### Keys ignored in scope 1:.:.:qqmldebuglocal.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebuglocal.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmldebuglocal CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmldebugprocess
GUI
SOURCES
../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h
tst_qqmldebugprocess.cpp
@ -13,11 +12,5 @@ add_qt_test(tst_qqmldebugprocess
../../shared
)
#### Keys ignored in scope 1:.:.:qqmldebugprocess.pro:<TRUE>:
# CONFIG = "testcase" "-debug_and_release_target"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebugprocess.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -0,0 +1,15 @@
# Generated from qqmldebugprocessprocess.pro.
#####################################################################
## qqmldebugprocessprocess Binary:
#####################################################################
add_qt_executable(qqmldebugprocessprocess
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebugprocess"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess"
SOURCES
qqmldebugprocessprocess.cpp
)
## Scopes:
#####################################################################

View File

@ -4,24 +4,16 @@
## qqmldebugprocessprocess Binary:
#####################################################################
# special case begin
# Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY which start with
# $$[QT_INSTALL_TESTS]
# special case end
add_qt_executable(qqmldebugprocessprocess
# special case begin
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess"
# special case begin
# Remove INSTALL_DIRECTORY which starts with
# $$[QT_INSTALL_TESTS]
# INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qqmldebugprocess"
# special case end
SOURCES
qqmldebugprocessprocess.cpp
)
#### Keys ignored in scope 1:.:.:qqmldebugprocessprocess.pro:<TRUE>:
# CONFIG = "-debug_and_release_target" "console"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebugprocessprocess.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmldebugservice
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -38,15 +35,11 @@ add_qt_test(tst_qqmldebugservice
)
#### Keys ignored in scope 1:.:.:qqmldebugservice.pro:<TRUE>:
# CONFIG = "testcase"
# OTHER_FILES = "data/test.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmldebugservice.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmldebugservice CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlenginecontrol
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -33,15 +30,11 @@ add_qt_test(tst_qqmlenginecontrol
)
#### Keys ignored in scope 1:.:.:qqmlenginecontrol.pro:<TRUE>:
# CONFIG = "testcase"
# OTHER_FILES = "data/test.qml" "data/exit.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlenginecontrol.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlenginecontrol CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlenginedebuginspectorintegration
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -32,15 +29,9 @@ add_qt_test(tst_qqmlenginedebuginspectorintegration
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlenginedebuginspectorintegrationtest.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlenginedebuginspectorintegrationtest.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlenginedebuginspectorintegration CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlenginedebugservice
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -26,15 +25,9 @@ add_qt_test(tst_qqmlenginedebugservice
Qt::Quick
)
#### Keys ignored in scope 1:.:.:qqmlenginedebugservice.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlenginedebugservice.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlenginedebugservice CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlinspector
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -32,15 +29,9 @@ add_qt_test(tst_qqmlinspector
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlinspector.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlinspector.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlinspector CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

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

View File

@ -14,7 +14,6 @@ list(APPEND test_data "data/zoom.qml")
list(APPEND test_data "data/i18n/qml_fr_FR.qm")
add_qt_test(tst_qqmlpreview
GUI
SOURCES
../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.cpp ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.h
../../../shared/util.cpp ../../../shared/util.h
@ -34,15 +33,9 @@ add_qt_test(tst_qqmlpreview
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlpreview.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlpreview.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlpreview CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlprofilerservice
GUI
SOURCES
../../../shared/util.cpp ../../../shared/util.h
../shared/debugutil.cpp ../shared/debugutil_p.h
@ -32,15 +29,11 @@ add_qt_test(tst_qqmlprofilerservice
)
#### Keys ignored in scope 1:.:.:qqmlprofilerservice.pro:<TRUE>:
# CONFIG = "testcase"
# OTHER_FILES = "data/pixmapCacheTest.qml" "data/controlFromJS.qml" "data/test.qml" "data/exit.qml" "data/scenegraphTest.qml" "data/TestImage_2x2.png" "data/signalSourceLocation.qml" "data/javascript.qml" "data/timer.qml" "data/qstr.qml" "data/memory.qml" "data/batchOverflow.qml"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlprofilerservice.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlprofilerservice CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qv4debugger
GUI
SOURCES
../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.h
@ -23,11 +22,5 @@ add_qt_test(tst_qv4debugger
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qv4debugger.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qv4debugger.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -22,4 +22,3 @@ add_qt_tool(qjstest
#### Keys ignored in scope 1:.:.:qjstest.pro:<TRUE>:
# QMAKE_TARGET_DESCRIPTION = "Javascript" "test" "runner"
# TEMPLATE = "app"
# _LOADED = "qt_tool"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"tests/*")
tests/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_parserstress
GUI
SOURCES
tst_parserstress.cpp
LIBRARIES
@ -26,11 +23,5 @@ add_qt_test(tst_parserstress
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:parserstress.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:parserstress.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"script/*")
script/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qjsengine
GUI
SOURCES
tst_qjsengine.cpp
LIBRARIES
@ -27,31 +24,33 @@ add_qt_test(tst_qjsengine
)
# Resources:
set(qjsengine_resource_files
"translations/idtranslatable-unicode.qm"
"translations/idtranslatable_la.qm"
"translations/translatable-unicode.qm"
"translations/translatable_la.qm"
)
add_qt_resource(tst_qjsengine "qjsengine"
PREFIX
"/"
FILES
translations/idtranslatable-unicode.qm
translations/idtranslatable_la.qm
translations/translatable-unicode.qm
translations/translatable_la.qm
${qjsengine_resource_files}
)
set(qmake_immediate_resource_files
"exporterror1.mjs"
"importerror1.mjs"
"modulewithlexicals.mjs"
"testmodule.mjs"
)
add_qt_resource(tst_qjsengine "qmake_immediate"
PREFIX
"/"
FILES
exporterror1.mjs
importerror1.mjs
modulewithlexicals.mjs
testmodule.mjs
${qmake_immediate_resource_files}
)
#### Keys ignored in scope 1:.:.:qjsengine.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qjsonbinding
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qjsonbinding.cpp
@ -27,15 +24,9 @@ add_qt_test(tst_qjsonbinding
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qjsonbinding.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qjsonbinding.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qjsvalue
GUI
SOURCES
tst_qjsvalue.cpp tst_qjsvalue.h
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qjsvalue
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qjsvalue.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qjsvalue.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,18 +5,11 @@
#####################################################################
add_qt_test(tst_qjsvalueiterator
GUI
SOURCES
tst_qjsvalueiterator.cpp
PUBLIC_LIBRARIES
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qjsvalueiterator.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -97,21 +97,22 @@ add_qt_resource(tst_qmlcachegen "qmake_immediate"
## Scopes:
#####################################################################
# Resources:
set_source_files_properties("data/umlaut.qml"
PROPERTIES QT_RESOURCE_ALIAS "Bäh.qml"
)
set(trickypaths_umlaut_resource_files
"data/umlaut.qml"
)
add_qt_resource(tst_qmlcachegen "trickypaths_umlaut"
PREFIX
"/"
FILES
${trickypaths_umlaut_resource_files}
)
if(UNIX)
# Resources:
set_source_files_properties("data/umlaut.qml"
PROPERTIES QT_RESOURCE_ALIAS "Bäh.qml"
)
set(trickypaths_umlaut_resource_files
"data/umlaut.qml"
)
add_qt_resource(tst_qmlcachegen "trickypaths_umlaut"
PREFIX
"/"
FILES
${trickypaths_umlaut_resource_files}
)
endif()
extend_target(tst_qmlcachegen CONDITION ANDROID OR APPLE_IOS
DEFINES

View File

@ -0,0 +1,34 @@
# Generated from qmldiskcache.pro.
#####################################################################
## tst_qmldiskcache Test:
#####################################################################
add_qt_test(tst_qmldiskcache
SOURCES
tst_qmldiskcache.cpp
LIBRARIES
Qt::CorePrivate
Qt::QmlPrivate
PUBLIC_LIBRARIES
Qt::Gui
Qt::Qml
)
# Resources:
set(qmake_immediate_resource_files
"importmodule.qml"
"module.mjs"
"test.qml"
)
add_qt_resource(tst_qmldiskcache "qmake_immediate"
PREFIX
"/"
FILES
${qmake_immediate_resource_files}
)
## Scopes:
#####################################################################

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qmldiskcache
GUI
SOURCES
tst_qmldiskcache.cpp
LIBRARIES
@ -28,21 +27,19 @@ set_source_files_properties(
# special case end
# Resources:
set(qmake_immediate_resource_files
"importmodule.qml"
"module.mjs"
"test.qml"
)
add_qt_resource(tst_qmldiskcache "qmake_immediate"
PREFIX
"/"
FILES
importmodule.qml
module.mjs
test.qml
${qmake_immediate_resource_files}
)
#### Keys ignored in scope 1:.:.:qmldiskcache.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qmldiskcache.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qmlmin
GUI
SOURCES
tst_qmlmin.cpp
DEFINES
@ -17,15 +16,9 @@ add_qt_test(tst_qmlmin
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qmlmin.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qmlmin.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qmlmin CONDITION cross_compile AND NOT boot2qt
DEFINES
QTEST_CROSS_COMPILED

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_executable(testapp
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
PUBLIC_LIBRARIES
@ -14,17 +14,20 @@ add_qt_executable(testapp
)
# Resources:
set(main_resource_files
"delayedExit.qml"
"delayedQuit.qml"
"immediateExit.qml"
"immediateQuit.qml"
)
add_qt_resource(testapp "main"
PREFIX
"/"
FILES
delayedExit.qml
delayedQuit.qml
immediateExit.qml
immediateQuit.qml
${main_resource_files}
)
#### Keys ignored in scope 1:.:.:testapp.pro:<TRUE>:
# CONFIG = "-app_bundle" "console"
# TEMPLATE = "app"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlbinding
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlbinding.cpp
@ -31,15 +28,9 @@ add_qt_test(tst_qqmlbinding
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlbinding.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlbinding.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlbinding CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlhangeset
GUI
SOURCES
tst_qqmlchangeset.cpp
LIBRARIES
@ -19,11 +18,5 @@ add_qt_test(tst_qqmlhangeset
Qt::QmlModels
)
#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlchangeset.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlcomponent
GUI
SOURCES
../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
../../shared/util.cpp ../../shared/util.h
@ -34,22 +31,21 @@ add_qt_test(tst_qqmlcomponent
)
# Resources:
set(qmake_immediate_resource_files
"data/QtObjectComponent.qml"
)
add_qt_resource(tst_qqmlcomponent "qmake_immediate"
PREFIX
"/"
FILES
data/QtObjectComponent.qml
${qmake_immediate_resource_files}
)
#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlcomponent.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlcomponent CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlconnections
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlconnections.cpp
@ -31,15 +28,9 @@ add_qt_test(tst_qqmlconnections
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlconnections.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlconnections.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlconnections CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlconsole
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlconsole.cpp
@ -27,15 +24,9 @@ add_qt_test(tst_qqmlconsole
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlconsole.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlconsole.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlconsole CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlcontext
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlcontext.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlcontext
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlcontext.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlcontext.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlcontext CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlcpputils
GUI
SOURCES
tst_qqmlcpputils.cpp
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qqmlcpputils
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qqmlcpputils.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlcpputils.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmldirparser
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmldirparser.cpp

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlerror
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlerror.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlerror
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlerror.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlerror.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlerror CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlexpression
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlexpression.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlexpression
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlexpression.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlexpression.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlexpression CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlextensionplugin
GUI
SOURCES
tst_qqmlextensionplugin.cpp
PUBLIC_LIBRARIES
@ -13,11 +12,5 @@ add_qt_test(tst_qqmlextensionplugin
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qqmlextensionplugin.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlextensionplugin.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlfile
GUI
SOURCES
tst_qqmlfile.cpp
PUBLIC_LIBRARIES
@ -13,11 +12,5 @@ add_qt_test(tst_qqmlfile
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qqmlfile.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlfile.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlfileselector
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlfileselector.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlfileselector
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlfileselector.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlfileselector.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlglobal
GUI
SOURCES
tst_qqmlglobal.cpp
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qqmlglobal
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qqmlglobal.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlglobal.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,33 +5,24 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"MyPluginSupported/*")
MyPluginSupported/*)
list(APPEND test_data ${test_data_glob})
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"MyPluginUnsupported/*")
MyPluginUnsupported/*)
list(APPEND test_data ${test_data_glob})
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"FormFromQmlDir/*")
FormFromQmlDir/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlimport
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlimport.cpp

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlincubator
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
testtypes.cpp testtypes.h
@ -31,15 +28,9 @@ add_qt_test(tst_qqmlincubator
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlincubator.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlincubator.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlincubator CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlinfo
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlinfo.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlinfo
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlinfo.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlinfo.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlinfo CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlinstantiator
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
stringmodel.h
@ -32,15 +29,9 @@ add_qt_test(tst_qqmlinstantiator
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlinstantiator.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlinstantiator.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlinstantiator CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlnotifier
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlnotifier.cpp
@ -25,15 +22,9 @@ add_qt_test(tst_qqmlnotifier
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlnotifier.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlnotifier.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlnotifier CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlobjectmodel
GUI
SOURCES
tst_qqmlobjectmodel.cpp
LIBRARIES
@ -18,11 +17,5 @@ add_qt_test(tst_qqmlobjectmodel
Qt::QmlModels
)
#### Keys ignored in scope 1:.:.:qqmlobjectmodel.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlobjectmodel.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qqmlopenmetaobject
GUI
SOURCES
tst_qqmlopenmetaobject.cpp
LIBRARIES
@ -17,11 +16,5 @@ add_qt_test(tst_qqmlopenmetaobject
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qqmlopenmetaobject.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlopenmetaobject.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlparser
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlparser.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlparser
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlparser.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlparser.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlparser CONDITION cross_compile
DEFINES
QTEST_CROSS_COMPILED

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlpromise
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlpromise.cpp
@ -32,16 +29,12 @@ add_qt_test(tst_qqmlpromise
)
#### Keys ignored in scope 1:.:.:qqmlpromise.pro:<TRUE>:
# CONFIG = "testcase"
# DISTFILES = "data/then-fulfilled-non-callable.qml" "data/then-reject-non-callable.qml" "data/then-resolve-multiple-then.qml" "data/then-resolve-chaining.qml" "data/then-reject-chaining.qml" "data/promise-resolve-with-value.qml" "data/promise-resolve-with-promise.qml" "data/promise-reject-with-value.qml" "data/promise-executor-resolve.qml" "data/promise-get-length.qml" "data/promise-executor-reject.qml" "data/promise-reject-catch.qml" "data/promise-async-resolve-with-value.qml" "data/promise-async-reject-with-value.qml" "data/promise-all-resolve.qml" "data/promise-all-empty-input.qml" "data/promise-resolve-with-array.qml" "data/promise-all-reject-reject-is-last.qml" "data/promise-all-reject-reject-is-mid.qml" "data/promise-race-resolve-1st.qml" "data/promise-race-empty-input.qml" "data/promise-race-resolve-2nd.qml" "data/promise-race-resolve-1st-in-executor-function.qml" "data/promise-resolve-is-a-function.qml" "data/promise-resolve-function-length.qml" "data/promise-all-invoke-then-method.qml" "data/promise-resolve-with-empty.qml" "data/promise-executor-throw-exception.qml" "data/promise-executor-function-extensible.qml" "data/promise-all-noniterable-input.qml"
# OTHER_FILES = <EMPTY>
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlpromise.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlpromise CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlproperty
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlproperty.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlproperty
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlproperty.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlproperty.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlproperty CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlpropertycache
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlpropertycache.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qqmlpropertycache
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlpropertycache.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlpropertycache.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlpropertycache CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlqt
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlqt.cpp
@ -31,15 +28,9 @@ add_qt_test(tst_qqmlqt
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlqt.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlqt.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlqt CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlsettings
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qqmlsettings.cpp
@ -25,15 +22,9 @@ add_qt_test(tst_qqmlsettings
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlsettings.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlsettings.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlsettings CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qqmlxmlhttprequest
GUI
SOURCES
../../shared/testhttpserver.cpp ../../shared/testhttpserver.h
../../shared/util.cpp ../../shared/util.h
@ -31,15 +28,9 @@ add_qt_test(tst_qqmlxmlhttprequest
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qqmlxmlhttprequest.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qqmlxmlhttprequest.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qqmlxmlhttprequest CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickfolderlistmodel
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickfolderlistmodel.cpp
@ -30,25 +27,23 @@ add_qt_test(tst_qquickfolderlistmodel
)
# Resources:
set(introspect_resource_files
"txtdir/hello.txt"
)
add_qt_resource(tst_qquickfolderlistmodel "introspect"
PREFIX
"/myprefix/subdir"
BASE
"data"
FILES
txtdir/hello.txt
${introspect_resource_files}
)
#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickfolderlistmodel
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickfolderlistmodel.cpp
@ -33,25 +30,23 @@ add_qt_test(tst_qquickfolderlistmodel
set_source_files_properties(data/txtdir/hello.txt PROPERTIES QT_RESOURCE_ALIAS "txtdir/hello.txt")
# special case end
# Resources:
set(introspect_resource_files
"txtdir/hello.txt"
)
add_qt_resource(tst_qquickfolderlistmodel "introspect"
PREFIX
"/myprefix/subdir"
BASE
"data"
FILES
txtdir/hello.txt
${introspect_resource_files}
)
#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qquickworkerscript
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qquickworkerscript.cpp
@ -31,15 +28,9 @@ add_qt_test(tst_qquickworkerscript
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qquickworkerscript.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qquickworkerscript.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qquickworkerscript CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qrcqml
GUI
SOURCES
tst_qrcqml.cpp
PUBLIC_LIBRARIES
@ -23,16 +22,20 @@ set_source_files_properties("data/importtest.qml"
set_source_files_properties("data/main2.qml"
PROPERTIES QT_RESOURCE_ALIAS "main.qml"
)
set(qrcqml_resource_files
"data/SameDir.qml"
"data/SameDir2.qml"
"data/SubDir.qml"
"data/importtest.qml"
"data/main.qml"
"data/main2.qml"
)
add_qt_resource(tst_qrcqml "qrcqml"
PREFIX
"/"
FILES
data/SameDir.qml
data/SameDir2.qml
data/SubDir.qml
data/importtest.qml
data/main.qml
data/main2.qml
${qrcqml_resource_files}
)
set_source_files_properties("data/SameDir3.qml"
PROPERTIES QT_RESOURCE_ALIAS "SameDir.qml"
@ -40,21 +43,29 @@ set_source_files_properties("data/SameDir3.qml"
set_source_files_properties("data/main3.qml"
PROPERTIES QT_RESOURCE_ALIAS "main.qml"
)
set(qrcqml1_resource_files
"data/SameDir3.qml"
"data/main3.qml"
)
add_qt_resource(tst_qrcqml "qrcqml1"
PREFIX
"/search"
FILES
data/SameDir3.qml
data/main3.qml
${qrcqml1_resource_files}
)
set_source_files_properties("data/SubDir.qml"
PROPERTIES QT_RESOURCE_ALIAS "SubDir.qml"
)
set(qrcqml2_resource_files
"data/SubDir.qml"
)
add_qt_resource(tst_qrcqml "qrcqml2"
PREFIX
"/search/data"
FILES
data/SubDir.qml
${qrcqml2_resource_files}
)
set_source_files_properties("data/imports/QrcImport/Imported.qml"
PROPERTIES QT_RESOURCE_ALIAS "QrcImport/Imported.qml"
@ -62,20 +73,18 @@ set_source_files_properties("data/imports/QrcImport/Imported.qml"
set_source_files_properties("data/imports/QrcImport/qmldir"
PROPERTIES QT_RESOURCE_ALIAS "QrcImport/qmldir"
)
set(qrcqml3_resource_files
"data/imports/QrcImport/Imported.qml"
"data/imports/QrcImport/qmldir"
)
add_qt_resource(tst_qrcqml "qrcqml3"
PREFIX
"/imports"
FILES
data/imports/QrcImport/Imported.qml
data/imports/QrcImport/qmldir
${qrcqml3_resource_files}
)
#### Keys ignored in scope 1:.:.:qrcqml.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qrcqml.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qtqmlmodules
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qtqmlmodules.cpp
@ -29,15 +26,9 @@ add_qt_test(tst_qtqmlmodules
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qtqmlmodules.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qtqmlmodules.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qtqmlmodules CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qv4assembler
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qv4assembler.cpp
@ -27,15 +24,9 @@ add_qt_test(tst_qv4assembler
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qv4assembler.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qv4assembler.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qv4assembler CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qv4identifiertable
GUI
SOURCES
tst_qv4identifiertable.cpp
LIBRARIES
@ -15,11 +14,5 @@ add_qt_test(tst_qv4identifiertable
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qv4identifiertable.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qv4identifiertable.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,15 +5,12 @@
#####################################################################
# Collect test data
file(GLOB test_data_glob
LIST_DIRECTORIES true
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"data/*")
data/*)
list(APPEND test_data ${test_data_glob})
add_qt_test(tst_qv4mm
GUI
SOURCES
../../shared/util.cpp ../../shared/util.h
tst_qv4mm.cpp
@ -27,15 +24,9 @@ add_qt_test(tst_qv4mm
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qv4mm.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qv4mm.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
extend_target(tst_qv4mm CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qv4regexp
GUI
SOURCES
tst_qv4regexp.cpp
LIBRARIES
@ -15,11 +14,5 @@ add_qt_test(tst_qv4regexp
Qt::Qml
)
#### Keys ignored in scope 1:.:.:qv4regexp.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qv4regexp.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qwidgetsinqml
GUI
SOURCES
tst_qwidgetsinqml.cpp
DEFINES
@ -18,11 +17,5 @@ add_qt_test(tst_qwidgetsinqml
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:qwidgetsinqml.pro:<TRUE>:
# CONFIG = "testcase" "parallel_test"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qwidgetsinqml.pro:APPLE_OSX:
# CONFIG = "-app_bundle"

Some files were not shown because too many files have changed in this diff Show More