From 7eace7ac5a74b68338b948857c4f2bc2e58abc48 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 20 Jul 2017 16:49:21 +0200 Subject: Fix tst_pageindicator::test_interactive() The Imagine style has to set top/left/right/bottom paddings separately. When the individual paddings are explicitly set, the generic padding property has no effect. Make the test set the required paddings so that it works also with the Imagine style. Change-Id: I8c4139917f397c8729817a54ad68c88d960dd479 Reviewed-by: Mitch Curtis --- tests/auto/controls/data/tst_pageindicator.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/controls/data/tst_pageindicator.qml b/tests/auto/controls/data/tst_pageindicator.qml index 70813cb8..f3151882 100644 --- a/tests/auto/controls/data/tst_pageindicator.qml +++ b/tests/auto/controls/data/tst_pageindicator.qml @@ -96,7 +96,7 @@ TestCase { } function test_interactive(data) { - var control = createTemporaryObject(pageIndicator, testCase, {count: 5, spacing: 10, padding: 10}) + var control = createTemporaryObject(pageIndicator, testCase, {count: 5, spacing: 10, topPadding: 10, leftPadding: 10, rightPadding: 10, bottomPadding: 10}) verify(control) verify(!control.interactive) -- cgit v1.2.3