aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls')
-rw-r--r--tests/auto/controls/data/tst_abstractbutton.qml9
-rw-r--r--tests/auto/controls/data/tst_button.qml9
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/controls/data/tst_abstractbutton.qml b/tests/auto/controls/data/tst_abstractbutton.qml
index 11537d68..4e635d63 100644
--- a/tests/auto/controls/data/tst_abstractbutton.qml
+++ b/tests/auto/controls/data/tst_abstractbutton.qml
@@ -67,4 +67,13 @@ TestCase {
control.destroy();
}
+
+ function test_highlighted() {
+ var control = button.createObject(testCase)
+ verify(control)
+ compare(control.highlighted, false)
+
+ control.highlighted = true
+ compare(control.highlighted, true)
+ }
}
diff --git a/tests/auto/controls/data/tst_button.qml b/tests/auto/controls/data/tst_button.qml
index 873009e8..21e8a228 100644
--- a/tests/auto/controls/data/tst_button.qml
+++ b/tests/auto/controls/data/tst_button.qml
@@ -291,15 +291,6 @@ TestCase {
control.destroy()
}
- function test_highlighted() {
- var control = button.createObject(testCase)
- verify(control)
- compare(control.highlighted, false)
-
- control.highlighted = true
- compare(control.highlighted, true)
- }
-
function test_baseline() {
var control = button.createObject(testCase)
verify(control)