From 4367be99cc89c733b8667a30c8a82dac21ba08bb Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 19 Dec 2017 12:53:44 +0100 Subject: 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 --- tests/auto/customization/data/styles/override/ScrollView.qml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/customization/data/styles/override/ScrollView.qml') diff --git a/tests/auto/customization/data/styles/override/ScrollView.qml b/tests/auto/customization/data/styles/override/ScrollView.qml index 0c8bd774..040c9815 100644 --- a/tests/auto/customization/data/styles/override/ScrollView.qml +++ b/tests/auto/customization/data/styles/override/ScrollView.qml @@ -55,10 +55,6 @@ Simple.ScrollView { id: control objectName: "scrollview-override" - contentItem: Flickable { - objectName: "scrollview-contentItem-override" - } - background: Item { objectName: "scrollview-background-override" } -- cgit v1.2.3