on xenial help sign in
Add fake shell.mode property to tests
commita5f9da8e4a61263ce97caaf1bc9fe898cb03dee3 authorJosh Arenson <joshua.arenson@canonical.com> dateFri 17 Jul 2015, 13:33 (11 years ago) parentddb2092
2 files changed+12
tests/qmltests/Greeter/tst_Greeter.qml+6 tests/qmltests/Wizard/tst_Wizard.qml+6
tests/qmltests/Greeter/tst_Greeter.qml+6
@@ -36,6 +36,12 @@ Item {
3636 loader.active = true;
3737 }
3838
39+ // For testing only as greeter depends on this property
40+ Item {
41+ id: shell
42+ property string mode: "full-greeter"
43+ }
44+
3945 Loader {
4046 id: loader
4147
tests/qmltests/Wizard/tst_Wizard.qml+6
@@ -30,6 +30,12 @@ Item {
3030 width: units.gu(40)
3131 height: units.gu(71)
3232
33+ // For testing only as wizard depends on this property
34+ Item {
35+ id: shell
36+ property string mode: "full-greeter"
37+ }
38+
3339 Loader {
3440 id: wizardLoader
3541 anchors.fill: parent