┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-10-13 22:24:57 +0200
committerElvis Angelaccio <[email protected]>2018-10-13 22:26:36 +0200
commitdd8fce5594e9f55ce4c159d46ec59b08313982bb (patch)
treebd79291fc225e8c344e4f7e931d8b86ba1bba39e
parent277700425e7d77345de74ff0c6dc58fb0aca193c (diff)
[PlacesItemModelTest] Make test fail on purpose
Needed to check whether on the CI KDirWatch emits the `created` signal when we refresh the places model. Will be reverted soon. GIT_SILENT
-rw-r--r--src/tests/placesitemmodeltest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/placesitemmodeltest.cpp b/src/tests/placesitemmodeltest.cpp
index 40ee47cbc..559ff09b5 100644
--- a/src/tests/placesitemmodeltest.cpp
+++ b/src/tests/placesitemmodeltest.cpp
@@ -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()