summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-29 08:49:17 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-29 08:18:38 +0000
commitee5593719eef1e85e410574a731ec674ea99968f (patch)
tree9cc5c60bd9f9078c9390c26f07530cff191d112c
parentb9308e0f6c54668ac5221105e0c45ac89a19823d (diff)
tst_extras: change QML TestCase visibility bindings
Let QML TestCase be implicitly shown together with the internal test window. The visibility binding to windowShown is unnecessary, and might cause extra visibility state changes, which in turn may cause other issues further down the chain. Change-Id: I59654c4035185ddcbc1e2c4c231f9a6d76d12383 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
-rw-r--r--tests/auto/extras/data/tst_circulartickmarklabel.qml2
-rw-r--r--tests/auto/extras/data/tst_common.qml2
-rw-r--r--tests/auto/extras/data/tst_delaybutton.qml2
-rw-r--r--tests/auto/extras/data/tst_dial.qml2
-rw-r--r--tests/auto/extras/data/tst_gauge.qml2
-rw-r--r--tests/auto/extras/data/tst_picture.qml2
-rw-r--r--tests/auto/extras/data/tst_statusindicator.qml2
-rw-r--r--tests/auto/extras/data/tst_togglebutton.qml2
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/extras/data/tst_circulartickmarklabel.qml b/tests/auto/extras/data/tst_circulartickmarklabel.qml
index 60d7ff9e9..d40436aa2 100644
--- a/tests/auto/extras/data/tst_circulartickmarklabel.qml
+++ b/tests/auto/extras/data/tst_circulartickmarklabel.qml
@@ -45,7 +45,7 @@ import "TestUtils.js" as TestUtils
TestCase {
id: testcase
name: "Tests_CircularTickmarkLabel"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_common.qml b/tests/auto/extras/data/tst_common.qml
index d137c1a52..1c6ebc530 100644
--- a/tests/auto/extras/data/tst_common.qml
+++ b/tests/auto/extras/data/tst_common.qml
@@ -44,7 +44,7 @@ import QtQuick 2.1
TestCase {
id: testCase
name: "Tests_Common"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_delaybutton.qml b/tests/auto/extras/data/tst_delaybutton.qml
index 6c86ece44..fb44ba838 100644
--- a/tests/auto/extras/data/tst_delaybutton.qml
+++ b/tests/auto/extras/data/tst_delaybutton.qml
@@ -44,7 +44,7 @@ import QtQuick 2.1
TestCase {
id: testcase
name: "Tests_DelayButton"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_dial.qml b/tests/auto/extras/data/tst_dial.qml
index f94b52450..38e331554 100644
--- a/tests/auto/extras/data/tst_dial.qml
+++ b/tests/auto/extras/data/tst_dial.qml
@@ -45,7 +45,7 @@ import "TestUtils.js" as TestUtils
TestCase {
id: testcase
name: "Tests_Dial"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_gauge.qml b/tests/auto/extras/data/tst_gauge.qml
index fc408cdf5..f55227801 100644
--- a/tests/auto/extras/data/tst_gauge.qml
+++ b/tests/auto/extras/data/tst_gauge.qml
@@ -46,7 +46,7 @@ import "TestUtils.js" as TestUtils
TestCase {
id: testcase
name: "Tests_Gauge"
- visible: windowShown
+ visible: true
when: windowShown
width: 200
height: 200
diff --git a/tests/auto/extras/data/tst_picture.qml b/tests/auto/extras/data/tst_picture.qml
index 1f98d56ca..fe02c7be5 100644
--- a/tests/auto/extras/data/tst_picture.qml
+++ b/tests/auto/extras/data/tst_picture.qml
@@ -46,7 +46,7 @@ import QtQuick.Extras.Private 1.0
TestCase {
id: testCase
name: "Tests_Picture"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_statusindicator.qml b/tests/auto/extras/data/tst_statusindicator.qml
index ab9b889a0..9c85c5c31 100644
--- a/tests/auto/extras/data/tst_statusindicator.qml
+++ b/tests/auto/extras/data/tst_statusindicator.qml
@@ -47,7 +47,7 @@ import QtQuick.Extras 1.4
TestCase {
id: testCase
name: "Tests_StatusIndicator"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400
diff --git a/tests/auto/extras/data/tst_togglebutton.qml b/tests/auto/extras/data/tst_togglebutton.qml
index 626e8ced7..cd5e58865 100644
--- a/tests/auto/extras/data/tst_togglebutton.qml
+++ b/tests/auto/extras/data/tst_togglebutton.qml
@@ -44,7 +44,7 @@ import QtQuick 2.1
TestCase {
id: testcase
name: "Tests_ToggleButton"
- visible: windowShown
+ visible: true
when: windowShown
width: 400
height: 400