From: Elvis Angelaccio Date: Sat, 13 Oct 2018 20:24:57 +0000 (+0200) Subject: [PlacesItemModelTest] Make test fail on purpose X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/dd8fce5594e9f55ce4c159d46ec59b08313982bb?ds=inline [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 --- 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()