diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2012-07-02 14:58:10 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2012-07-02 14:58:10 +0200 |
commit | dfbd3dc45cf5c021041b31d53ea5bb2d3d007e45 (patch) | |
tree | 6cf630f8b2f63917a2ea5f8b099dc04538834b19 /test/ClientTest.h | |
parent | 2add74a5ea79d69e0b8909c4a7636efb5e07aa9b (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.h | 1 |
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(); |