summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniko <niko>2012-10-10 20:39:06 (GMT)
committerniko <niko>2012-10-10 20:39:06 (GMT)
commit6769837d62e994f8e080c008d3939a7aca2c5f12 (patch)
treea04acd7e65153806064897b85b8b8e338142c93a
parent99e810d096b0d75d3686af8f52d359193c3a7182 (diff)
downloadsynckolab-6769837d62e994f8e080c008d3939a7aca2c5f12.tar.gz
cleanup test files
-rw-r--r--test/synckolab/parser/kolab3/calendarTest.js2
-rw-r--r--test/synckolab/parser/kolab3/contactTest.js8
-rw-r--r--test/synckolab/parser/kolab3/json/contact.complex.mime.json (renamed from test/synckolab/parser/kolab3/json/complex.vcf.mime.json)0
-rw-r--r--test/synckolab/parser/kolab3/json/contact.simple.mime.json (renamed from test/synckolab/parser/kolab3/json/simple.vcf.mime.json)0
-rw-r--r--test/synckolab/parser/kolab3/json/contact.test.mime.json24
-rw-r--r--test/synckolab/parser/kolab3/json/contact.test2.mime.json13
-rw-r--r--test/synckolab/parser/kolab3/json/event.complex.mime.json (renamed from test/synckolab/parser/kolab3/json/complex.ics.mime.json)0
-rw-r--r--test/synckolab/parser/kolab3/json/event.simple.mime.json (renamed from test/synckolab/parser/kolab3/json/simple.ics.mime.json)0
-rw-r--r--test/synckolab/parser/kolab3/raw/contact.complex.mime (renamed from test/synckolab/parser/kolab3/raw/complex.vcf.mime)0
-rw-r--r--test/synckolab/parser/kolab3/raw/contact.simple.mime (renamed from test/synckolab/parser/kolab3/raw/simple.vcf.mime)0
-rw-r--r--test/synckolab/parser/kolab3/raw/contact.test.mime (renamed from test/synckolab/parser/kolab3/raw/contacttest-e79e08cc-0f02-11e2-9e3c-000476ed9009.eml)0
-rw-r--r--test/synckolab/parser/kolab3/raw/contact.test2.mime32
-rw-r--r--test/synckolab/parser/kolab3/raw/distlist.test1.mime66
-rw-r--r--test/synckolab/parser/kolab3/raw/event.complex.mime (renamed from test/synckolab/parser/kolab3/raw/complex.ics.mime)0
-rw-r--r--test/synckolab/parser/kolab3/raw/event.simple.mime (renamed from test/synckolab/parser/kolab3/raw/simple.ics.mime)0
-rw-r--r--test/synckolab/parser/kolab3/raw/event.test.mime (renamed from test/synckolab/parser/kolab3/raw/kaltest-2D96EAF4BBB56DBB8A7D0D48122FD0DD-7F0077A606323E46.eml)0
-rw-r--r--test/synckolab/parser/kolab3/raw/event.test2.mime50
-rw-r--r--test/synckolab/parser/kolab3/raw/event.test3.mime50
-rw-r--r--test/synckolab/parser/kolab3/raw/task.complex.mime (renamed from test/synckolab/parser/kolab3/raw/complex.task.ics.mime)0
-rw-r--r--test/synckolab/parser/kolab3/raw/task.simple.mime (renamed from test/synckolab/parser/kolab3/raw/simple.task.ics.mime)0
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.complex.mime.xml (renamed from test/synckolab/parser/kolab3/xml/complex.vcf.mime.xml)0
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.simple.mime.xml (renamed from test/synckolab/parser/kolab3/xml/simple.vcf.mime.xml)0
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.test.mime.xml37
-rw-r--r--test/synckolab/parser/kolab3/xml/contact.test2.mime.xml22
-rw-r--r--test/synckolab/parser/kolab3/xml/event.complex.mime.xml75
25 files changed, 375 insertions, 4 deletions
diff --git a/test/synckolab/parser/kolab3/calendarTest.js b/test/synckolab/parser/kolab3/calendarTest.js
index 6041a3e..8566bd5 100644
--- a/test/synckolab/parser/kolab3/calendarTest.js
+++ b/test/synckolab/parser/kolab3/calendarTest.js
@@ -31,7 +31,7 @@ test("kolab3 synckolab.addressbookTools.parseMessageContent", function(){
}
});
*/
- var testFiles = ["complex.ics.mime"];
+ var testFiles = ["event.complex.mime"];
var content, entry, jsonEntry;
diff --git a/test/synckolab/parser/kolab3/contactTest.js b/test/synckolab/parser/kolab3/contactTest.js
index 7eb8dc8..7f8e6ae 100644
--- a/test/synckolab/parser/kolab3/contactTest.js
+++ b/test/synckolab/parser/kolab3/contactTest.js
@@ -12,7 +12,7 @@ load("test/lib/testOverride.js");
test("kolab3 synckolab.addressbookTools.parseMessageContent", function(){
equal(null, synckolab.addressbookTools.parseMessageContent(null), "parsing a null message");
- var testFiles = ["simple.vcf.mime","complex.vcf.mime"];
+ var testFiles = ["contact.simple.mime","contact.complex.mime","contact.test.mime","contact.test2.mime"];
var content, entry, jsonEntry;
@@ -36,7 +36,7 @@ test("kolab3 synckolab.addressbookTools.parseMessageContent", function(){
}
});
/*
- var testFiles = ["simple.vcf.mime"];
+ var testFiles = ["contact.test.mime"];
var content, entry, jsonEntry;
@@ -52,13 +52,15 @@ test("kolab3 synckolab.addressbookTools.parseMessageContent", function(){
print(JSON.stringify(entry, null, ' '))
// json -> kolab 3 xml
content = synckolab.addressbookTools.card2Kolab3(entry);
+ print("=== parsed XML");
+ print(content);
xmlcontent = readFile("test/synckolab/parser/kolab3/xml/"+src + ".xml");
if (xmlcontent.replace(/[\n\r\t ]/g, "").length != content.replace(/[\n\r\t ]/g, "").length) {
var diff = diffString(xmlcontent, content)
print("DIFF FOUND:"+ xmlcontent.replace(/[\n\r\t ]/g, "").length + " vs. "+ content.replace(/[\n\r\t ]/g, "").length +"\n" + diff);
}
}
- */
+*/ \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/json/complex.vcf.mime.json b/test/synckolab/parser/kolab3/json/contact.complex.mime.json
index aa09bfb..aa09bfb 100644
--- a/test/synckolab/parser/kolab3/json/complex.vcf.mime.json
+++ b/test/synckolab/parser/kolab3/json/contact.complex.mime.json
diff --git a/test/synckolab/parser/kolab3/json/simple.vcf.mime.json b/test/synckolab/parser/kolab3/json/contact.simple.mime.json
index 6e779b9..6e779b9 100644
--- a/test/synckolab/parser/kolab3/json/simple.vcf.mime.json
+++ b/test/synckolab/parser/kolab3/json/contact.simple.mime.json
diff --git a/test/synckolab/parser/kolab3/json/contact.test.mime.json b/test/synckolab/parser/kolab3/json/contact.test.mime.json
new file mode 100644
index 0000000..95a23e0
--- /dev/null
+++ b/test/synckolab/parser/kolab3/json/contact.test.mime.json
@@ -0,0 +1,24 @@
+{
+ "synckolab": "3.0.0",
+ "type": "contact",
+ "isMailList": false,
+ "ts": 1349900866998,
+ "UUID": "urn:uuid:e79e08cc-0f02-11e2-9e3c-000476ed9009",
+ "DisplayName": "firstname lastname",
+ "FirstName": "lastname",
+ "LastName": "firstname",
+ "Notes": "multi line\nnotes\n\nwith empty",
+ "HomeAddress": "homestreet",
+ "HomeAddress2": "",
+ "HomeCity": "homecity",
+ "HomeState": "homestate",
+ "HomeZipCode": "1234",
+ "HomeCountry": "homecountry",
+ "BirthYear": 2012,
+ "BirthMonth": 10,
+ "BirthDay": 20,
+ "gender": "\n ",
+ "HomePhone": "+43 homephone",
+ "PrimaryEmail": "email1@test.com",
+ "sha1": "f3940b0058e3b564ed2dc0c9f667b54725d2ffde"
+} \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/json/contact.test2.mime.json b/test/synckolab/parser/kolab3/json/contact.test2.mime.json
new file mode 100644
index 0000000..7c35a9a
--- /dev/null
+++ b/test/synckolab/parser/kolab3/json/contact.test2.mime.json
@@ -0,0 +1,13 @@
+{
+ "synckolab": "3.0.0",
+ "type": "contact",
+ "isMailList": false,
+ "ts": 1349900714929,
+ "UUID": "urn: uuid:ebf6fdc2-1149-11e2-841b-000476ed9009",
+ "DisplayName": "Hans Wurst",
+ "FirstName": "Wurst",
+ "LastName": "Hans",
+ "HomePhone": "+49123456789",
+ "PrimaryEmail": "hans@wurst.de",
+ "sha1": "c4ea78596ac0cf988a5d6dac68f1510b9ef66b13"
+} \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/json/complex.ics.mime.json b/test/synckolab/parser/kolab3/json/event.complex.mime.json
index 29f1253..29f1253 100644
--- a/test/synckolab/parser/kolab3/json/complex.ics.mime.json
+++ b/test/synckolab/parser/kolab3/json/event.complex.mime.json
diff --git a/test/synckolab/parser/kolab3/json/simple.ics.mime.json b/test/synckolab/parser/kolab3/json/event.simple.mime.json
index 5b62f20..5b62f20 100644
--- a/test/synckolab/parser/kolab3/json/simple.ics.mime.json
+++ b/test/synckolab/parser/kolab3/json/event.simple.mime.json
diff --git a/test/synckolab/parser/kolab3/raw/complex.vcf.mime b/test/synckolab/parser/kolab3/raw/contact.complex.mime
index 4a3d52a..4a3d52a 100644
--- a/test/synckolab/parser/kolab3/raw/complex.vcf.mime
+++ b/test/synckolab/parser/kolab3/raw/contact.complex.mime
diff --git a/test/synckolab/parser/kolab3/raw/simple.vcf.mime b/test/synckolab/parser/kolab3/raw/contact.simple.mime
index a459896..a459896 100644
--- a/test/synckolab/parser/kolab3/raw/simple.vcf.mime
+++ b/test/synckolab/parser/kolab3/raw/contact.simple.mime
diff --git a/test/synckolab/parser/kolab3/raw/contacttest-e79e08cc-0f02-11e2-9e3c-000476ed9009.eml b/test/synckolab/parser/kolab3/raw/contact.test.mime
index ec9de38..ec9de38 100644
--- a/test/synckolab/parser/kolab3/raw/contacttest-e79e08cc-0f02-11e2-9e3c-000476ed9009.eml
+++ b/test/synckolab/parser/kolab3/raw/contact.test.mime
diff --git a/test/synckolab/parser/kolab3/raw/contact.test2.mime b/test/synckolab/parser/kolab3/raw/contact.test2.mime
new file mode 100644
index 0000000..04bcc40
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/contact.test2.mime
@@ -0,0 +1,32 @@
+MIME-Version: 1.0
+Content-Type: text/plain; charset="US-ASCII"
+From: grote2@demo.kolab.org
+To: grote2@demo.kolab.org
+Date: Mon, 08 Oct 2012 15:13:16 +0200
+X-Kolab-Type: application/x-vnd.kolab.contact
+X-Kolab-Mime-Version: 3.0
+Subject: ebf6fdc2-1149-11e2-841b-000476ed9009
+User-Agent: Roundcube Webmail/0.9-0.10.git954540a3.el6.kolab_3.0
+
+--=_fa2884819e665b9976ebbf6fea3ebc10
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain; charset="ISO-8859-1"
+
+This is a Kolab Groupware object. To view this object you will need an emai=
+l client that understands the Kolab Groupware format. For a list of such em=
+ail clients please visit http: //www.kolab.org/
+
+
+--=_fa2884819e665b9976ebbf6fea3ebc10
+Content-Transfer-Encoding: 8bit
+Content-Type: application/vcard+xml; charset="UTF-8"; name="kolab.xml"
+Content-Disposition: attachment; filename="kolab.xml"
+
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<vcards xmlns="urn: ietf:params:xml:ns:vcard-4.0">
+
+ <vcard>
+ <uid>
+ <uri>urn: uuid:ebf6fdc2-1149-11e2-841b-000476ed9009</uri> </uid> <x-kolab-version> <text>3.0dev1</text> </x-kolab-version> <prodid> <text>Libkolabxml-0.8.1</text> </prodid> <rev> <timestamp>20121008T131316Z</timestamp> </rev> <kind> <text>individual</text> </kind> <fn> <text>Hans Wurst</text> </fn> <n> <surname>Wurst</surname> <given>Hans</given> </n> <tel> <parameters> <type> <text>home</text> </type> </parameters> <text>+49123456789</text> </tel> <email> <text>hans@wurst.de</text> </email> </vcard>
+</vcards>
+--=_fa2884819e665b9976ebbf6fea3ebc10-- \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/distlist.test1.mime b/test/synckolab/parser/kolab3/raw/distlist.test1.mime
new file mode 100644
index 0000000..d54c26c
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/distlist.test1.mime
@@ -0,0 +1,66 @@
+Date: Mon, 23 Apr 2012 12:46:37 +0200
+X-Kolab-Type: application/x-vnd.kolab.distribution-list
+X-Kolab-Mime-Version: 3.0
+User-Agent: Libkolab-0.1.0
+Content-Type: multipart/mixed; boundary="nextPart1365947.WmFcbPlLFA"
+Subject: 4xuyC0cyjV
+From: Volker Krause <vkrause@kde.org>
+MIME-Version: 1.0
+
+
+--nextPart1365947.WmFcbPlLFA
+Content-Type: text/plain; charset="us-ascii"
+Content-Transfer-Encoding: 7Bit
+
+This is a Kolab Groupware object.
+To view this object you will need an email client that can understand the Kolab Groupware format.
+For a list of such email clients please visit
+http://www.kolab.org/get-kolab
+
+--nextPart1365947.WmFcbPlLFA
+Content-Type: application/vcard+xml; name="kolab.xml"
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: attachment; filename="kolab.xml"
+
+<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no" ?>
+<vcards xmlns=3D"urn:ietf:params:xml:ns:vcard-4.0">
+
+ <vcard>
+ <uid>
+ <uri>urn:uuid:4xuyC0cyjV</uri>
+ </uid>
+ <x-kolab-version>
+ <text>3.0dev1</text>
+ </x-kolab-version>
+ <prodid>
+ <text>Libkolab-0.1.0 Libkolabxml-0.3.0</text>
+ </prodid>
+ <rev>
+ <timestamp>20120505T050505Z</timestamp>
+ </rev>
+ <categories>
+ <text>cat1</text>
+ <text>cat2</text>
+ </categories>
+ <kind>
+ <text>group</text>
+ </kind>
+ <fn>
+ <text>My Distlist</text>
+ </fn>
+ <member>
+ <uri>mailto:John%20Doe%3cjdoe@example.com%3e</uri>
+ </member>
+ <member>
+ <uri>mailto:John%20Doe2%3cjdoe2@example.com%3e</uri>
+ </member>
+ <x-custom>
+ <identifier>X-Identifier</identifier>
+ <value>TestValue</value>
+ </x-custom>
+
+ </vcard>
+
+</vcards>
+
+--nextPart1365947.WmFcbPlLFA-- \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/complex.ics.mime b/test/synckolab/parser/kolab3/raw/event.complex.mime
index 76c69c5..76c69c5 100644
--- a/test/synckolab/parser/kolab3/raw/complex.ics.mime
+++ b/test/synckolab/parser/kolab3/raw/event.complex.mime
diff --git a/test/synckolab/parser/kolab3/raw/simple.ics.mime b/test/synckolab/parser/kolab3/raw/event.simple.mime
index e582d2f..e582d2f 100644
--- a/test/synckolab/parser/kolab3/raw/simple.ics.mime
+++ b/test/synckolab/parser/kolab3/raw/event.simple.mime
diff --git a/test/synckolab/parser/kolab3/raw/kaltest-2D96EAF4BBB56DBB8A7D0D48122FD0DD-7F0077A606323E46.eml b/test/synckolab/parser/kolab3/raw/event.test.mime
index 9c8d256..9c8d256 100644
--- a/test/synckolab/parser/kolab3/raw/kaltest-2D96EAF4BBB56DBB8A7D0D48122FD0DD-7F0077A606323E46.eml
+++ b/test/synckolab/parser/kolab3/raw/event.test.mime
diff --git a/test/synckolab/parser/kolab3/raw/event.test2.mime b/test/synckolab/parser/kolab3/raw/event.test2.mime
new file mode 100644
index 0000000..c267a65
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/event.test2.mime
@@ -0,0 +1,50 @@
+MIME-Version: 1.0
+Content-Type: text/plain; charset="US-ASCII"
+From: grote2@demo.kolab.org
+To: grote2@demo.kolab.org
+Date: Mon, 08 Oct 2012 15:17:11 +0200
+X-Kolab-Type: application/x-vnd.kolab.event
+X-Kolab-Mime-Version: 3.0
+Subject: B940A5CEAFDC9E36138BB1BDB9A4C60A-C1F477E69A6BE269
+User-Agent: Roundcube Webmail/0.9-0.10.git954540a3.el6.kolab_3.0
+
+--=_c0f846b388fe268ecbf90b2f7ae7dbf4
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain; charset="ISO-8859-1"
+
+This is a Kolab Groupware object. To view this object you will need an emai=
+l client that understands the Kolab Groupware format. For a list of such em=
+ail clients please visit http: //www.kolab.org/
+
+
+--=_c0f846b388fe268ecbf90b2f7ae7dbf4
+Content-Transfer-Encoding: 8bit
+Content-Type: application/calendar+xml; charset="UTF-8"; name="kolab.xml"
+Content-Disposition: attachment; filename="kolab.xml"
+
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<icalendar xmlns="urn: ietf:params:xml:ns:icalendar-2.0">
+
+ <vcalendar>
+ <properties>
+ <prodid>
+ <text>Libkolabxml-0.8.1</text>
+ </prodid>
+ <version>
+ <text>2.0</text>
+ </version>
+ <x-kolab-version>
+ <text>3.0dev1</text>
+ </x-kolab-version>
+ </properties>
+ <components>
+ <vevent>
+ <properties>
+ <uid>
+ <text>B940A5CEAFDC9E36138BB1BDB9A4C60A-C1F477E69A6BE269</text>
+ </uid>
+ <created>
+ <date-time>2012-10-08T13: 17:08Z</date-time> </created> <dtstamp> <date-time>2012-10-08T15:17:11Z</date-time> </dtstamp> <sequence> <integer>2</integer> </sequence> <class> <text>PUBLIC</text> </class> <dtstart> <parameters> <tzid> <text>/kolab.org/Europe/Paris</text> </tzid> </parameters> <date-time>2012-10-08T16:00:00</date-time> </dtstart> <dtend> <parameters> <tzid> <text>/kolab.org/Europe/Paris</text> </tzid> </parameters> <date-time>2012-10-08T17:00:00</date-time> </dtend> <summary> <text>Android Sync Test</text> </summary> <organizer> <parameters/> <cal-address>mailto:%3Cgrote2%40demo%2Ekolab%2Eorg%3E</cal-address> </organizer> </properties> </vevent> </components> </vcalendar>
+
+
+--=_c0f846b388fe268ecbf90b2f7ae7dbf4-- \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/event.test3.mime b/test/synckolab/parser/kolab3/raw/event.test3.mime
new file mode 100644
index 0000000..eb19f77
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/event.test3.mime
@@ -0,0 +1,50 @@
+MIME-Version: 1.0
+Content-Type: text/plain; charset="US-ASCII"
+From: grote2@demo.kolab.org
+To: grote2@demo.kolab.org
+Date: Tue, 09 Oct 2012 10:51:30 +0200
+X-Kolab-Type: application/x-vnd.kolab.event
+X-Kolab-Mime-Version: 3.0
+Subject: D117136572E7197A0D316A699A95BEBA-C1F477E69A6BE269
+User-Agent: Roundcube Webmail/0.9-0.11.git078c5dc7.el6.kolab_3.0
+
+--=_4cf438e90598a0b766b080e9542a1afb
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain; charset="ISO-8859-1"
+
+This is a Kolab Groupware object. To view this object you will need an emai=
+l client that understands the Kolab Groupware format. For a list of such em=
+ail clients please visit http: //www.kolab.org/
+
+
+--=_4cf438e90598a0b766b080e9542a1afb
+Content-Transfer-Encoding: 8bit
+Content-Type: application/calendar+xml; charset="UTF-8"; name="kolab.xml"
+Content-Disposition: attachment; filename="kolab.xml"
+
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<icalendar xmlns="urn: ietf:params:xml:ns:icalendar-2.0">
+
+ <vcalendar>
+ <properties>
+ <prodid>
+ <text>Libkolabxml-0.8.1</text>
+ </prodid>
+ <version>
+ <text>2.0</text>
+ </version>
+ <x-kolab-version>
+ <text>3.0dev1</text>
+ </x-kolab-version>
+ </properties>
+ <components>
+ <vevent>
+ <properties>
+ <uid>
+ <text>D117136572E7197A0D316A699A95BEBA-C1F477E69A6BE269</text>
+ </uid>
+ <created>
+ <date-time>2012-10-09T08: 51:25Z</date-time> </created> <dtstamp> <date-time>2012-10-09T10:51:30Z</date-time> </dtstamp> <sequence> <integer>3</integer> </sequence> <class> <text>PUBLIC</text> </class> <dtstart> <parameters> <tzid> <text>/kolab.org/Europe/Paris</text> </tzid> </parameters> <date-time>2012-10-09T11:00:00</date-time> </dtstart> <dtend> <parameters> <tzid> <text>/kolab.org/Europe/Paris</text> </tzid> </parameters> <date-time>2012-10-09T12:30:00</date-time> </dtend> <summary> <text>icedove test</text> </summary> <organizer> <parameters/> <cal-address>mailto:%3Cgrote2%40demo%2Ekolab%2Eorg%3E</cal-address> </organizer> </properties> </vevent> </components> </vcalendar>
+
+
+--=_4cf438e90598a0b766b080e9542a1afb-- \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/complex.task.ics.mime b/test/synckolab/parser/kolab3/raw/task.complex.mime
index e52f694..e52f694 100644
--- a/test/synckolab/parser/kolab3/raw/complex.task.ics.mime
+++ b/test/synckolab/parser/kolab3/raw/task.complex.mime
diff --git a/test/synckolab/parser/kolab3/raw/simple.task.ics.mime b/test/synckolab/parser/kolab3/raw/task.simple.mime
index 8849b77..8849b77 100644
--- a/test/synckolab/parser/kolab3/raw/simple.task.ics.mime
+++ b/test/synckolab/parser/kolab3/raw/task.simple.mime
diff --git a/test/synckolab/parser/kolab3/xml/complex.vcf.mime.xml b/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml
index b6f074b..b6f074b 100644
--- a/test/synckolab/parser/kolab3/xml/complex.vcf.mime.xml
+++ b/test/synckolab/parser/kolab3/xml/contact.complex.mime.xml
diff --git a/test/synckolab/parser/kolab3/xml/simple.vcf.mime.xml b/test/synckolab/parser/kolab3/xml/contact.simple.mime.xml
index 90b72a4..90b72a4 100644
--- a/test/synckolab/parser/kolab3/xml/simple.vcf.mime.xml
+++ b/test/synckolab/parser/kolab3/xml/contact.simple.mime.xml
diff --git a/test/synckolab/parser/kolab3/xml/contact.test.mime.xml b/test/synckolab/parser/kolab3/xml/contact.test.mime.xml
new file mode 100644
index 0000000..cc8f189
--- /dev/null
+++ b/test/synckolab/parser/kolab3/xml/contact.test.mime.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
+<vcard>
+ <uid><uri>urn:uuid:e79e08cc-0f02-11e2-9e3c-000476ed9009</uri></uid>
+ <prodid><text>SyncKolab 3.0.0, Kolab resource</text></prodid>
+ <rev><timestamp>19700101T000000ZZ</timestamp></rev>
+ <note>
+ <text>multi line
+notes
+with empty</text>
+ </note>
+ <n>
+ <given>lastname</given>
+ <surname>firstname</surname>
+ </n>
+ <fn><text>firstname lastname</text></fn>
+ <bday> <date-time>2042</date-time>
+</bday>
+ <tel>
+ <parameters><type><text>home</text></type></parameters>
+ <text>+43 homephone</text>
+ </tel>
+ <email>
+ <parameters><pref><integer>1</integer></pref></parameters>
+ <text>email1@test.com</text>
+ </email>
+ <adr>
+ <parameters><type><text>home</text></type></parameters>
+ <street>homestreet</street>
+ <locality>homecity</locality>
+ <region>homestate</region>
+ <code>1234</code>
+ <country>homecountry</country>
+ </adr>
+ <x-custom><identifier>X-AllowRemoteContent</identifier><value>false</value></x-custom>
+</vcard>
+</vcards> \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/xml/contact.test2.mime.xml b/test/synckolab/parser/kolab3/xml/contact.test2.mime.xml
new file mode 100644
index 0000000..c57df41
--- /dev/null
+++ b/test/synckolab/parser/kolab3/xml/contact.test2.mime.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
+<vcard>
+ <uid><uri>urn: uuid:ebf6fdc2-1149-11e2-841b-000476ed9009</uri></uid>
+ <prodid><text>SyncKolab 3.0.0, Kolab resource</text></prodid>
+ <rev><timestamp>19700101T000000ZZ</timestamp></rev>
+ <n>
+ <given>Wurst</given>
+ <surname>Hans</surname>
+ </n>
+ <fn><text>Hans Wurst</text></fn>
+ <tel>
+ <parameters><type><text>home</text></type></parameters>
+ <text>+49123456789</text>
+ </tel>
+ <email>
+ <parameters><pref><integer>1</integer></pref></parameters>
+ <text>hans@wurst.de</text>
+ </email>
+ <x-custom><identifier>X-AllowRemoteContent</identifier><value>false</value></x-custom>
+</vcard>
+</vcards> \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/xml/event.complex.mime.xml b/test/synckolab/parser/kolab3/xml/event.complex.mime.xml
new file mode 100644
index 0000000..b6f074b
--- /dev/null
+++ b/test/synckolab/parser/kolab3/xml/event.complex.mime.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
+<vcard>
+ <uid><uri>urn:uuid:Huu5X7hfYy</uri></uid>
+ <prodid><text>SyncKolab 3.0.0, Kolab resource</text></prodid>
+ <rev><timestamp>19700101T000000ZZ</timestamp></rev>
+ <note>
+ <text>Notes</text>
+ </note>
+ <n>
+ <given>Lastname</given>
+ <surname>Firstname</surname>
+ </n>
+ <fn><text>Displayname</text></fn>
+ <url>
+ <uri>www.homepage.org</uri>
+ </url>
+ <url>
+ <uri>www.blog.test</uri>
+ </url>
+ <impp>
+ <uri>messaging</uri>
+ </impp>
+ <title>
+ <text>Title</text>
+ </title>
+ <nickname>
+ <text>Nickname</text>
+ </nickname>
+ <bday> <date-time>2043</date-time>
+</bday>
+ <anniversary> <date-time>2009-7-28</date-time>
+</anniversary>
+ <tel>
+ <parameters><type><text>home</text></type></parameters>
+ <text>+4930-homephone</text>
+ </tel>
+ <tel>
+ <parameters><type><text>work</text></type></parameters>
+ <text>+4930-workphone</text>
+ </tel>
+ <tel>
+ <parameters><type><text>fax</text><text>work</text></type></parameters>
+ <text>+4930-fax</text>
+ </tel>
+ <tel>
+ <parameters><type><text>cell</text></type></parameters>
+ <text>+4930-mobile</text>
+ </tel>
+ <email>
+ <parameters><pref><integer>1</integer></pref></parameters>
+ <text>first@email.org</text>
+ </email>
+ <email>
+ <text>second@email.org</text>
+ </email>
+ <adr>
+ <parameters><type><text>home</text></type></parameters>
+ <street>Home Street</street>
+ <locality>Home Locality</locality>
+ <region>Home Region</region>
+ <code>Home Postal Code</code>
+ <country>Gabon</country>
+ </adr>
+ <adr>
+ <parameters><type><text>work</text></type></parameters>
+ <street>Work Street</street>
+ <locality>Work Locality</locality>
+ <region>Work Region</region>
+ <code>Work Postal Code</code>
+ <country>Azerbaijan</country>
+ </adr>
+ <x-custom><identifier>X-AllowRemoteContent</identifier><value>true</value></x-custom>
+</vcard>
+</vcards> \ No newline at end of file