From dd8fce5594e9f55ce4c159d46ec59b08313982bb Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 13 Oct 2018 22:24:57 +0200 Subject: [PATCH] [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 --- src/tests/placesitemmodeltest.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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() -- 2.47.3