@@ -69,11 +69,9 @@ private Q_SLOTS:
69 QVariantMap map1; map1["title"] = "fake1";
69 QVariantMap map1; map1["title"] = "fake1";
70 QVariantMap map2; map2["title"] = "fake2";
70 QVariantMap map2; map2["title"] = "fake2";
71 QVariantMap map3; map3["title"] = "fake3";
71 QVariantMap map3; map3["title"] = "fake3";
72− QVariantMap map4; map4["title"] = "fake4";
73 map["indicator-fake1"] = map1;
72 map["indicator-fake1"] = map1;
74 map["indicator-fake2"] = map2;
73 map["indicator-fake2"] = map2;
75 map["indicator-fake3"] = map3;
74 map["indicator-fake3"] = map3;
76− map["indicator-fake4"] = map4;
78 IndicatorsModel model;
76 IndicatorsModel model;
79 model.setIndicatorData(map);
77 model.setIndicatorData(map);
@@ -88,7 +86,7 @@ private Q_SLOTS:
88 QCOMPARE(model.data(0, IndicatorsModelRole::IndicatorProperties).toMap()["busName"].toString(), QString("com.canonical.indicator.fake3"));
86 QCOMPARE(model.data(0, IndicatorsModelRole::IndicatorProperties).toMap()["busName"].toString(), QString("com.canonical.indicator.fake3"));
90 QCOMPARE(model.data(1, IndicatorsModelRole::Identifier).toString(), QString("indicator-fake4"));
88 QCOMPARE(model.data(1, IndicatorsModelRole::Identifier).toString(), QString("indicator-fake4"));
91− QCOMPARE(model.data(1, IndicatorsModelRole::Title).toString(), QString("fake4"));
89+ QCOMPARE(model.data(1, IndicatorsModelRole::Title).toString(), QString("indicator-fake4"));
92 QCOMPARE(model.data(1, IndicatorsModelRole::Position).toInt(), 2);
90 QCOMPARE(model.data(1, IndicatorsModelRole::Position).toInt(), 2);
93 QCOMPARE(model.data(1, IndicatorsModelRole::IndicatorProperties).toMap()["busName"].toString(), QString("com.canonical.indicator.fake4"));
91 QCOMPARE(model.data(1, IndicatorsModelRole::IndicatorProperties).toMap()["busName"].toString(), QString("com.canonical.indicator.fake4"));