summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-27 22:42:00 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-27 22:42:00 +0100
commit7f7ea5bb073e3335173f5e337a345589f1607739 (patch)
treec7a1d7ffb694b52129096f7f1e1ce4ce03e1b49a /share
parent9c4499cbb60a45e6086a0ba5c3102b2e6c256cad (diff)
downloadpykolab-7f7ea5bb073e3335173f5e337a345589f1607739.tar.gz
Move files from python code directories to their new location in share/tests/
Diffstat (limited to 'share')
-rw-r--r--share/tests/kaddress-contact.tpl57
-rw-r--r--share/tests/kcal-event.tpl67
2 files changed, 124 insertions, 0 deletions
diff --git a/share/tests/kaddress-contact.tpl b/share/tests/kaddress-contact.tpl
new file mode 100644
index 0000000..f4fa7bb
--- /dev/null
+++ b/share/tests/kaddress-contact.tpl
@@ -0,0 +1,57 @@
+From: @@user@@ <@@user_email@@>
+Subject: @@uid@@
+Date: Thu, 20 May 2010 09:04:51 +0100
+MIME-Version: 1.0
+X-Kolab-Type: application/x-vnd.kolab.contact
+Content-Type: Multipart/Mixed;
+ boundary="Boundary-00=@@uid@@"
+Status: RO
+X-Status: OT
+X-KMail-EncryptionState:
+X-KMail-SignatureState:
+X-KMail-MDN-Sent:
+X-UID: 57
+
+--Boundary-00=@@uid@@
+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/kolab2-clients.html
+--Boundary-00=@@uid@@
+Content-Type: application/x-vnd.kolab.contact;
+ name="kolab.xml"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+ filename="kolab.xml"
+
+<?xml version="1.0" encoding="UTF-8"?>
+<contact version="1.0">
+ <product-id>KAddressBook 3.3, Kolab resource</product-id>
+ <uid>@@uid@@</uid>
+ <body>body</body>
+ <creation-date>2009-09-13T11:49:18Z</creation-date>
+ <sensitivity>public</sensitivity>
+ <name>
+ <given-name>@@given_name@@</given_name>
+ <last-name>@@last_name@@</last-name>
+ <full-name>@@full_name@@</full-name>
+ </name>
+ <organization></organization>
+ <web-page></web-page>
+ <role></role>
+ <email>
+ <display-name>@@display_name@@</display-name>
+ <smtp-address>@@email_address@@</smtp-address>
+ </email>
+ <phone>
+ <type>mobile</type>
+ <number>@@number@@</number>
+ </phone>
+ <preferred-address>business</preferred-address>
+</contact>
+
+--Boundary-00=@@uid@@--
diff --git a/share/tests/kcal-event.tpl b/share/tests/kcal-event.tpl
new file mode 100644
index 0000000..2c9dc2c
--- /dev/null
+++ b/share/tests/kcal-event.tpl
@@ -0,0 +1,67 @@
+From: %(from_name_str)s <%(from_email_str)s>
+To: %(to_name_str)s <%(to_email_str)s>
+Subject: libkcal-%(uid)s
+Date: %(rfc_2822_sent_date)s
+MIME-Version: 1.0
+X-Kolab-Type: application/x-vnd.kolab.event
+Content-Type: Multipart/Mixed;
+ boundary="Boundary-00=%(uid)s"
+Status: RO
+X-Status: OT
+X-KMail-EncryptionState:
+X-KMail-SignatureState:
+X-KMail-MDN-Sent:
+X-UID: 0
+
+--Boundary-00=%(uid)s
+Content-Type: Text/Plain;
+ charset="us-ascii"
+Content-Transfer-Encoding: 7bit
+Content-Disposition:
+
+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/kolab2-clients.html
+--Boundary-00=%(uid)s
+Content-Type: application/x-vnd.kolab.event;
+ name="kolab.xml"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+ filename="kolab.xml"
+
+<?xml version="1.0" encoding="UTF-8"?>
+<event version="1.0">
+ <product-id>KOrganizer 4.4.5, Kolab resource</product-id>
+ <uid>libkcal-%(uid)s</uid>
+ <creation-date>%(kolab_event_date_creation)s</creation-date>
+ <last-modification-date>2010-10-21T13:42:14+00:00</last-modification-date>
+ <sensitivity>public</sensitivity>
+ <start-date>%(kolab_event_date_start)s</start-date>
+ <summary>%(event_summary)s</summary>
+ <location>%(event_location)s</location>
+ <organizer>
+ <display-name>%(from_name_str)s</display-name>
+ <smtp-address>%(from_email_str)s</smtp-address>
+ </organizer>
+ <attendee>
+ <display-name>%(to_name_str)s</display-name>
+ <smtp-address>%(to_email_str)s</smtp-address>
+ <status>accepted</status>
+ <request-response>false</request-response>
+ <invitation-sent>false</invitation-sent>
+ <role>required</role>
+ </attendee>%(event_recurrence)s
+ <alarm>15</alarm>
+ <advanced-alarms>
+ <alarm type="display">
+ <enabled>1</enabled>
+ <start-offset>-15</start-offset>
+ </alarm>
+ </advanced-alarms>
+ <revision>0</revision>
+ <show-time-as>busy</show-time-as>
+ <end-date>%(kolab_event_date_end)s</end-date>
+</event>
+
+--Boundary-00=%(uid)s--