@@ -368,6 +368,8 @@ private Q_SLOTS:
368368 }
369369
370370 void testCountEmblems() {
371+ QSignalSpy spy(launcherModel, SIGNAL(dataChanged(QModelIndex,QModelIndex,QVector<int>)));
372+
371373 // Call GetAll on abs-icon
372374 QDBusInterface interface("com.canonical.Unity.Launcher", "/com/canonical/Unity/Launcher/abs_2Dicon", "org.freedesktop.DBus.Properties");
373375 QDBusReply<QVariantMap> reply = interface.call("GetAll");
@@ -398,9 +400,11 @@ private Q_SLOTS:
398400 QCOMPARE(index >= 0, true);
399401
400402 // And make sure values have changed there as well
403+ spy.clear();
401404 QCOMPARE(launcherModel->get(index)->countVisible(), true);
402405 QCOMPARE(launcherModel->get(index)->count(), 55);
403406 QVERIFY(launcherModel->get(index)->alerting() == true);
407+ QCOMPARE(spy.at(0).at(2).value<QVector<int>>().first(), (int)LauncherModelInterface::RoleAlerting);
404408 }
405409
406410 void testCountEmblemAddsRemovesItem_data() {