aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_groupbox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls/data/tst_groupbox.qml')
-rw-r--r--tests/auto/controls/data/tst_groupbox.qml10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/auto/controls/data/tst_groupbox.qml b/tests/auto/controls/data/tst_groupbox.qml
index 65aa4e16..760450f0 100644
--- a/tests/auto/controls/data/tst_groupbox.qml
+++ b/tests/auto/controls/data/tst_groupbox.qml
@@ -83,15 +83,11 @@ TestCase {
var control = groupBox.createObject(testCase)
verify(control.contentItem)
compare(control.title, "")
- compare(control.contentWidth, 0)
- compare(control.contentHeight, 0)
control.destroy()
}
function test_oneChild() {
var control = oneChildBox.createObject(testCase)
- compare(control.contentWidth, 100)
- compare(control.contentHeight, 30)
verify(control.implicitWidth > 100)
verify(control.implicitHeight > 30)
control.destroy()
@@ -99,10 +95,8 @@ TestCase {
function test_twoChildren() {
var control = twoChildrenBox.createObject(testCase)
- compare(control.contentWidth, 0)
- compare(control.contentHeight, 0)
- verify(control.implicitWidth > 0)
- verify(control.implicitHeight > 0)
+ verify(control.implicitWidth > 200)
+ verify(control.implicitHeight > 60)
control.destroy()
}
}