workaround the QTestLogger assertion issue with make tryXyz and our custom uqmlscene
commitb24110ebf0e09a851a2e8079a85221c50e166648
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 16 Apr 2014, 13:44 (13 years ago)
parentd536bf9c050661
tests/qmltests/Dash/tst_DashContent.qml+1−1
@@ -65,7 +65,7 @@ Item {
6565
6666 UT.UnityTestCase {
6767 name: "DashContent"
68− when: scopesModel.loaded
68+ when: scopesModel.loaded && windowShown
6969
7070 function init() {
7171 scopesModel.clear();
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
@@ -64,7 +64,7 @@ Item {
6464
6565 UT.UnityTestCase {
6666 name: "GenericScopeView"
67− when: scopes.loaded
67+ when: scopes.loaded && windowShown
6868
6969 function init() {
7070 genericScopeView.scope = scopes.get(2)
tests/qmltests/Launcher/tst_Launcher.qml+1
@@ -66,6 +66,7 @@ Item {
6666
6767 UT.UnityTestCase {
6868 id: revealer
69+ when: windowShown
6970
7071 function dragLauncherIntoView() {
7172 var startX = launcher.dragAreaWidth/2;
tests/qmltests/Panel/Indicators/tst_MenuItemFactory.qml+1
@@ -44,6 +44,7 @@ Item {
4444
4545 UT.UnityTestCase {
4646 name: "MenuItemFactory"
47+ when: windowShown
4748
4849 property QtObject menuData: QtObject {
4950 property string label: "root"
tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml+1
@@ -39,6 +39,7 @@ Item {
3939
4040 UT.UnityTestCase {
4141 name: "MessageMenuItemFactory"
42+ when: windowShown
4243
4344 property QtObject menuData: QtObject {
4445 property string label: "root"