~ci-train-bot/unity8/unity8-ubuntu-zesty-2026

« back to all changes in this revision

Viewing changes to tests/qmltests/Stage/tst_SurfaceContainer.qml

  • Committer: Bileto Bot
  • Author(s): Michael Zanetti
  • Date: 2016-10-24 11:34:08 UTC
  • mfrom: (2400.6.204 unity8-unified-spread)
  • Revision ID: ci-train-bot@canonical.com-20161024113408-7ul8ivww68dqm74v
Merge all Stages into one single codebase. Apply new spread visuals.

This deletes PhoneStage, TabletStage and DesktopStage, and merges all of the functionality into Stage. Also the spread visuals have been updated by design to work with all usage modes. (LP: #1489517, #1603914, #1635800)

Approved by: Lukáš Tinkl

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import Unity.Test 0.1 as UT
21
21
import Ubuntu.Components 1.3
22
22
import Unity.Application 0.1
23
 
import "../../../qml/Stages"
 
23
import "../../../qml/Stage"
24
24
 
25
25
Rectangle {
26
26
    color: "red"
87
87
            }
88
88
            Row {
89
89
                CheckBox {id: promptCheckbox; checked: false; activeFocusOnPress: false
90
 
                          enabled: surfaceContainerLoader.item.surface === null }
 
90
                          enabled: surfaceContainerLoader.item && surfaceContainerLoader.item.surface === null }
91
91
                Label { text: "isPromptSurface" }
92
92
            }
93
93