From d6e6cab8b284167a9c8fd30ae669354d8315b3aa Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 10 Oct 2015 14:13:27 +0200 Subject: Create a new revision for removals as well. So we can replay the change. --- tests/pipelinetest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/pipelinetest.cpp b/tests/pipelinetest.cpp index 5dede64..4cff511 100644 --- a/tests/pipelinetest.cpp +++ b/tests/pipelinetest.cpp @@ -246,6 +246,9 @@ private Q_SLOTS: pipeline.deletedEntity(deleteCommand.constData(), deleteCommand.size()); pipeline.commit(); + //We have a new revision that indicates the deletion + QCOMPARE(getKeys("org.kde.pipelinetest.instance1", "event.main").size(), 2); + //Cleanup old revisions pipeline.startTransaction(); pipeline.cleanupRevision(2); -- cgit v1.2.3