@@ -66,6 +66,22 @@ private Q_SLOTS:
67 QCOMPARE(backend.icon(appId), expectedIcon);
67 QCOMPARE(backend.icon(appId), expectedIcon);
70+ void testCount_data() {
71+ QTest::addColumn<QString>("appId");
72+ QTest::addColumn<int>("expectedCount");
74+ QTest::newRow("Bootstrap") << "rel-icon" << -1;
78+ QFETCH(QString, appId);
79+ QFETCH(int, expectedCount);
81+ LauncherBackend backend;
83+ QCOMPARE(backend.count(appId), expectedCount);
71QTEST_GUILESS_MAIN(LauncherBackendTest)
87QTEST_GUILESS_MAIN(LauncherBackendTest)