]> cloud.milkyroute.net Git - dolphin.git/commit
Make this test work again with new uds implementation
authorJaime Torres Amate <jtamate@gmail.com>
Thu, 16 Aug 2018 11:50:04 +0000 (13:50 +0200)
committerJaime Torres Amate <jtamate@gmail.com>
Thu, 16 Aug 2018 11:50:52 +0000 (13:50 +0200)
commite03cbe25840fa5ad7569750a0d8020b1c046898f
tree5f776d78c1c882e4dff7471d9c135d00cb5afdee
parentadc5f6d3ac036a018ffc94eb9ca624a2453b09ee
Make this test work again with new uds implementation

Summary:
With the new uds implementation, when some data is meant to replace an old one, it has to use replace() instead of insert() to avoid an assert of data already exists.
Use 3 different entries and only insert().

Test Plan:
before: crash in the uds assert
after: passes the test

Reviewers: #dolphin, #frameworks, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: bcooksley, bshah, nalvarez, cfeck, dfaure, aacid, ngraham, bruns, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D13813
src/tests/kfileitemmodeltest.cpp