diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-03-27 18:26:11 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-27 18:26:15 +0200 |
commit | 761328989492db9bd603c2d7f1134d20e485d2f6 (patch) | |
tree | 0e3b4517dd2000fb1cc2738bbb22a3e54dfffb6f /tests/domainadaptortest.cpp | |
parent | 80afd7070f2d8e57cab2fe55fef611623fdb75f0 (diff) | |
download | sink-761328989492db9bd603c2d7f1134d20e485d2f6.tar.gz sink-761328989492db9bd603c2d7f1134d20e485d2f6.zip |
Add CalDAV support
Summary:
Notes:
- Add a `webdavcommon` folder for WebDAV generic resource code
- Move `davresource` to `carddaveresource` and make it use the WebDAV code
- For now it tests the CalDAV resource directly on KolabNow (to be changed)
- Only synchronization, not adding / changing / removing WebDAV collections or items (to be implemented)
- Only events are currently supported (todo, freebusy, etc. are to be implemented but should be straightforward)
Fixes T8224
Reviewers: cmollekopf
Tags: #sink
Maniphest Tasks: T8224
Differential Revision: https://phabricator.kde.org/D11741
Diffstat (limited to 'tests/domainadaptortest.cpp')
-rw-r--r-- | tests/domainadaptortest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/domainadaptortest.cpp b/tests/domainadaptortest.cpp index 2aed0a9..60d5069 100644 --- a/tests/domainadaptortest.cpp +++ b/tests/domainadaptortest.cpp | |||
@@ -76,12 +76,10 @@ private slots: | |||
76 | auto summary = m_fbb.CreateString("summary1"); | 76 | auto summary = m_fbb.CreateString("summary1"); |
77 | auto description = m_fbb.CreateString("description"); | 77 | auto description = m_fbb.CreateString("description"); |
78 | static uint8_t rawData[100]; | 78 | static uint8_t rawData[100]; |
79 | auto attachment = m_fbb.CreateVector(rawData, 100); | ||
80 | 79 | ||
81 | auto builder = Sink::ApplicationDomain::Buffer::EventBuilder(m_fbb); | 80 | auto builder = Sink::ApplicationDomain::Buffer::EventBuilder(m_fbb); |
82 | builder.add_summary(summary); | 81 | builder.add_summary(summary); |
83 | builder.add_description(description); | 82 | builder.add_description(description); |
84 | builder.add_attachment(attachment); | ||
85 | auto buffer = builder.Finish(); | 83 | auto buffer = builder.Finish(); |
86 | Sink::ApplicationDomain::Buffer::FinishEventBuffer(m_fbb, buffer); | 84 | Sink::ApplicationDomain::Buffer::FinishEventBuffer(m_fbb, buffer); |
87 | 85 | ||