]> cloud.milkyroute.net Git - dolphin.git/commit
[PlacesItemModelTest] Ignore user tag places
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 5 May 2019 14:52:16 +0000 (16:52 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 5 May 2019 14:52:16 +0000 (16:52 +0200)
commitd41d3be348e76feab3d31f5eec875f6a392ff40f
treefba904662f32c6cca2622136ca1ba58c6f9ada76
parent33a0d17ea8d4de81322ca51a5acc1356f37798ed
[PlacesItemModelTest] Ignore user tag places

Instead of listing the user tags (as tried in D21017), the test should not have
access to the user's baloo DB in the first place.

To do so, we use a QTemporaryDir as $HOME for the test process and for
its ioslave children (by setting KDE_FORK_SLAVES=yes).

While at it, drop the no-op removeTestUserData() function.
src/tests/placesitemmodeltest.cpp