on xenial help sign in
WindowManagerObjects bindings in UnityTestCase
commit27ac232ff64a5596efb361c085116ff85519c469 authorNick Dedekind <nick.dedekind@canonical.com> dateWed 22 Mar 2017, 12:44 (10 years ago) parentce2ac7d
1 file changed+13
tests/utils/modules/Unity/Test/UnityTestCase.qml+13
tests/utils/modules/Unity/Test/UnityTestCase.qml+13
@@ -17,6 +17,7 @@
1717import QtQuick 2.4
1818import QtTest 1.0
1919import Unity.Application 0.1
20+import WindowManager 1.0
2021import Ubuntu.Components 1.3
2122import Ubuntu.Test 1.0 as UbuntuTest
2223import Unity.Test 0.1 as UT
@@ -47,6 +48,18 @@ TestCase {
4748 }
4849 }
4950
51+ Binding {
52+ target: WindowManagerObjects
53+ property: "surfaceManager"
54+ value: SurfaceManager
55+ }
56+
57+ Binding {
58+ target: WindowManagerObjects
59+ property: "applicationManager"
60+ value: ApplicationManager
61+ }
62+
5063 // Fake implementation to be provided to items under test
5164 property var fakeDateTime: new function() {
5265 this.currentTimeMs = 0