summaryrefslogtreecommitdiff
path: root/test/synckolab/parser/kolab3/xml
diff options
context:
space:
mode:
authorniko <niko>2012-10-26 13:33:41 (GMT)
committerniko <niko>2012-10-26 13:33:41 (GMT)
commitcbcc1d1672fd98e4088f6274d40daf2b74eb1eac (patch)
treeb2423f8fe7b212b680bc9709a8bd6af1aab7b3a7 /test/synckolab/parser/kolab3/xml
parentca36877b242ddafe173e348bfbf7da095d034009 (diff)
downloadsynckolab-cbcc1d1672fd98e4088f6274d40daf2b74eb1eac.tar.gz
write photo back
Diffstat (limited to 'test/synckolab/parser/kolab3/xml')
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.complex.mime.xml34
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.test.mime.xml2
2 files changed, 29 insertions, 7 deletions
diff --git a/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml b/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml
index 4eab87d..1892809 100644
--- a/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml
+++ b/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
<vcard>
- <uid><urn>urn:uuid:Huu5X7hfYy</urn></uid>
+ <uid><uri>urn:uuid:Huu5X7hfYy</uri></uid>
<x-kolab-version><text>3.0dev1</text></x-kolab-version>
<prodid><text>SyncKolab 3.0.0, Kolab resource</text></prodid>
<rev><timestamp>19700101T000000ZZ</timestamp></rev>
- <kind>
- <text>individual</text>
- </kind>
+ <kind><text>individual</text></kind>
<fn><text>Displayname</text></fn>
<n>
<surname>Firstname</surname>
@@ -45,11 +43,35 @@
<text>Nickname</text>
</nickname>
<bday>
- <date-time>2043</date-time>
+ <date-time>20090727T000000</date-time>
</bday>
<anniversary>
- <date-time>2009-7-28</date-time>
+ <date>20090728</date>
</anniversary>
+ <photo>
+ <uri>data:image/png;base64,iVBORw0KGgoAAA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thOebmS1nl/C9dToXOO1wrj/nlbAocVYLvXZ
+4FcdBs32P2WiGkCEhZEgIGRJChoSQ0d6ncG/bfyheSatHUd71c/dDb6gDuQ+mUL6Y/gNX8t
+IUt0Z9/7qv7bVKXME74jIbeLXQ+SU6zKjLemeREDIkhAwJIUNCyNieN8p14NWhutUuepdEP
+zVeofxQbugWyivVRa/78r8A8Zf9CPOBzA0U70lC+PcK0qBtX5nQDCFDQsiQEDIkhAwJIWP3
+fYPqevg5ig8ePPALynu7e72tdfbnk3m8je54eArF+8v7n6G8mOnza7xwaugbVLsDCSFDQsi
+QEDIkhAwJIWP3tb0eNw2+MTnoyl7zLmlOx985h/DvwV6Nnk1qfNtaDc0QMiSEDAkhQ0LIkB
+AhhBBCCPEe8D+b5dDLeP4TXAAAAABJRU5ErkJggg</uri>
+ </photo>
<tel>
<parameters><type><text>home</text></type></parameters>
<text>+4930-homephone</text>
diff --git a/test/synckolab/parser/kolab3/xml/contact.test.mime.xml b/test/synckolab/parser/kolab3/xml/contact.test.mime.xml
index 9c5370d..19e7b22 100644
--- a/test/synckolab/parser/kolab3/xml/contact.test.mime.xml
+++ b/test/synckolab/parser/kolab3/xml/contact.test.mime.xml
@@ -18,7 +18,7 @@
notes
with empty</text>
</note>
- <bday> <date-time>2042</date-time>
+ <bday> <date-time>20121020T000000</date-time>
</bday>
<tel>
<parameters><type><text>home</text></type></parameters>