]> cloud.milkyroute.net Git - dolphin.git/commitdiff
[PlacesItemModelTest] Make test fail on purpose
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 13 Oct 2018 20:24:57 +0000 (22:24 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 13 Oct 2018 20:26:36 +0000 (22:26 +0200)
Needed to check whether on the CI KDirWatch emits the `created` signal when we
refresh the places model.

Will be reverted soon.

GIT_SILENT

src/tests/placesitemmodeltest.cpp

index 40ee47cbc9beb514eb71a0cb327cc67e3da6feed..559ff09b53a857f07da925584dade08bd639d12f 100644 (file)
@@ -739,6 +739,11 @@ void PlacesItemModelTest::testRefresh()
 
     // item must be equal
     QTRY_COMPARE(item->text(), sameItem->text());
+
+    // TODO REMOVE
+    if (item->text() == sameItem->text()) {
+        QCOMPARE(0, 1);
+    }
 }
 
 void PlacesItemModelTest::testIcons_data()