summaryrefslogtreecommitdiff
path: root/test/ClientTest.h
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2012-07-02 14:58:10 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2012-07-02 14:58:10 +0200
commitdfbd3dc45cf5c021041b31d53ea5bb2d3d007e45 (patch)
tree6cf630f8b2f63917a2ea5f8b099dc04538834b19 /test/ClientTest.h
parent2add74a5ea79d69e0b8909c4a7636efb5e07aa9b (diff)
testing: check result of "item already exists" during insert
The new testInsertTwice checks what the backend does when the same item already exists in the database. This is only done for test data which has a UID (i.e. for calendar data, but not for contacts). This test exercises the code which previously failed with 412 "Precondition Failed" in the CalDAVMemo backend.
Diffstat (limited to 'test/ClientTest.h')
-rw-r--r--test/ClientTest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ClientTest.h b/test/ClientTest.h
index b9dcdd7f..f8dbfd18 100644
--- a/test/ClientTest.h
+++ b/test/ClientTest.h
@@ -627,6 +627,7 @@ public:
virtual void testSimpleInsert();
virtual void testLocalDeleteAll();
virtual void testComplexInsert();
+ virtual void testInsertTwice();
virtual void testLocalUpdate();
void doChanges(bool restart);
virtual void testChanges();