summaryrefslogtreecommitdiff
path: root/test/synckolab/parser/kolab3
diff options
context:
space:
mode:
authorniko <niko>2012-10-02 22:23:46 (GMT)
committerniko <niko>2012-10-02 22:23:46 (GMT)
commit32c1661206a070f04a15fc024464f91e932aac35 (patch)
tree4a98624de442447ef82aa523542b0981e9384197 /test/synckolab/parser/kolab3
parent7b47175cd7c82f806b37d2fe2332cc3b6b8e105b (diff)
downloadsynckolab-32c1661206a070f04a15fc024464f91e932aac35.tar.gz
more tests
Diffstat (limited to 'test/synckolab/parser/kolab3')
-rw-r--r--test/synckolab/parser/kolab3/contactTest.js34
-rw-r--r--test/synckolab/parser/kolab3/raw/complex.vcf.mime264
-rw-r--r--test/synckolab/parser/kolab3/raw/simple.vcf.mime66
-rw-r--r--test/synckolab/parser/kolab3/raw/testContactMinimalFromXML.xml2
-rw-r--r--test/synckolab/parser/kolab3/raw/testcontact.xml61
-rw-r--r--test/synckolab/parser/kolab3/raw/testevent.xml81
-rw-r--r--test/synckolab/parser/kolab3/raw/testnote.xml18
-rw-r--r--test/synckolab/parser/kolab3/raw/xcalCalendar.xml142
-rw-r--r--test/synckolab/parser/kolab3/raw/xcalEvent.xml34
9 files changed, 364 insertions, 338 deletions
diff --git a/test/synckolab/parser/kolab3/contactTest.js b/test/synckolab/parser/kolab3/contactTest.js
new file mode 100644
index 0000000..3e067ca
--- /dev/null
+++ b/test/synckolab/parser/kolab3/contactTest.js
@@ -0,0 +1,34 @@
+// load synckolab libraries
+
+load("src/chrome/content/synckolab/tools.js");
+load("src/chrome/content/synckolab/tools/sha1.js");
+load("src/chrome/content/synckolab/tools/kolab.js");
+load("src/chrome/content/synckolab/tools/text.js");
+
+load("src/chrome/content/synckolab/addressbookTools.js");
+
+load("test/lib/testOverride.js");
+
+
+test("synckolab.addressbookTools.parseMessageContent", function(){
+ equal(null, synckolab.addressbookTools.parseMessageContent(null), "parsing a null message");
+});
+
+ var testFiles = ["testcontact", "testContactMinimalFromXML"];
+
+
+ var content, entry, jsonEntry;
+
+ for(var i = 0; i < testFiles.length; i++) {
+ var src = testFiles[i];
+
+ content = readFile("test/synckolab/parser/kolab3/raw/"+src+".xml");
+ entry = synckolab.addressbookTools.parseMessageContent(content);
+ print(JSON.stringify(entry, null, ' '))
+ content = readFile("test/synckolab/parser/kolab3/json/"+src+".json");
+ jsonEntry = JSON.parse(content);
+ equal(synckolab.tools.equalsObject(entry, jsonEntry), true, src);
+ }
+
+
+
diff --git a/test/synckolab/parser/kolab3/raw/complex.vcf.mime b/test/synckolab/parser/kolab3/raw/complex.vcf.mime
new file mode 100644
index 0000000..54fa347
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/complex.vcf.mime
@@ -0,0 +1,264 @@
+Date: Fri, 27 Apr 2012 02:25:38 +0200
+X-Kolab-Type: application/x-vnd.kolab.contact
+X-Kolab-Mime-Version: 3.0
+User-Agent: Libkolab-0.2.0
+Content-Type: multipart/mixed; boundary="nextPart38186565.1WqI9LYOEs"
+Subject: Huu5X7hfYy
+From: Displayname <first@email.org>
+MIME-Version: 1.0
+
+
+--nextPart38186565.1WqI9LYOEs
+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
+
+--nextPart38186565.1WqI9LYOEs
+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:Huu5X7hfYy</uri>
+ </uid>
+ <x-kolab-version>
+ <text>3.0dev1</text>
+ </x-kolab-version>
+ <prodid>
+ <text>Libkolab-0.2.0 Libkolabxml-0.4.0</text>
+ </prodid>
+ <rev>
+ <timestamp>20120505T050505Z</timestamp>
+ </rev>
+ <kind>
+ <text>individual</text>
+ </kind>
+ <fn>
+ <text>Displayname</text>
+ </fn>
+ <n>
+ <surname>Lastname</surname>
+ <given>Firstname</given>
+ <additional/>
+ <prefix/>
+ <suffix/>
+ </n>
+ <note>
+ <text>Notes</text>
+ </note>
+ <title>
+ <text>Title</text>
+ </title>
+ <group name=3D"Affiliation">
+ <org>
+ <text>Organization</text>
+ <text>Department</text>
+ </org>
+ <logo>
+ <uri>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYA=
+AABw4pVUAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOTQAADpwB3vacVwAABBlJREFUeJz=
+tnc1rY1UYxt+bmzTpB2O/sNO0dtoMRdKCgkWmOLjpH6CuHCiCGykudD0MDEKZhQjqVtQKIl=
+27cKULF7pwaOvAKAgzgi2S2lSsdCYfnaTtzXVfnvfaDJg+xee3fE5P3kN+OXB6cu6JmRBCC=
+CGEEEIIIYQQQjwGgZmNOG1PdXIg/0N2UJjq9ChEMhJChoSQISFkSAgZaTMbRw1xHK8l9JPI=
+09NCYSaTeRHlemPJkBAyJIQMCSFDQshIJ7S5slZWPoN5sViE+aVLk+2M6V8InDiEcbj9jvt=
+KYRDB/HBsGXeIndoWuzXy+VH4PqbT+K3XDCFDQsiQEDIkhAwJIcNdZUUR3IIxM7OFhQWY5/=
+N5mJfLuzCPY3914uKsplIPv4H5hT48JjOzVHYM5seV72DeyF6FeRzj1ZqZWRT5bXBMbf21+=
+M+REDIkhAwJIUNCyJAQMtxlb61Wczs1m4cwX11dhflUoQDz0dGks3jORt7RnzAebnwL88zF=
+190K3qq7Zw+/VsVmYR7F3W6NWv2R24bQDCFDQsiQEDIkhAwJIcNdZVUqFbdTs9mE+ZX5F2A=
++MQBP3tv+75+4NbpzeJWVy+IhZydfgXkYb7k1wuNtXHvwCZhnDr6CebXR69Y4LPfD/M1Xx+=
+Gup2YIGRJChoSQISFkSAgZCV/hHrmd1tZuw3xm9hmY57bfh3lhbtGtkQrw177B8T7u0Prey=
+etuDW+7zGL8Oc32TsA86p10S4RhDuZvX+u/gXLNEDIkhAwJIUNCyJAQMgIzm0MNW1ubP3qd=
+Ws4ZupGLozD/5S5eAY0ffeAOLF+87BT/C+extypM+szhtlbqSZjXo2ed1+lyKzza+QHm732=
+4+trpRyTODAkhQ0LIkBAyJIQMCSHDXfaWSqV1r1O1Wm9TJH6mo1W/5/YYi96Fef9UFXfwTr=
+0F/iE2CwbwuAJ8gK/ewpunjdKGW+JB+BL8J2Hm+UXddXIekBAyJIQMCSFDQsgIzGzKaXu6k=
+wM5yZ3PB2+i/LmXh/CjsC3/8Qkf7ylgvCqMA/xYxfqXP+MdRDObf+PhLafpNxRqhpAhIWRI=
+CBkSQoaEkJE2M++8vn+OvwNMTw9fhw3ZPdyh5e1lJVVxGp3XClK/wrwwFv6dUOTrpBGcRDO=
+EDAkhQ0LIkBAyJISMpHt7z5QwF+Or4LrwDW3NMt5/2rvv3ANiZmFXGn4gh6bxpbqZEXxNRp=
+CJhr0a7aIZQoaEkCEhZEgIGRJChoSQQbvsrZb/gA987Jb6fkL5fiX6FOV3y7kvvBoDqTQ8R=
+TezY2+hvK8/WEJ52Ki3d1tyApohZEgIGRJChoSQISFk0K6yPto4gGf/l5cP/N/RaB/n2QaD=
+vyT28dIcPvQ2sNnjl9C9vecaCSFDQsiQEDIkhIx/AF4jzh2wCYImAAAAAElFTkSuQmCC</u=
+ri>
+ </logo>
+ <related>
+ <parameters>
+ <type>
+ <text>x-manager</text>
+ </type>
+ </parameters>
+ <text>Manager</text>
+ </related>
+ <related>
+ <parameters>
+ <type>
+ <text>x-assistant</text>
+ </type>
+ </parameters>
+ <text>Assistant</text>
+ </related>
+ <adr>
+ <parameters>
+ <type>
+ <text>work</text>
+ </type>
+ <label>
+ <text>Office</text>
+ </label>
+ </parameters>
+ <pobox/>
+ <ext/>
+ <street/>
+ <locality/>
+ <region/>
+ <code/>
+ <country/>
+ </adr>
+ </group>
+ <url>
+ <uri>www.homepage.org</uri>
+ </url>
+ <url>
+ <parameters>
+ <type>
+ <text>x-blog</text>
+ </type>
+ </parameters>
+ <uri>www.blog.test</uri>
+ </url>
+ <adr>
+ <parameters>
+ <type>
+ <text>home</text>
+ </type>
+ </parameters>
+ <pobox/>
+ <ext/>
+ <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>
+ <pobox/>
+ <ext/>
+ <street>Work Street</street>
+ <locality>Work Locality</locality>
+ <region>Work Region</region>
+ <code>Work Postal Code</code>
+ <country>Azerbaijan</country>
+ </adr>
+ <nickname>
+ <text>Nickname</text>
+ </nickname>
+ <related>
+ <parameters>
+ <type>
+ <text>spouse</text>
+ </type>
+ </parameters>
+ <text>Partner</text>
+ </related>
+ <bday>
+ <date-time>20090727T000000</date-time>
+ </bday>
+ <anniversary>
+ <date>20090728</date>
+ </anniversary>
+ <photo>
+ <uri>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAA=
+Bw4pVUAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOTQAADpwB3vacVwAABAVJREFUeJztn=
+cFrFGcYxt/szLrJmk2yWTeojQktQluiqNFeKglSQmsOHhRyUApKPbeHQC8taKl4E0Hw4sGT=
+oAcvgojVQCg0B+2ph0DprTlYs7SQsNlkdzKzmf4DzxvYsCRP9Pkdn5n53iG/fPDy7TczZkI=
+IIYQQov107PQNtI0vrR/mOfveveap/eAcSXeqRsYdSOwIEkKGhJAhIWRICBkSQsbua3u/sl=
+EUj346OoPyUrGEW1Uzm5mfycMDNRtB8ciHIy9RXswXi16NuYU5XOOx1VGsGUKGhJAhIWRIC=
+BkSQka40zfgcs6uoHjis4l7KB8fG8+ifPa3Wb9GZJdRPHZq7A7KTx45CWu8/uO1X6NFNEPI=
+kBAyJIQMCSFDQsjYni4rxWtmnVOdsGMyM5s8PfkNyocPDwcor1QrcJwoiNzbOvvF2bsoL5f=
+KsMZidRGOU7OaW6NVNEPIkBAyJIQMCSFDQshob5flbCTr/br3BcrPjJ854Q2V78/DTudt9S=
+08P7YY5uXhslfC4jjGNdZwjaSewHwtXHNrtIpmCBkSQoaEkCEhZEgIGRJCxtba3vN4s1q5N=
+ADb2+MfHYMbyRqZBmw7zcxqq3jBLg5xe5tkcEu6buteCUsSfE0cOzUifH4jbLg1WkUzhAwJ=
+IUNCyJAQMiSEDL/LumQXvENDhaFHKB/sG4QbyZaiJfgTblLDXYuZWZzHnc56irum9SzOkw6=
+/RtOaOE9xnjTxWJmwff/XmiFkSAgZEkKGhJAhIWT4XVYQuOtMS7Vl+J6ON3+/gedv7NvAA5=
+X8G0uL+HUj5j1eCfu7TfLNjjmlzdlz19XEz3VuBc0QMiSEDAkhQ0LIkBAy/C7rQfOxd2jl6=
+toCygufFJ6jPGlEPSiv5+p+/b1OXnByr/varAHyuinv6QLn/CByG9KW0QwhQ0LIkBAyJIQM=
+CSFDQsjY2ka5+8nvKF6ZXv4Y5YWBnl9R3pfthOebmS1nl/C9dToXOO1wrj/nlbAocVYLvXZ=
+4FcdBs32P2WiGkCEhZEgIGRJChoSQ0d6ncG/bfyheSatHUd71c/dDb6gDuQ+mUL6Y/gNX8t=
+IUt0Z9/7qv7bVKXME74jIbeLXQ+SU6zKjLemeREDIkhAwJIUNCyNieN8p14NWhutUuepdEP=
+zVeofxQbugWyivVRa/78r8A8Zf9CPOBzA0U70lC+PcK0qBtX5nQDCFDQsiQEDIkhAwJIWP3=
+fYPqevg5ig8ePPALynu7e72tdfbnk3m8je54eArF+8v7n6G8mOnza7xwaugbVLsDCSFDQsi=
+QEDIkhAwJIWP3tb0eNw2+MTnoyl7zLmlOx985h/DvwV6Nnk1qfNtaDc0QMiSEDAkhQ0LIkB=
+AhhBBCCPEe8D+b5dDLeP4TXAAAAABJRU5ErkJggg=3D=3D</uri>
+ </photo>
+ <tel>
+ <parameters>
+ <type>
+ <text>home</text>
+ </type>
+ </parameters>
+ <text>+4930-homephone</text>
+ </tel>
+ <tel>
+ <parameters>
+ <type>
+ <text>cell</text>
+ </type>
+ </parameters>
+ <text>+4930-mobile</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>
+ <impp>
+ <parameters>
+ <pref>
+ <integer>1</integer>
+ </pref>
+ </parameters>
+ <uri>messaging</uri>
+ </impp>
+ <email>
+ <parameters>
+ <pref>
+ <integer>1</integer>
+ </pref>
+ </parameters>
+ <text>first@email.org</text>
+ </email>
+ <email>
+ <text>second@email.org</text>
+ </email>
+ <x-custom>
+ <identifier>X-Profession</identifier>
+ <value>Profession</value>
+ </x-custom>
+ </vcard>
+
+</vcards>
+
+--nextPart38186565.1WqI9LYOEs--
diff --git a/test/synckolab/parser/kolab3/raw/simple.vcf.mime b/test/synckolab/parser/kolab3/raw/simple.vcf.mime
new file mode 100644
index 0000000..a459896
--- /dev/null
+++ b/test/synckolab/parser/kolab3/raw/simple.vcf.mime
@@ -0,0 +1,66 @@
+Date: Mon, 23 Apr 2012 12:46:37 +0200
+X-Kolab-Type: application/x-vnd.kolab.contact
+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>
+ <kind>
+ <text>individual</text>
+ </kind>
+ <fn>
+ <text>Volker Krause</text>
+ </fn>
+ <n>
+ <surname>Krause</surname>
+ <given>Volker</given>
+ <additional/>
+ <prefix/>
+ <suffix/>
+ </n>
+ <email>
+ <parameters>
+ <pref>
+ <integer>1</integer>
+ </pref>
+ </parameters>
+ <text>vkrause@kde.org</text>
+ </email>
+ </vcard>
+
+</vcards>
+
+--nextPart1365947.WmFcbPlLFA-- \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/testContactMinimalFromXML.xml b/test/synckolab/parser/kolab3/raw/testContactMinimalFromXML.xml
deleted file mode 100644
index 7a316ff..0000000
--- a/test/synckolab/parser/kolab3/raw/testContactMinimalFromXML.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" ?>
-<contact xmlns="http://kolab.org"><uid>0123456789</uid><product-id>PyKolab Format XML Bindings</product-id><creation-date>2011-10-25T14:31:43.604435</creation-date><last-modification-date>2011-10-25T14:31:43.605026</last-modification-date><sensitivity>public</sensitivity><email><smtp-address>vanmeeuwen@kolabsys.com</smtp-address></email></contact>
diff --git a/test/synckolab/parser/kolab3/raw/testcontact.xml b/test/synckolab/parser/kolab3/raw/testcontact.xml
deleted file mode 100644
index 1db956b..0000000
--- a/test/synckolab/parser/kolab3/raw/testcontact.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<contact version="3.0dev1" xmlns="http://kolab.org">
- <!-- Common fields -->
- <uid>uid</uid>
- <body></body>
- <categories></categories>
- <creation-date>2004-05-04T15:00:00Z</creation-date>
- <last-modification-date>2004-05-04T15:00:00Z</last-modification-date>
- <sensitivity>public</sensitivity>
- <inline-attachment></inline-attachment>
- <link-attachment></link-attachment>
- <product-id></product-id>
- <!-- Contact specific fields -->
- <name>
- <given-name>(string, default empty)</given-name>
- <middle-names>(string, default empty)</middle-names>
- <last-name>(string, default empty)</last-name>
- <full-name>(string, default empty)</full-name>
- <initials>(string, default empty)</initials>
- <prefix>(string, default empty)</prefix>
- <suffix>(string, default empty)</suffix>
- </name>
- <free-busy-url>(string, default empty)</free-busy-url>
- <organization>(string, default empty)</organization>
- <web-page>(string, default empty)</web-page>
- <im-address>(string, default empty)</im-address>
- <department>(string, default empty)</department>
- <office-location>(string, default empty)</office-location>
- <profession>(string, default empty)</profession>
- <job-title>(string, default empty)</job-title>
- <manager-name>(string, default empty)</manager-name>
- <assistant>(string, default empty)</assistant>
- <nick-name>(string, default empty)</nick-name>
- <spouse-name>(string, default empty)</spouse-name>
- <birthday>(date, no default)</birthday>
- <anniversary>(date, no default)</anniversary>
- <picture>(string(attachment filename), default empty)</picture>
- <children>(string, default empty)</children>
- <gender>(string, default empty)</gender>
- <language>(string, default empty)</language>
- <phone>
- <type>(string, no default)</type>
- <number>(string, default empty)</number>
- </phone>
- <email>
- <display-name>(string, default empty)</display-name>
- <smtp-address>(string, default empty)</smtp-address>
- </email>
- <address>
- <type>(string, default home)</type>
- <street>(string, default empty)</street>
- <locality>(string, default empty)</locality>
- <region>(string, default empty)</region>
- <postal-code>(string, default empty)</postal-code>
- <country>(string, default empty)</country>
- </address>
- <preferred-address>(string, default none)</preferred-address>
- <latitude>3.23</latitude>
- <longitude>5.222</longitude>
-</contact>
-
diff --git a/test/synckolab/parser/kolab3/raw/testevent.xml b/test/synckolab/parser/kolab3/raw/testevent.xml
deleted file mode 100644
index 57aff69..0000000
--- a/test/synckolab/parser/kolab3/raw/testevent.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- event version="1.0" xmlns="http://www.kolab.org/Kolab">
- <uid>uid</uid>
- <body>body</body>
- <categories>categories</categories>
- <creation-date>2001-12-31T12:00:00</creation-date>
- <last-modification-date>2001-12-31T12:00:00</last-modification-date>
- <sensitivity>public</sensitivity>
- <product-id>product-id</product-id>
- <summary>summary</summary>
- <location>location</location>
- <creator>
- <display-name>display-name</display-name>
- <smtp-address>smtp-address</smtp-address>
- </creator>
- <organizer>
- <display-name>display-name</display-name>
- <smtp-address>smtp-address</smtp-address>
- </organizer>
- <alarm>alarm</alarm>
- <recurrence>
- <interval>interval</interval>
- <rangetype/>
- </recurrence>
- <attendees>
- <display-name>display-name</display-name>
- <smtp-address>smtp-address</smtp-address>
- <status>status</status>
- <request-response>request-response</request-response>
- <role>role</role>
- </attendees>
- <show-time-as>show-time-as</show-time-as>
- <color-label>color-label</color-label>
- <start-date>2001-12-31T12:00:00</start-date>
- <end-date>2001-12-31T12:00:00</end-date>
-</event-->
-<event version="3.0dev1" xmlns="http://kolab.org">
- <!-- Common fields -->
- <uid>uid</uid>
- <product-id></product-id>
- <creation-date>2004-05-04T15:00:00Z</creation-date>
- <last-modification-date>2004-05-04T15:00:00Z</last-modification-date>
- <sensitivity>public</sensitivity>
- <body></body>
- <categories></categories>
- <inline-attachment></inline-attachment>
- <link-attachment></link-attachment>
- <!-- Incidence fields -->
- <summary>(string, default empty)</summary>
- <location>(string, default empty)</location>
- <creator>
- <smtp-address>(string, default empty)</smtp-address>
- <display-name>(string, default empty)</display-name>
- </creator>
- <organizer>
- <smtp-address>(string, default empty)</smtp-address>
- <display-name>(string, default empty)</display-name>
- </organizer>
- <alarm>(number, no default)</alarm>
- <dailyrecurrence cycle="daily">
- <interval>1</interval>
- <day>(string, no default)</day>
- <daynumber>0</daynumber>
- <date>2</date>
- <month>(string, no default></month>
- <range type="daily"></range>
- <exclusion>(date, no default)</exclusion>
- </dailyrecurrence>
- <attendee>
- <smtp-address>(string, default empty)</smtp-address>
- <display-name>(string, default empty)</display-name>
- <status>(string, default none)</status>
- <request-response>(bool, default true)</request-response>
- <role>(string, default required)</role>
- </attendee>
- <!-- Event specific fields -->
- <show-time-as>(string, default busy)</show-time-as>
- <color-label>(string, default none)</color-label>
- <start-date>2004-05-04T15:00:00Z</start-date>
- <end-date>2004-05-04T15:00:00Z</end-date>
-</event> \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/testnote.xml b/test/synckolab/parser/kolab3/raw/testnote.xml
deleted file mode 100644
index f7ad5b0..0000000
--- a/test/synckolab/parser/kolab3/raw/testnote.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<note version="3.0dev1" xmlns="http://kolab.org">
- <!-- Common fields -->
- <uid>uid</uid>
- <body></body>
- <categories></categories>
- <creation-date>2004-05-04T15:00:00Z</creation-date>
- <last-modification-date>2004-05-04T15:00:00Z</last-modification-date>
- <sensitivity>public</sensitivity>
- <inline-attachment></inline-attachment>
- <link-attachment></link-attachment>
- <product-id></product-id>
- <!-- Note specific fields -->
- <summary>summarytext</summary>
- <background-color>#000000</background-color>
- <foreground-color>#ffff00</foreground-color>
-</note>
-
diff --git a/test/synckolab/parser/kolab3/raw/xcalCalendar.xml b/test/synckolab/parser/kolab3/raw/xcalCalendar.xml
deleted file mode 100644
index 0ae17ef..0000000
--- a/test/synckolab/parser/kolab3/raw/xcalCalendar.xml
+++ /dev/null
@@ -1,142 +0,0 @@
- <?xml version="1.0" encoding="utf-8" ?>
- <icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0">
- <vcalendar>
- <properties>
- <prodid>
- <text>-//Example Inc.//Example Client//EN</text>
- </prodid>
- <version>
- <text>2.0</text>
- </version>
- </properties>
- <components>
- <vtimezone>
- <properties>
- <last-modified>
- <date-time>2004-01-10T03:28:45Z</date-time>
- </last-modified>
- <tzid>US/Eastern</tzid>
- </properties>
- <components>
- <daylight>
- <properties>
- <dtstart>
- <date-time>2000-04-04T02:00:00</date-time>
- </dtstart>
- <rrule>
- <recur>
- <freq>YEARLY</freq>
- <byday>1SU</byday>
- <bymonth>4</bymonth>
- </recur>
- </rrule>
- <tzname>
- <text>EDT</text>
- </tzname>
- <tzoffsetfrom>
- <utc-offset>-05:00</utc-offset>
- </tzoffsetfrom>
- <tzoffsetto>
- <utc-offset>-04:00</utc-offset>
- </tzoffsetto>
- </properties>
- </daylight>
- <standard>
- <properties>
- <dtstart>
- <date-time>2000-10-26T02:00:00</date-time>
- </dtstart>
- <rrule>
- <recur>
- <freq>YEARLY</freq>
- <byday>-1SU</byday>
- <bymonth>10</bymonth>
- </recur>
- </rrule>
- <tzname>
- <text>EST</text>
- </tzname>
- <tzoffsetfrom>
- <utc-offset>-04:00</utc-offset>
- </tzoffsetfrom>
- <tzoffsetto>
- <utc-offset>-05:00</utc-offset>
- </tzoffsetto>
- </properties>
- </standard>
- </components>
- </vtimezone>
- <vevent>
- <properties>
- <dtstamp>
- <date-time>2006-02-06T00:11:21Z</date-time>
- </dtstamp>
- <dtstart>
- <parameters>
- <tzid><text>US/Eastern</text></tzid>
- </parameters>
- <date-time>2006-01-02T12:00:00</date-time>
- </dtstart>
- <duration>
- <duration>PT1H</duration>
- </duration>
- <rrule>
- <recur>
- <freq>DAILY</freq>
- <count>5</count>
- </recur>
- </rrule>
- <rdate>
- <parameters>
- <tzid><text>US/Eastern</text></tzid>
- </parameters>
- <period>
- <start>2006-01-02T15:00:00</start>
- <duration>PT2H</duration>
- </period>
- </rdate>
- <summary>
- <text>Event #2</text>
- </summary>
- <description>
- <text>We are having a meeting all this week at 12
- pm for one hour, with an additional meeting on the first day
- 2 hours long.&#x0a;Please bring your own lunch for the 12 pm
- meetings.</text>
- </description>
- <uid>
- <text>00959BC664CA650E933C892C@example.com</text>
- </uid>
- </properties>
- </vevent>
- <vevent>
- <properties>
- <dtstamp>
- <date-time>2006-02-06T00:11:21Z</date-time>
- </dtstamp>
- <dtstart>
- <parameters>
- <tzid><text>US/Eastern</text></tzid>
- </parameters>
- <date-time>2006-01-04T14:00:00</date-time>
- </dtstart>
- <duration>
- <duration>PT1H</duration>
- </duration>
- <recurrence-id>
- <parameters>
- <tzid><text>US/Eastern</text></tzid>
- </parameters>
- <date-time>2006-01-04T12:00:00</date-time>
- </recurrence-id>
- <summary>
- <text>Event #2 bis</text>
- </summary>
- <uid>
- <text>00959BC664CA650E933C892C@example.com</text>
- </uid>
- </properties>
- </vevent>
- </components>
- </vcalendar>
- </icalendar> \ No newline at end of file
diff --git a/test/synckolab/parser/kolab3/raw/xcalEvent.xml b/test/synckolab/parser/kolab3/raw/xcalEvent.xml
deleted file mode 100644
index 16c78c6..0000000
--- a/test/synckolab/parser/kolab3/raw/xcalEvent.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0">
- <vcalendar>
- <properties>
- <calscale>
- <text>GREGORIAN</text>
- </calscale>
- <prodid>
- <text>-//Example Inc.//Example Calendar//EN</text>
- </prodid>
- <version>
- <text>2.0</text>
- </version>
- </properties>
- <components>
- <vevent>
- <properties>
- <dtstamp>
- <date-time>2008-02-05T19:12:24Z</date-time>
- </dtstamp>
- <dtstart>
- <date>2008-10-06</date>
- </dtstart>
- <summary>
- <text>Planning meeting</text>
- </summary>
- <uid>
- <text>4088E990AD89CB3DBB484909</text>
- </uid>
- </properties>
- </vevent>
- </components>
- </vcalendar>
-</icalendar> \ No newline at end of file