aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/customization/data/styles/override/RadioButton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-12-19 12:53:44 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-12-20 13:36:18 +0000
commit4367be99cc89c733b8667a30c8a82dac21ba08bb (patch)
tree4085b1332ff2720d5e0f63a144aef0071e1cabbe /tests/auto/customization/data/styles/override/RadioButton.qml
parentaaedef9fec97329b7ca5568670de571f5b8e8df8 (diff)
Make tst_customization easier to maintain
Maintain the tested controls and delegates in a single array that can be re-used for testing all styles without repetitive and error-prone hand-written data rows. For this to work, the structure of the tested styles must match. The "incomplete" and "override" styles filled in all possible delegates, whereas the "simple" style filled in only the normally used delegates. The test styles have now been synced with the structure of our built- in styles. For example, Dials and Sliders don't normally have a content item, and CheckBoxes and RadioButtons don't normally have a background. Change-Id: I48a26ee170f66882c55b54a282f2e4b3a3875f9a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/customization/data/styles/override/RadioButton.qml')
-rw-r--r--tests/auto/customization/data/styles/override/RadioButton.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/customization/data/styles/override/RadioButton.qml b/tests/auto/customization/data/styles/override/RadioButton.qml
index 0ecec7e3..42397f08 100644
--- a/tests/auto/customization/data/styles/override/RadioButton.qml
+++ b/tests/auto/customization/data/styles/override/RadioButton.qml
@@ -62,8 +62,4 @@ Simple.RadioButton {
contentItem: Item {
objectName: "radiobutton-contentItem-override"
}
-
- background: Item {
- objectName: "radiobutton-background-override"
- }
}