on xenial help sign in
Force rendering so we don't get stuck in "waitForRendering" loop in tests.
52f714fNick Dedekind
tests/utils/modules/Unity/Test/UnityTestCase.qml+9
@@ -20,8 +20,17 @@ import Ubuntu.Components 0.1
20import Unity.Test 0.1 as UT
20import Unity.Test 0.1 as UT
21
21
22TestCase {
22TestCase {
23+ id: testCase
23 TestUtil {id:util}
24 TestUtil {id:util}
24
25
26+ ActivityIndicator {
27+ visible: testCase.running
28+ anchors.centerIn: parent
29+ Component.onCompleted: parent = testCase.parent
30+ z: 100
31+ running: visible
32+ }
33+
25 // Fake implementation to be provided to items under test
34 // Fake implementation to be provided to items under test
26 property var fakeDateTime: new function() {
35 property var fakeDateTime: new function() {
27 this.currentTimeMs = 0
36 this.currentTimeMs = 0