diff options
| author | Elvis Angelaccio <[email protected]> | 2018-10-13 22:24:57 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-10-13 22:26:36 +0200 |
| commit | dd8fce5594e9f55ce4c159d46ec59b08313982bb (patch) | |
| tree | bd79291fc225e8c344e4f7e931d8b86ba1bba39e /src | |
| parent | 277700425e7d77345de74ff0c6dc58fb0aca193c (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
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/placesitemmodeltest.cpp | 5 |
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() |
