~feng-kylin/unity8/OpenUrlInIndicator

« back to all changes in this revision

Viewing changes to tests/qmltests/Panel/tst_IndicatorRow.qml

  • Committer: Tarmac
  • Author(s): Nick Dedekind, Launchpad Translations on behalf of unity-team
  • Date: 2013-07-11 19:50:27 UTC
  • mfrom: (2.5.114 indicators-client)
  • Revision ID: tarmac-20130711195027-yheu3w2oc42c1h7s
Moved indicators-client code into unity8. Fixes: https://bugs.launchpad.net/bugs/1191132, https://bugs.launchpad.net/bugs/1191822.

Approved by PS Jenkins bot, Michał Sawicz, Nicolas d'Offay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import Unity.Test 0.1 as UT
20
20
import ".."
21
21
import "../../../Panel"
22
 
import Ubuntu.ChewieUI 0.1 as ChewieUI
 
22
import Unity.Indicators 0.1 as Indicators
23
23
 
24
24
/*
25
25
  This tests the IndicatorRow component by using a fake model to stage data in the indicators
51
51
        indicatorsModel: indicatorModel
52
52
    }
53
53
 
54
 
    ChewieUI.PluginModel {
 
54
    Indicators.IndicatorsModel {
55
55
        id: indicatorModel
 
56
        Component.onCompleted: load()
56
57
    }
57
58
 
58
59
    UT.UnityTestCase {
241
242
            compare(get_indicator_item_at(4).dimmed, true, "Other indicators should dim when in locked state");
242
243
        }
243
244
 
244
 
        function test_active_overview_() {
 
245
        function test_active_overview() {
245
246
            init_test();
246
247
 
247
248
            indicatorRow.overviewActive = true;