aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/particles/shared/table.pngbin704 -> 571 bytes
-rw-r--r--tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro0
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.pngbin158 -> 67 bytes
-rw-r--r--tests/auto/qmltest/animators/tst_zeroduration.qml35
-rw-r--r--tests/auto/qmltest/borderimage/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickanimatedimage/data/green.pngbin314 -> 201 bytes
-rw-r--r--tests/auto/quick/qquickborderimage/data/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/colors1.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/green.pngbin314 -> 201 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/rect.pngbin171 -> 98 bytes
-rw-r--r--tests/auto/quick/qquickpixmapcache/data/massive.pngbin31834 -> 11468 bytes
-rw-r--r--tests/auto/quick/qquickstates/data/image.pngbin173 -> 82 bytes
-rw-r--r--tests/auto/quick/qquickwindow/data/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/benchmarks/benchmarks.pro5
-rw-r--r--tests/benchmarks/particles/affectors/affectors.pro2
-rw-r--r--tests/benchmarks/particles/affectors/tst_affectors.cpp4
-rw-r--r--tests/benchmarks/particles/emission/emission.pro2
-rw-r--r--tests/benchmarks/particles/emission/tst_emission.cpp2
-rw-r--r--tests/benchmarks/qml/animation/animation.pro2
-rw-r--r--tests/benchmarks/qml/binding/binding.pro2
-rw-r--r--tests/benchmarks/qml/compilation/compilation.pro2
-rw-r--r--tests/benchmarks/qml/creation/creation.pro2
-rw-r--r--tests/benchmarks/qml/holistic/holistic.pro2
-rw-r--r--tests/benchmarks/qml/javascript/javascript.pro2
-rw-r--r--tests/benchmarks/qml/js/qjsengine/qjsengine.pro1
-rw-r--r--tests/benchmarks/qml/js/qjsvalue/qjsvalue.pro2
-rw-r--r--tests/benchmarks/qml/js/qjsvalueiterator/qjsvalueiterator.pro2
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/data/green.pngbin314 -> 201 bytes
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/librarymetrics_performance.pro2
-rw-r--r--tests/benchmarks/qml/painting/data/63x63.pngbin3077 -> 2621 bytes
-rw-r--r--tests/benchmarks/qml/painting/data/63x63_opaque.pngbin3440 -> 2763 bytes
-rw-r--r--tests/benchmarks/qml/painting/data/64x64.pngbin3101 -> 2622 bytes
-rw-r--r--tests/benchmarks/qml/painting/data/64x64_opaque.pngbin3588 -> 2915 bytes
-rw-r--r--tests/benchmarks/qml/pointers/pointers.pro7
-rw-r--r--tests/benchmarks/qml/pointers/tst_pointers.cpp64
-rw-r--r--tests/benchmarks/qml/qml.pro9
-rw-r--r--tests/benchmarks/qml/qmltime/example.qml42
-rw-r--r--tests/benchmarks/qml/qmltime/linelaidout.qml49
-rw-r--r--tests/benchmarks/qml/qmltime/qmltime.cpp270
-rw-r--r--tests/benchmarks/qml/qmltime/qmltime.pro8
-rw-r--r--tests/benchmarks/qml/qmltime/tests/anchors/empty.qml62
-rw-r--r--tests/benchmarks/qml/qmltime/tests/anchors/fill.qml69
-rw-r--r--tests/benchmarks/qml/qmltime/tests/anchors/null.qml55
-rw-r--r--tests/benchmarks/qml/qmltime/tests/animation/large.qml69
-rw-r--r--tests/benchmarks/qml/qmltime/tests/animation/largeNoProps.qml69
-rw-r--r--tests/benchmarks/qml/qmltime/tests/item_creation/children.qml62
-rw-r--r--tests/benchmarks/qml/qmltime/tests/item_creation/data.qml62
-rw-r--r--tests/benchmarks/qml/qmltime/tests/item_creation/no_creation.qml40
-rw-r--r--tests/benchmarks/qml/qmltime/tests/item_creation/resources.qml62
-rw-r--r--tests/benchmarks/qml/qmltime/tests/loader/Loaded.qml35
-rw-r--r--tests/benchmarks/qml/qmltime/tests/loader/component_loader.qml44
-rw-r--r--tests/benchmarks/qml/qmltime/tests/loader/empty_loader.qml43
-rw-r--r--tests/benchmarks/qml/qmltime/tests/loader/no_loader.qml42
-rw-r--r--tests/benchmarks/qml/qmltime/tests/loader/source_loader.qml44
-rw-r--r--tests/benchmarks/qml/qmltime/tests/positioner_creation/no_positioner.qml65
-rw-r--r--tests/benchmarks/qml/qmltime/tests/positioner_creation/null_positioner.qml62
-rw-r--r--tests/benchmarks/qml/qmltime/tests/positioner_creation/positioner.qml65
-rw-r--r--tests/benchmarks/qml/qmltime/tests/vmemetaobject/null.qml41
-rw-r--r--tests/benchmarks/qml/qmltime/tests/vmemetaobject/property.qml46
-rw-r--r--tests/benchmarks/qml/qmltime/textingrid.qml60
-rw-r--r--tests/benchmarks/qml/qqmlcomponent/qqmlcomponent.pro2
-rw-r--r--tests/benchmarks/qml/qqmldebugtrace/qqmldebugtrace.pro2
-rw-r--r--tests/benchmarks/qml/qqmlimage/qqmlimage.pro2
-rw-r--r--tests/benchmarks/qml/qqmlmetaproperty/qqmlmetaproperty.pro2
-rw-r--r--tests/benchmarks/qml/qquickwindow/qquickwindow.pro3
-rw-r--r--tests/benchmarks/qml/script/script.pro2
-rw-r--r--tests/benchmarks/qml/typeimports/typeimports.pro2
-rw-r--r--tests/benchmarks/script/qjsvalue/qjsvalue.pro2
-rw-r--r--tests/manual/highdpi/BorderImage.pngbin9420 -> 5251 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/blue_72x96.pngbin20990 -> 168 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/cyan_72x96.pngbin20990 -> 168 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/green_72x96.pngbin20990 -> 168 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/orange_72x96.pngbin20990 -> 169 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/red_72x96.pngbin20990 -> 167 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/sample_1.pngbin28405 -> 27787 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/tile.pngbin189 -> 88 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/uniquepixels.pngbin210 -> 117 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/violet_72x96.pngbin20990 -> 169 bytes
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/yellow_72x96.pngbin20990 -> 168 bytes
-rw-r--r--tests/testapplications/elements/content/pics/logo-hollowed.pngbin637 -> 563 bytes
-rw-r--r--tests/testapplications/elements/content/pics/qml-borderimage.pngbin5580 -> 1552 bytes
-rw-r--r--tests/tests.pro2
83 files changed, 67 insertions, 1567 deletions
diff --git a/tests/auto/particles/shared/table.png b/tests/auto/particles/shared/table.png
index a62ceeb4a0..15509ab5b7 100644
--- a/tests/auto/particles/shared/table.png
+++ b/tests/auto/particles/shared/table.png
Binary files differ
diff --git a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro
+++ /dev/null
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png b/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
index 30228cbbdc..b54163f926 100644
--- a/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
Binary files differ
diff --git a/tests/auto/qmltest/animators/tst_zeroduration.qml b/tests/auto/qmltest/animators/tst_zeroduration.qml
new file mode 100644
index 0000000000..83ce235f42
--- /dev/null
+++ b/tests/auto/qmltest/animators/tst_zeroduration.qml
@@ -0,0 +1,35 @@
+import QtQuick 2.2
+import QtTest 1.1
+
+Item {
+ id: root;
+ width: 200
+ height: 200
+
+ TestCase {
+ id: testCase
+ name: "animators-y"
+ when: box.y == 100
+ function test_endresult() {
+ compare(box.yChangeCounter, 1);
+ var image = grabImage(root);
+ verify(image.pixel(0, 100) == Qt.rgba(1, 0, 0));
+ verify(image.pixel(0, 99) == Qt.rgba(1, 1, 1)); // outside on the top
+ }
+ }
+
+ Box {
+ id: box
+
+ anchors.centerIn: undefined
+
+ YAnimator {
+ id: animation
+ target: box
+ from: 0;
+ to: 100
+ duration: 0
+ running: true
+ }
+ }
+}
diff --git a/tests/auto/qmltest/borderimage/colors.png b/tests/auto/qmltest/borderimage/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/qmltest/borderimage/colors.png
+++ b/tests/auto/qmltest/borderimage/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickanimatedimage/data/green.png b/tests/auto/quick/qquickanimatedimage/data/green.png
index 0a2e153ba1..4718c00e62 100644
--- a/tests/auto/quick/qquickanimatedimage/data/green.png
+++ b/tests/auto/quick/qquickanimatedimage/data/green.png
Binary files differ
diff --git a/tests/auto/quick/qquickborderimage/data/colors.png b/tests/auto/quick/qquickborderimage/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickborderimage/data/colors.png
+++ b/tests/auto/quick/qquickborderimage/data/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/colors.png b/tests/auto/quick/qquickimage/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickimage/data/colors.png
+++ b/tests/auto/quick/qquickimage/data/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/colors1.png b/tests/auto/quick/qquickimage/data/colors1.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickimage/data/colors1.png
+++ b/tests/auto/quick/qquickimage/data/colors1.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/green.png b/tests/auto/quick/qquickimage/data/green.png
index 0a2e153ba1..4718c00e62 100644
--- a/tests/auto/quick/qquickimage/data/green.png
+++ b/tests/auto/quick/qquickimage/data/green.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/rect.png b/tests/auto/quick/qquickimage/data/rect.png
index d564a2d5a5..fe839a40e4 100644
--- a/tests/auto/quick/qquickimage/data/rect.png
+++ b/tests/auto/quick/qquickimage/data/rect.png
Binary files differ
diff --git a/tests/auto/quick/qquickpixmapcache/data/massive.png b/tests/auto/quick/qquickpixmapcache/data/massive.png
index bc6cc9e6ca..9a3e0e112f 100644
--- a/tests/auto/quick/qquickpixmapcache/data/massive.png
+++ b/tests/auto/quick/qquickpixmapcache/data/massive.png
Binary files differ
diff --git a/tests/auto/quick/qquickstates/data/image.png b/tests/auto/quick/qquickstates/data/image.png
index ed1833c95b..0e681ba1e1 100644
--- a/tests/auto/quick/qquickstates/data/image.png
+++ b/tests/auto/quick/qquickstates/data/image.png
Binary files differ
diff --git a/tests/auto/quick/qquickwindow/data/colors.png b/tests/auto/quick/qquickwindow/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickwindow/data/colors.png
+++ b/tests/auto/quick/qquickwindow/data/colors.png
Binary files differ
diff --git a/tests/benchmarks/benchmarks.pro b/tests/benchmarks/benchmarks.pro
new file mode 100644
index 0000000000..c7e7c6829a
--- /dev/null
+++ b/tests/benchmarks/benchmarks.pro
@@ -0,0 +1,5 @@
+TEMPLATE = subdirs
+SUBDIRS = qml script
+contains(QT_CONFIG, private_tests) {
+ SUBDIRS += particles
+}
diff --git a/tests/benchmarks/particles/affectors/affectors.pro b/tests/benchmarks/particles/affectors/affectors.pro
index 88d260591e..3351228a4b 100644
--- a/tests/benchmarks/particles/affectors/affectors.pro
+++ b/tests/benchmarks/particles/affectors/affectors.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TARGET = tst_affectors
SOURCES += tst_affectors.cpp
macx:CONFIG -= app_bundle
diff --git a/tests/benchmarks/particles/affectors/tst_affectors.cpp b/tests/benchmarks/particles/affectors/tst_affectors.cpp
index 1b3ed676dc..475b8d28ec 100644
--- a/tests/benchmarks/particles/affectors/tst_affectors.cpp
+++ b/tests/benchmarks/particles/affectors/tst_affectors.cpp
@@ -90,7 +90,7 @@ void tst_affectors::test_basic()
if (d->t == -1)
continue; //Particle data unused
- if (d->stillAlive())
+ if (d->stillAlive(system))
stillAlive++;
QCOMPARE(d->x, 0.f);
QCOMPARE(d->y, 0.f);
@@ -130,7 +130,7 @@ void tst_affectors::test_filtered()
if (d->t == -1)
continue; //Particle data unused
- if (d->stillAlive())
+ if (d->stillAlive(system))
stillAlive++;
QCOMPARE(d->x, 160.f);
QCOMPARE(d->y, 160.f);
diff --git a/tests/benchmarks/particles/emission/emission.pro b/tests/benchmarks/particles/emission/emission.pro
index 3a49405730..f6730e60ff 100644
--- a/tests/benchmarks/particles/emission/emission.pro
+++ b/tests/benchmarks/particles/emission/emission.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TARGET = tst_emission
SOURCES += tst_emission.cpp
macx:CONFIG -= app_bundle
diff --git a/tests/benchmarks/particles/emission/tst_emission.cpp b/tests/benchmarks/particles/emission/tst_emission.cpp
index 4ce201a2c0..b107120a28 100644
--- a/tests/benchmarks/particles/emission/tst_emission.cpp
+++ b/tests/benchmarks/particles/emission/tst_emission.cpp
@@ -83,7 +83,7 @@ void tst_emission::test_basic()
if (d->t == -1)
continue; //Particle data unused
- if (d->stillAlive())
+ if (d->stillAlive(system))
stillAlive++;
QCOMPARE(d->x, 0.f);
QCOMPARE(d->y, 0.f);
diff --git a/tests/benchmarks/qml/animation/animation.pro b/tests/benchmarks/qml/animation/animation.pro
index 6369ecddd1..43cf6ccdde 100644
--- a/tests/benchmarks/qml/animation/animation.pro
+++ b/tests/benchmarks/qml/animation/animation.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_animation
QT += qml testlib core-private gui-private qml-private quick-private
diff --git a/tests/benchmarks/qml/binding/binding.pro b/tests/benchmarks/qml/binding/binding.pro
index 776c8390a3..f6e450b0ba 100644
--- a/tests/benchmarks/qml/binding/binding.pro
+++ b/tests/benchmarks/qml/binding/binding.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_binding
QT += qml testlib
diff --git a/tests/benchmarks/qml/compilation/compilation.pro b/tests/benchmarks/qml/compilation/compilation.pro
index 31abb23e69..8aec60f3e4 100644
--- a/tests/benchmarks/qml/compilation/compilation.pro
+++ b/tests/benchmarks/qml/compilation/compilation.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_compilation
QT += qml qml-private testlib core-private
diff --git a/tests/benchmarks/qml/creation/creation.pro b/tests/benchmarks/qml/creation/creation.pro
index ef7a8cf2ce..bb4d2841fe 100644
--- a/tests/benchmarks/qml/creation/creation.pro
+++ b/tests/benchmarks/qml/creation/creation.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_creation
QT += core-private gui-private qml-private quick-private widgets testlib
diff --git a/tests/benchmarks/qml/holistic/holistic.pro b/tests/benchmarks/qml/holistic/holistic.pro
index 82f2ef6e4e..60b7dbe6cc 100644
--- a/tests/benchmarks/qml/holistic/holistic.pro
+++ b/tests/benchmarks/qml/holistic/holistic.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_holistic
QT += qml network testlib
diff --git a/tests/benchmarks/qml/javascript/javascript.pro b/tests/benchmarks/qml/javascript/javascript.pro
index 281bbd0069..945fff7000 100644
--- a/tests/benchmarks/qml/javascript/javascript.pro
+++ b/tests/benchmarks/qml/javascript/javascript.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_javascript
QT += qml testlib
diff --git a/tests/benchmarks/qml/js/qjsengine/qjsengine.pro b/tests/benchmarks/qml/js/qjsengine/qjsengine.pro
index f8f2874a63..e49a48f779 100644
--- a/tests/benchmarks/qml/js/qjsengine/qjsengine.pro
+++ b/tests/benchmarks/qml/js/qjsengine/qjsengine.pro
@@ -1,4 +1,3 @@
-CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qjsengine
diff --git a/tests/benchmarks/qml/js/qjsvalue/qjsvalue.pro b/tests/benchmarks/qml/js/qjsvalue/qjsvalue.pro
index 772aa5da8c..c646613799 100644
--- a/tests/benchmarks/qml/js/qjsvalue/qjsvalue.pro
+++ b/tests/benchmarks/qml/js/qjsvalue/qjsvalue.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_bench_qjsvalue
diff --git a/tests/benchmarks/qml/js/qjsvalueiterator/qjsvalueiterator.pro b/tests/benchmarks/qml/js/qjsvalueiterator/qjsvalueiterator.pro
index 7601789ca9..8222a13a7d 100644
--- a/tests/benchmarks/qml/js/qjsvalueiterator/qjsvalueiterator.pro
+++ b/tests/benchmarks/qml/js/qjsvalueiterator/qjsvalueiterator.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_bench_qjsvalueiterator
diff --git a/tests/benchmarks/qml/librarymetrics_performance/data/green.png b/tests/benchmarks/qml/librarymetrics_performance/data/green.png
index 0a2e153ba1..4718c00e62 100644
--- a/tests/benchmarks/qml/librarymetrics_performance/data/green.png
+++ b/tests/benchmarks/qml/librarymetrics_performance/data/green.png
Binary files differ
diff --git a/tests/benchmarks/qml/librarymetrics_performance/librarymetrics_performance.pro b/tests/benchmarks/qml/librarymetrics_performance/librarymetrics_performance.pro
index 7cfa843a2f..3bedc0ea18 100644
--- a/tests/benchmarks/qml/librarymetrics_performance/librarymetrics_performance.pro
+++ b/tests/benchmarks/qml/librarymetrics_performance/librarymetrics_performance.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_librarymetrics_performance
diff --git a/tests/benchmarks/qml/painting/data/63x63.png b/tests/benchmarks/qml/painting/data/63x63.png
index d9efda8a7a..4480496818 100644
--- a/tests/benchmarks/qml/painting/data/63x63.png
+++ b/tests/benchmarks/qml/painting/data/63x63.png
Binary files differ
diff --git a/tests/benchmarks/qml/painting/data/63x63_opaque.png b/tests/benchmarks/qml/painting/data/63x63_opaque.png
index d1429080db..dbe96edb35 100644
--- a/tests/benchmarks/qml/painting/data/63x63_opaque.png
+++ b/tests/benchmarks/qml/painting/data/63x63_opaque.png
Binary files differ
diff --git a/tests/benchmarks/qml/painting/data/64x64.png b/tests/benchmarks/qml/painting/data/64x64.png
index b149f33c3d..c718728a44 100644
--- a/tests/benchmarks/qml/painting/data/64x64.png
+++ b/tests/benchmarks/qml/painting/data/64x64.png
Binary files differ
diff --git a/tests/benchmarks/qml/painting/data/64x64_opaque.png b/tests/benchmarks/qml/painting/data/64x64_opaque.png
index 94c07f3b3e..73e816465d 100644
--- a/tests/benchmarks/qml/painting/data/64x64_opaque.png
+++ b/tests/benchmarks/qml/painting/data/64x64_opaque.png
Binary files differ
diff --git a/tests/benchmarks/qml/pointers/pointers.pro b/tests/benchmarks/qml/pointers/pointers.pro
deleted file mode 100644
index a2c9a0828f..0000000000
--- a/tests/benchmarks/qml/pointers/pointers.pro
+++ /dev/null
@@ -1,7 +0,0 @@
-CONFIG += testcase
-QT += core-private qml-private testlib
-TEMPLATE = app
-TARGET = tst_pointers
-macx:CONFIG -= app_bundle
-
-SOURCES += tst_pointers.cpp
diff --git a/tests/benchmarks/qml/pointers/tst_pointers.cpp b/tests/benchmarks/qml/pointers/tst_pointers.cpp
deleted file mode 100644
index a17987fe89..0000000000
--- a/tests/benchmarks/qml/pointers/tst_pointers.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the test suite of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <qtest.h>
-#include <QtQml/private/qqmlguard_p.h>
-#include <QWeakPointer>
-
-class tst_pointers : public QObject
-{
- Q_OBJECT
-
-public:
- tst_pointers() {}
-
-private slots:
- void qmlguard();
- void weakPointer();
-};
-
-void tst_pointers::qmlguard()
-{
- QObject *obj = new QObject;
- QBENCHMARK {
- QQmlGuard<QObject> guardedObject;
- guardedObject = obj;
- }
-}
-
-void tst_pointers::weakPointer()
-{
- QObject *obj = new QObject;
- QBENCHMARK {
- QPointer<QObject> guardedObject;
- guardedObject = obj;
- }
-}
-
-QTEST_MAIN(tst_pointers)
-#include "tst_pointers.moc"
diff --git a/tests/benchmarks/qml/qml.pro b/tests/benchmarks/qml/qml.pro
index 9c7583cd3b..7969866673 100644
--- a/tests/benchmarks/qml/qml.pro
+++ b/tests/benchmarks/qml/qml.pro
@@ -2,19 +2,16 @@ TEMPLATE = subdirs
SUBDIRS += \
binding \
- creation \
compilation \
javascript \
holistic \
- pointers \
qqmlcomponent \
qqmlimage \
qqmlmetaproperty \
# script \ ### FIXME: doesn't build
- qmltime \
- js \
- qquickwindow
+ js
-qtHaveModule(opengl): SUBDIRS += painting
+qtHaveModule(opengl): SUBDIRS += painting qquickwindow
+qtHaveModule(widgets): SUBDIRS += creation
include(../trusted-benchmarks.pri)
diff --git a/tests/benchmarks/qml/qmltime/example.qml b/tests/benchmarks/qml/qmltime/example.qml
deleted file mode 100644
index e717a074e1..0000000000
--- a/tests/benchmarks/qml/qmltime/example.qml
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- property string name: "Bob Smith"
-
- QmlTime.Timer {
- component: Item {
- Text { text: name }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/linelaidout.qml b/tests/benchmarks/qml/qmltime/linelaidout.qml
deleted file mode 100644
index 0e9da83087..0000000000
--- a/tests/benchmarks/qml/qmltime/linelaidout.qml
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Text {
- width: 480
- height: width
- text: "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42"
- color: "blue"
- font.pixelSize: 15
- font.bold: true
-
- onLineLaidOut: {
- line.x = (line.number % 7) * 70
- line.y = Math.floor(line.number / 7.0) * 70
- }
- }
- }
-}
diff --git a/tests/benchmarks/qml/qmltime/qmltime.cpp b/tests/benchmarks/qml/qmltime/qmltime.cpp
deleted file mode 100644
index 7bed36cc87..0000000000
--- a/tests/benchmarks/qml/qmltime/qmltime.cpp
+++ /dev/null
@@ -1,270 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the test suite of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#include <QQmlEngine>
-#include <QQmlComponent>
-#include <QDebug>
-#include <QApplication>
-#include <QTime>
-#include <QQmlContext>
-#include <QGraphicsScene>
-#include <QGraphicsRectItem>
-
-class Timer : public QObject
-{
- Q_OBJECT
- Q_PROPERTY(QQmlComponent *component READ component WRITE setComponent)
-
-public:
- Timer();
-
- QQmlComponent *component() const;
- void setComponent(QQmlComponent *);
-
- static Timer *timerInstance();
-
- void run(uint);
-
- bool willParent() const;
- void setWillParent(bool p);
-
-private:
- void runTest(QQmlContext *, uint);
-
- QQmlComponent *m_component;
- static Timer *m_timer;
-
- bool m_willparent;
- QGraphicsScene m_scene;
- QGraphicsRectItem m_item;
-};
-QML_DECLARE_TYPE(Timer);
-
-Timer *Timer::m_timer = 0;
-
-Timer::Timer()
-: m_component(0), m_willparent(false)
-{
- if (m_timer)
- qWarning("Timer: Timer already registered");
- m_timer = this;
-
- m_scene.setItemIndexMethod(QGraphicsScene::NoIndex);
- m_scene.addItem(&m_item);
-}
-
-QQmlComponent *Timer::component() const
-{
- return m_component;
-}
-
-void Timer::setComponent(QQmlComponent *c)
-{
- m_component = c;
-}
-
-Timer *Timer::timerInstance()
-{
- return m_timer;
-}
-
-void Timer::run(uint iterations)
-{
- QQmlContext context(qmlContext(this));
-
- QObject *o = m_component->create(&context);
- QGraphicsObject *go = qobject_cast<QGraphicsObject *>(o);
- if (m_willparent && go)
- go->setParentItem(&m_item);
- delete o;
-
- runTest(&context, iterations);
-}
-
-bool Timer::willParent() const
-{
- return m_willparent;
-}
-
-void Timer::setWillParent(bool p)
-{
- m_willparent = p;
-}
-
-void Timer::runTest(QQmlContext *context, uint iterations)
-{
- QTime t;
- t.start();
- for (uint ii = 0; ii < iterations; ++ii) {
- QObject *o = m_component->create(context);
- QGraphicsObject *go = qobject_cast<QGraphicsObject *>(o);
- if (m_willparent && go)
- go->setParentItem(&m_item);
- delete o;
- }
-
- int e = t.elapsed();
-
- qWarning() << "Total:" << e << "ms, Per iteration:" << qreal(e) / qreal(iterations) << "ms";
-
-}
-
-void usage(const char *name)
-{
- qWarning("Usage: %s [-iterations <count>] [-parent] <qml file>\n", name);
-
- qWarning("qmltime is a tool for benchmarking the runtime cost of instantiating\n"
- "a QML component. It is typically run as follows:\n"
- "\n"
- "%s path/to/benchmark.qml\n"
- "\n"
- "If the -parent option is specified, the component being measured will also\n"
- "be parented to an item already in the scene.\n"
- "\n"
- "If the -iterations option is specified, the benchmark will run the specified\n"
- "number of iterations. If -iterations is not specified, 1024 iterations\n"
- "are performed.\n"
- "\n"
- "qmltime expects the file to be benchmarked to contain a certain structure.\n"
- "Specifically, it requires the presence of a QmlTime.Timer element. For example,\n"
- "say we wanted to benchmark the following list delegate:\n"
- "\n"
- "Rectangle {\n"
- " color: \"green\"\n"
- " width: 400; height: 100\n"
- " Text {\n"
- " anchors.centerIn: parent\n"
- " text: name\n"
- " }\n"
- "}\n"
- "\n"
- "we would create a benchmark file that looks like this:\n"
- "\n"
- "import QtQuick 2.0\n"
- "import QmlTime 1.0 as QmlTime\n"
- "\n"
- "Item {\n"
- "\n"
- " property string name: \"Bob Smith\"\n"
- "\n"
- " QmlTime.Timer {\n"
- " component: Rectangle {\n"
- " color: \"green\"\n"
- " width: 400; height: 100\n"
- " Text {\n"
- " anchors.centerIn: parent\n"
- " text: name\n"
- " }\n"
- " }\n"
- " }\n"
- "}\n"
- "\n"
- "The outer Item functions as a dummy data provider for any additional\n"
- "data required by the bindings in the component being benchmarked (in the\n"
- "example above we provide a \"name\" property).\n"
- "\n"
- "When started, the component is instantiated once before running\n"
- "the benchmark, which means that the reported time does not include\n"
- "compile time (as the results of compilation are cached internally).\n"
- "In this sense the times reported by qmltime best correspond to the\n"
- "costs associated with delegate creation in the view classes, where the\n"
- "same delegate is instantiated over and over. Conversely, it is not a\n"
- "good approximation for e.g. Loader, which typically only instantiates\n"
- "an element once (and so for Loader the compile time is very relevant\n"
- "to the overall cost).", name);
-
- exit(-1);
-}
-
-int main(int argc, char ** argv)
-{
- QApplication app(argc, argv);
-
- qmlRegisterType<Timer>("QmlTime", 1, 0, "Timer");
-
- uint iterations = 1024;
- QString filename;
- bool willParent = false;
-
- for (int ii = 1; ii < argc; ++ii) {
- QByteArray arg(argv[ii]);
-
- if (arg == "-iterations") {
- if (ii + 1 < argc) {
- ++ii;
- QByteArray its(argv[ii]);
- bool ok = false;
- iterations = its.toUInt(&ok);
- if (!ok)
- usage(argv[0]);
- } else {
- usage(argv[0]);
- }
- } else if (arg == "-parent") {
- willParent = true;
- } else if (arg == "-help") {
- usage(argv[0]);
- } else {
- filename = QLatin1String(argv[ii]);
- }
- }
-
- if (filename.isEmpty())
- usage(argv[0]);
-
- QQmlEngine engine;
- QQmlComponent component(&engine, filename);
- if (component.isError()) {
- qWarning() << component.errors();
- return -1;
- }
-
- QObject *obj = component.create();
- if (!obj) {
- qWarning() << component.errors();
- return -1;
- }
-
- Timer *timer = Timer::timerInstance();
- if (!timer) {
- qWarning() << "A QmlTime.Timer instance is required.";
- return -1;
- }
-
- timer->setWillParent(willParent);
-
- if (!timer->component()) {
- qWarning() << "The timer has no component";
- return -1;
- }
-
- timer->run(iterations);
-
- return 0;
-}
-
-#include "qmltime.moc"
diff --git a/tests/benchmarks/qml/qmltime/qmltime.pro b/tests/benchmarks/qml/qmltime/qmltime.pro
deleted file mode 100644
index 57966be7a2..0000000000
--- a/tests/benchmarks/qml/qmltime/qmltime.pro
+++ /dev/null
@@ -1,8 +0,0 @@
-CONFIG += testcase
-TEMPLATE = app
-TARGET = qmltime
-QT += qml widgets testlib
-macx:CONFIG -= app_bundle
-
-SOURCES += qmltime.cpp
-
diff --git a/tests/benchmarks/qml/qmltime/tests/anchors/empty.qml b/tests/benchmarks/qml/qmltime/tests/anchors/empty.qml
deleted file mode 100644
index e6a24a83ca..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/anchors/empty.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- Item {
- anchors.leftMargin: 0
- }
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/anchors/fill.qml b/tests/benchmarks/qml/qmltime/tests/anchors/fill.qml
deleted file mode 100644
index 121eb404fc..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/anchors/fill.qml
+++ /dev/null
@@ -1,69 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- Item {
- anchors.fill: parent
- anchors.leftMargin: 0
- }
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/anchors/null.qml b/tests/benchmarks/qml/qmltime/tests/anchors/null.qml
deleted file mode 100644
index 391aac89e3..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/anchors/null.qml
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Item {
- }
- Item {
- }
- Item {
- }
- Item {
- }
- Item {
- }
- Item {
- }
- Item {
- }
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/animation/large.qml b/tests/benchmarks/qml/qmltime/tests/animation/large.qml
deleted file mode 100644
index 2f7e86cada..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/animation/large.qml
+++ /dev/null
@@ -1,69 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- ParallelAnimation {
- NumberAnimation { duration: 500 }
- NumberAnimation { duration: 4000; }
- NumberAnimation { duration: 2000; easing.type: "OutBack"}
- ColorAnimation { duration: 3000}
- SequentialAnimation {
- PauseAnimation { duration: 1000 }
- ScriptAction { script: doSomething(); }
- PauseAnimation { duration: 800 }
- ScriptAction { script: doSomethingElse(); }
- PauseAnimation { duration: 800 }
- ParallelAnimation {
- NumberAnimation { duration: 200;}
- SequentialAnimation {
- PauseAnimation { duration: 200}
- ParallelAnimation {
- NumberAnimation { duration: 300;}
- NumberAnimation { duration: 300;}
- }
- NumberAnimation { from: 0; to: 1; duration: 500 }
- PauseAnimation { duration: 200 }
- NumberAnimation { from: 1; to: 0; duration: 500 }
- }
- SequentialAnimation {
- PauseAnimation { duration: 150}
- NumberAnimation { duration: 300; easing.type: "OutBounce" }
- }
- }
- }
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/animation/largeNoProps.qml b/tests/benchmarks/qml/qmltime/tests/animation/largeNoProps.qml
deleted file mode 100644
index 504953b9e6..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/animation/largeNoProps.qml
+++ /dev/null
@@ -1,69 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- ParallelAnimation {
- NumberAnimation { }
- NumberAnimation { }
- NumberAnimation { }
- ColorAnimation { }
- SequentialAnimation {
- PauseAnimation { }
- ScriptAction { }
- PauseAnimation { }
- ScriptAction { }
- PauseAnimation { }
- ParallelAnimation {
- NumberAnimation { }
- SequentialAnimation {
- PauseAnimation { }
- ParallelAnimation {
- NumberAnimation { }
- NumberAnimation { }
- }
- NumberAnimation { }
- PauseAnimation { }
- NumberAnimation { }
- }
- SequentialAnimation {
- PauseAnimation { }
- NumberAnimation { }
- }
- }
- }
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/item_creation/children.qml b/tests/benchmarks/qml/qmltime/tests/item_creation/children.qml
deleted file mode 100644
index 73d9b6d364..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/item_creation/children.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- children: [
- Rectangle { },
- Rectangle { },
- Item { },
- Image { },
- Text { },
- Item { },
- Item { },
- Image { },
- Image { },
- Row { },
- Image { },
- Image { },
- Column { },
- Row { },
- Text { },
- Text { },
- Text { },
- MouseArea { }
- ]
-
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/item_creation/data.qml b/tests/benchmarks/qml/qmltime/tests/item_creation/data.qml
deleted file mode 100644
index 40f2abfc7b..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/item_creation/data.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- data: [
- Rectangle { },
- Rectangle { },
- Item { },
- Image { },
- Text { },
- Item { },
- Item { },
- Image { },
- Image { },
- Row { },
- Image { },
- Image { },
- Column { },
- Row { },
- Text { },
- Text { },
- Text { },
- MouseArea { }
- ]
-
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/item_creation/no_creation.qml b/tests/benchmarks/qml/qmltime/tests/item_creation/no_creation.qml
deleted file mode 100644
index 9149303137..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/item_creation/no_creation.qml
+++ /dev/null
@@ -1,40 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- }
- }
- }
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/item_creation/resources.qml b/tests/benchmarks/qml/qmltime/tests/item_creation/resources.qml
deleted file mode 100644
index 7afcacc892..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/item_creation/resources.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- resources: [
- Rectangle { },
- Rectangle { },
- Item { },
- Image { },
- Text { },
- Item { },
- Item { },
- Image { },
- Image { },
- Row { },
- Image { },
- Image { },
- Column { },
- Row { },
- Text { },
- Text { },
- Text { },
- MouseArea { }
- ]
-
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/loader/Loaded.qml b/tests/benchmarks/qml/qmltime/tests/loader/Loaded.qml
deleted file mode 100644
index 946933bafa..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/loader/Loaded.qml
+++ /dev/null
@@ -1,35 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-Item {
- Rectangle {}
- Text {}
- Image {}
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/loader/component_loader.qml b/tests/benchmarks/qml/qmltime/tests/loader/component_loader.qml
deleted file mode 100644
index 8b338f37be..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/loader/component_loader.qml
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Loader {
- sourceComponent: Loaded {}
- }
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/loader/empty_loader.qml b/tests/benchmarks/qml/qmltime/tests/loader/empty_loader.qml
deleted file mode 100644
index 356195a4a9..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/loader/empty_loader.qml
+++ /dev/null
@@ -1,43 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Loader {}
- Loaded {}
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/loader/no_loader.qml b/tests/benchmarks/qml/qmltime/tests/loader/no_loader.qml
deleted file mode 100644
index 4de2dc26f1..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/loader/no_loader.qml
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Loaded {}
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/loader/source_loader.qml b/tests/benchmarks/qml/qmltime/tests/loader/source_loader.qml
deleted file mode 100644
index 38b47a134d..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/loader/source_loader.qml
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- Item {
- Loader {
- source: "Loaded.qml"
- }
- }
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qmltime/tests/positioner_creation/no_positioner.qml b/tests/benchmarks/qml/qmltime/tests/positioner_creation/no_positioner.qml
deleted file mode 100644
index c473a89d38..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/positioner_creation/no_positioner.qml
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
- QmlTime.Timer {
- component: Component {
- Item {
- Rectangle { }
- Rectangle { }
- Item {
- Image { }
- Text { }
- }
-
- Item {
- Item {
- Image { }
- Image { }
- Item {
- Image { }
- Image { }
- }
- }
-
- Item {
- Item {
- Text { }
- Text { }
- }
- Text { }
- }
- }
- MouseArea { }
- }
- }
- }
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/positioner_creation/null_positioner.qml b/tests/benchmarks/qml/qmltime/tests/positioner_creation/null_positioner.qml
deleted file mode 100644
index e459c4060f..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/positioner_creation/null_positioner.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
- QmlTime.Timer {
- component: Component {
- Item {
- Rectangle { }
- Rectangle { }
- Item {
- Image { }
- Text { }
- }
-
- Item {
- Item {
- Image { }
- Image { }
- Row { }
- Image { }
- Image { }
- }
-
- Column { }
- Row { }
- Text { }
- Text { }
- Text { }
- }
- MouseArea { }
- }
- }
- }
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/positioner_creation/positioner.qml b/tests/benchmarks/qml/qmltime/tests/positioner_creation/positioner.qml
deleted file mode 100644
index 569dc8187c..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/positioner_creation/positioner.qml
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
- QmlTime.Timer {
- component: Component {
- Item {
- Rectangle { }
- Rectangle { }
- Item {
- Image { }
- Text { }
- }
-
- Item {
- Item {
- Image { }
- Image { }
- Row {
- Image { }
- Image { }
- }
- }
-
- Column {
- Row {
- Text { }
- Text { }
- }
- Text { }
- }
- }
- MouseArea { }
- }
- }
- }
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/vmemetaobject/null.qml b/tests/benchmarks/qml/qmltime/tests/vmemetaobject/null.qml
deleted file mode 100644
index 520ad8bc0e..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/vmemetaobject/null.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- QtObject {
- }
- }
- }
-
-}
diff --git a/tests/benchmarks/qml/qmltime/tests/vmemetaobject/property.qml b/tests/benchmarks/qml/qmltime/tests/vmemetaobject/property.qml
deleted file mode 100644
index df31145e5f..0000000000
--- a/tests/benchmarks/qml/qmltime/tests/vmemetaobject/property.qml
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Component {
- QtObject {
- property string s
- property string s2
- property string s3
- property string s4
- }
- }
- }
-
-}
-
diff --git a/tests/benchmarks/qml/qmltime/textingrid.qml b/tests/benchmarks/qml/qmltime/textingrid.qml
deleted file mode 100644
index 41073f50dc..0000000000
--- a/tests/benchmarks/qml/qmltime/textingrid.qml
+++ /dev/null
@@ -1,60 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtQml module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QmlTime 1.0 as QmlTime
-
-Item {
-
- QmlTime.Timer {
- component: Grid {
- width: 480
- height: width
-
- id: grid
- columns: 7
- rows: 6
-
- Repeater {
- model: 42
- Text {
- width: grid.width / grid.columns; height: width
- color: "blue"
- text: index
- font.pixelSize: 15
- font.bold: true
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
-
- }
- }
-
- }
- }
-}
-
diff --git a/tests/benchmarks/qml/qqmlcomponent/qqmlcomponent.pro b/tests/benchmarks/qml/qqmlcomponent/qqmlcomponent.pro
index ba41f5a95b..c867065616 100644
--- a/tests/benchmarks/qml/qqmlcomponent/qqmlcomponent.pro
+++ b/tests/benchmarks/qml/qqmlcomponent/qqmlcomponent.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_qqmlcomponent
QT += qml testlib
diff --git a/tests/benchmarks/qml/qqmldebugtrace/qqmldebugtrace.pro b/tests/benchmarks/qml/qqmldebugtrace/qqmldebugtrace.pro
index ebf0ae074f..556842af80 100644
--- a/tests/benchmarks/qml/qqmldebugtrace/qqmldebugtrace.pro
+++ b/tests/benchmarks/qml/qqmldebugtrace/qqmldebugtrace.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
QT += qml testlib
TEMPLATE = app
TARGET = tst_qqmldebugtrace
diff --git a/tests/benchmarks/qml/qqmlimage/qqmlimage.pro b/tests/benchmarks/qml/qqmlimage/qqmlimage.pro
index 21d3efdd1f..421f232a4f 100644
--- a/tests/benchmarks/qml/qqmlimage/qqmlimage.pro
+++ b/tests/benchmarks/qml/qqmlimage/qqmlimage.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_qqmlimage
QT += qml quick-private testlib
diff --git a/tests/benchmarks/qml/qqmlmetaproperty/qqmlmetaproperty.pro b/tests/benchmarks/qml/qqmlmetaproperty/qqmlmetaproperty.pro
index b80b88f4bc..3e8d341bbe 100644
--- a/tests/benchmarks/qml/qqmlmetaproperty/qqmlmetaproperty.pro
+++ b/tests/benchmarks/qml/qqmlmetaproperty/qqmlmetaproperty.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_qqmlmetaproperty
QT += qml testlib
diff --git a/tests/benchmarks/qml/qquickwindow/qquickwindow.pro b/tests/benchmarks/qml/qquickwindow/qquickwindow.pro
index 50f956f220..9e79d4acf8 100644
--- a/tests/benchmarks/qml/qquickwindow/qquickwindow.pro
+++ b/tests/benchmarks/qml/qquickwindow/qquickwindow.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TARGET = tst_qquickwindow
SOURCES += tst_qquickwindow.cpp
macx:CONFIG -= app_bundle
@@ -8,3 +8,4 @@ testDataFiles.path = .
DEPLOYMENT += testDataFiles
QT += core-private gui-private qml-private quick-private opengl-private testlib
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/benchmarks/qml/script/script.pro b/tests/benchmarks/qml/script/script.pro
index 51a02e796d..c151cdc146 100644
--- a/tests/benchmarks/qml/script/script.pro
+++ b/tests/benchmarks/qml/script/script.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_script
macx:CONFIG -= app_bundle
diff --git a/tests/benchmarks/qml/typeimports/typeimports.pro b/tests/benchmarks/qml/typeimports/typeimports.pro
index dc58e4044b..aa1a291b82 100644
--- a/tests/benchmarks/qml/typeimports/typeimports.pro
+++ b/tests/benchmarks/qml/typeimports/typeimports.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_typeimports
QT += qml testlib
diff --git a/tests/benchmarks/script/qjsvalue/qjsvalue.pro b/tests/benchmarks/script/qjsvalue/qjsvalue.pro
index 03b877ae9d..1b39091dea 100644
--- a/tests/benchmarks/script/qjsvalue/qjsvalue.pro
+++ b/tests/benchmarks/script/qjsvalue/qjsvalue.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase
+CONFIG += benchmark
TEMPLATE = app
TARGET = tst_bench_qjsvalue
INCLUDEPATH += .
diff --git a/tests/manual/highdpi/BorderImage.png b/tests/manual/highdpi/BorderImage.png
index 8fa6b40d78..d93f03e80f 100644
--- a/tests/manual/highdpi/BorderImage.png
+++ b/tests/manual/highdpi/BorderImage.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/blue_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/blue_72x96.png
index b9e584d8bd..ceddd09b4e 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/blue_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/blue_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/cyan_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/cyan_72x96.png
index c1ae9f3eee..b465fa9a62 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/cyan_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/cyan_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/green_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/green_72x96.png
index 2ddadde72c..9637f71b74 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/green_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/green_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/orange_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/orange_72x96.png
index 2b0f0c961c..1b2c40ae0a 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/orange_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/orange_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/red_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/red_72x96.png
index db015768d7..019e5584de 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/red_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/red_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/sample_1.png b/tests/manual/scenegraph_lancelot/data/shared/sample_1.png
index 24d02f4c22..d4dd62f254 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/sample_1.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/sample_1.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/tile.png b/tests/manual/scenegraph_lancelot/data/shared/tile.png
index 1c54278442..67e21ad80c 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/tile.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/tile.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/uniquepixels.png b/tests/manual/scenegraph_lancelot/data/shared/uniquepixels.png
index af240b09c3..83b0f7dbbf 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/uniquepixels.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/uniquepixels.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/violet_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/violet_72x96.png
index d8ecf51756..382e7eca72 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/violet_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/violet_72x96.png
Binary files differ
diff --git a/tests/manual/scenegraph_lancelot/data/shared/yellow_72x96.png b/tests/manual/scenegraph_lancelot/data/shared/yellow_72x96.png
index 569b6c1dd7..8f60703a4e 100644
--- a/tests/manual/scenegraph_lancelot/data/shared/yellow_72x96.png
+++ b/tests/manual/scenegraph_lancelot/data/shared/yellow_72x96.png
Binary files differ
diff --git a/tests/testapplications/elements/content/pics/logo-hollowed.png b/tests/testapplications/elements/content/pics/logo-hollowed.png
index ca2acb3651..bff0eea9de 100644
--- a/tests/testapplications/elements/content/pics/logo-hollowed.png
+++ b/tests/testapplications/elements/content/pics/logo-hollowed.png
Binary files differ
diff --git a/tests/testapplications/elements/content/pics/qml-borderimage.png b/tests/testapplications/elements/content/pics/qml-borderimage.png
index 8035c79f37..e42891ecc7 100644
--- a/tests/testapplications/elements/content/pics/qml-borderimage.png
+++ b/tests/testapplications/elements/content/pics/qml-borderimage.png
Binary files differ
diff --git a/tests/tests.pro b/tests/tests.pro
index 85e4f3a53d..f5731b2f34 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,2 +1,2 @@
TEMPLATE = subdirs
-SUBDIRS += auto
+SUBDIRS += auto benchmarks