diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-12-14 11:16:13 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-12-14 10:53:52 +0000 |
commit | 04337fae3704e5037dc619e847b6c79409b19669 (patch) | |
tree | 2db6489312ae1a5ed7adc0de0b675bf08d5f01cf /tests/auto/customization/data | |
parent | af0abc24e3e07917177f1a72af559db7eb15d9f4 (diff) |
Improve and fix tst_customization
- Don't collect multiple object names for the same object. It was
confusing that the "override" tests contained both "label-override"
and "label-simple", for instance.
- If creation fails, output the error as part of the FAIL message.
- Verify that the QML files actually contain correct types. One of
the RadioButton tests was accidentally running with a CheckBox.
Change-Id: Ide56eed84b5625652321bfe4ef5e32fcf6f45438
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/customization/data')
-rw-r--r-- | tests/auto/customization/data/styles/incomplete/RadioButton.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/customization/data/styles/incomplete/RadioButton.qml b/tests/auto/customization/data/styles/incomplete/RadioButton.qml index 933f3f0e..5569fef3 100644 --- a/tests/auto/customization/data/styles/incomplete/RadioButton.qml +++ b/tests/auto/customization/data/styles/incomplete/RadioButton.qml @@ -51,7 +51,7 @@ import QtQuick 2.9 import QtQuick.Templates 2.2 as T -T.CheckBox { +T.RadioButton { id: control objectName: "radiobutton-incomplete" |