~unity-team/unity8/workspace-backend

« back to all changes in this revision

Viewing changes to tests/qmltests/tst_Shell.qml

  • Committer: Nick Dedekind
  • Date: 2017-03-27 16:35:49 UTC
  • Revision ID: nick.dedekind@canonical.com-20170327163549-m88fqzct91fwxclt
fixed surfacelist in test

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    property var shell: shellLoader.item ? shellLoader.item : null
61
61
    onShellChanged: {
62
62
        if (shell) {
63
 
            topLevelSurfaceList = testCase.findInvisibleChild(shell, "topLevelSurfaceList");
 
63
            topLevelSurfaceList = shell.topLevelSurfaceList;
64
64
            panelState = testCase.findInvisibleChild(shell, "panelState");
65
65
        } else {
66
66
            topLevelSurfaceList = null;
605
605
            waitForGreeterToStabilize();
606
606
 
607
607
            // from StageTestCase
608
 
            topLevelSurfaceList = findInvisibleChild(shell, "topLevelSurfaceList");
 
608
            topLevelSurfaceList = shell.topLevelSurfaceList;
609
609
            verify(topLevelSurfaceList);
610
610
            stage = findChild(shell, "stage");
611
611