diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2012-07-10 07:30:47 +0000 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2012-07-10 09:37:24 +0000 |
commit | 82ec2e06a9a70a582380b747c30c438a4fc360b3 (patch) | |
tree | eb7ed52f14f037cc1fa6c404fbc8ea20108cbaf6 /test/ClientTest.cpp | |
parent | 2673b67981095bc0b3da68766095ee1905d61cff (diff) |
testing: fixed testAddBothSides + VJOURNAL
The test fails if properties are involved which get
concatenated by the Synthesis engine during merging. Need
to remove those also for VJOURNAL.
Diffstat (limited to 'test/ClientTest.cpp')
-rw-r--r-- | test/ClientTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ClientTest.cpp b/test/ClientTest.cpp index 5a9b254a..10849e76 100644 --- a/test/ClientTest.cpp +++ b/test/ClientTest.cpp @@ -4686,8 +4686,11 @@ void SyncTests::testAddBothSides() std::string updateItem = sources[0].second->config.m_updateItem; if (addBothSidesNoMergeLines) { + // VEVENT boost::replace_all(updateItem, "LOCATION:big meeting room", "LOCATION:my office"); boost::replace_all(updateItem, "DESCRIPTION:nice to see you", "DESCRIPTION:let's talk<<REVISION>>"); + // VJOURNAL + boost::replace_all(updateItem, "DESCRIPTION:Summary\\nBody text", "DESCRIPTION:Summary Modified\\nBody text"); } CT_ASSERT_NO_THROW(sources[0].second->insert(sources[0].second->createSourceA, |