aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/test/regression.out
blob: 646e184bc4e7df5421d88d8c40a82a021374a63d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431

------------Test strings---------------
foo\;bar\;bats
foo\;b\nar\;ba\tts

------------Test recur---------------
FREQ=DAILY;COUNT=5;BYDAY=MO,TU,WE,TH,FR
FREQ=YEARLY;UNTIL=12345600T123456;BYSETPOS=-1,2
FREQ=YEARLY;UNTIL=12345600T123456;INTERVAL=2;BYMINUTE=30;BYHOUR=8,9;BYDAY=SU;BYMONTH=1
FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR
FREQ=WEEKLY;INTERVAL=20;BYDAY=TU

------------Test duration---------------
PT8H30M
19971015T050000Z/PT8H30M
19971015T050000Z/19971015T060000Z

------------Test Restriction---------------
#### 0 ####
BEGIN:VCALENDAR
VERSION
 :2.0
PRODID
 :-//RDU Software//NONSGML HandCal//EN
METHOD
 :CANCEL
BEGIN:VTIMEZONE
TZID
 :US_Eastern
BEGIN:DAYLIGHT
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000004
TZOFFSETTO
 :-000005
TZNAME
 :EST
END:DAYLIGHT
BEGIN:STANDARD
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000005
TZOFFSETTO
 :-000004
TZNAME
 :EST
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP
 :20000303T065738Z
UID
 :guid-1.host1.com
ORGANIZER
 ;ROLE=CHAIR
 :mrbig@host.com
ATTENDEE
 ;ROLE=REQ-PARTICIPANT
 ;RSVP=TRUE
 ;CUTYPE=GROUP
 :employee-A@host.com
DESCRIPTION
 :Project XYZ Review Meeting
CATEGORIES
 :MEETING
CLASS
 :PUBLIC
CREATED
 :20000303T065738Z
SUMMARY
 :XYZ Project Review
DTSTART
 ;TZID=US-Eastern
 :20000303T065738Z
DTEND
 ;TZID=US-Eastern
 :20000303T065738Z
LOCATION
 :1CP Conference Room 4350
X-LIC-ERROR
 ;X-LIC-ERRORTYPE=INVALID_ITIP
 :Failed iTIP restrictions for property SEQUENCE. Expected 1 instances 
 of the property and got 0
END:VEVENT
END:VCALENDAR


------------Test Compare---------------
0
-1
1
0
-1
1
BEGIN:VCALENDAR
BEGIN:VEVENT
COMMENT
 ;X-LIC-COMPARETYPE=EQUAL
 :Comment
END:VEVENT
END:VCALENDAR
1

------------Test Memory---------------
1: 0x807d938 1) When in the Course of human events,  
2: 0x807dd40 2) it becomes necessary for one people to dissolve the political bands which have connected them with another, 
3: 0x807e148 3) and to assume among the powers of the earth, 
4: 0x807e550 4) the separate and equal station to which the Laws of Nature and of Nature's God entitle them, 
5: 0x807ec88 5) a decent respect to the opinions of mankind requires that they 
6: 0x807f090 6) should declare the causes which impel them to the separation. 
7: 0x807f498 7) We hold these truths to be self-evident, 
8: 0x807f8a0 8) that all men are created equal, 
Final: 1) When in the Course of human events, 2) it becomes necessary for one people to dissolve the political bands which have connected them with another, 3) and to assume among the powers of the earth, 4) the separate and equal station to which the Laws of Nature and of Nature's God entitle them, 5) a decent respect to the opinions of mankind requires that they 6) should declare the causes which impel them to the separation. 7) We hold these truths to be self-evident, 8) that all men are created equal, 
Final buffer size: 806
Char-by-Char buffer: abcdefghijabcdefghij¹

------------Test Values---------------
caladdress 1: cap://value/1
caladdress 2: cap://value/2
String: cap://value/2
Clone: cap://value/2
caladdress 1: 1
caladdress 2: 2
String: 2
Clone: 2
date 1: 20000303
date 2: 20000303
Clone: 20000303
Invalid type: 0x807d2c8

------------Test Parameters-----------
Common Name: A Common Name
As String: CN=A Common Name

------------Test Properties-----------
Prop parameter: A Common Name 1
Prop parameter: A Common Name 2
Prop parameter: A Common Name 3
Prop parameter: A Common Name 4
Prop value: Another Comment
As iCAL string:
 COMMENT
 ;CN=A Common Name 1
 ;CN=A Common Name 2
 ;CN=A Common Name 3
 ;CN=A Common Name 4
 :Another Comment

Clone:
 COMMENT
 ;CN=A Common Name 1
 ;CN=A Common Name 2
 ;CN=A Common Name 3
 ;CN=A Common Name 4
 :Another Comment

Invalid type: 0x807d598

------------Test Components ----------
Original Component:
BEGIN:VCALENDAR
VERSION
 :2.0
PRODID
 :-//RDU Software//NONSGML HandCal//EN
COMMENT
 ;CN=A Common Name 1
 :A Comment
BEGIN:VEVENT
VERSION
 :2.0
DESCRIPTION
 :This is an event
COMMENT
 ;CN=A Common Name 1
 ;CN=A Common Name 2
 ;CN=A Common Name 3
 ;CN=A Common Name 4
 :Another Comment
X-LIC-ERROR
 ;X-LIC-ERRORTYPE=COMPONENT_PARSE_ERROR
 :This is only a test
END:VEVENT
END:VCALENDAR


Child Component:
BEGIN:VEVENT
VERSION
 :2.0
DESCRIPTION
 :This is an event
COMMENT
 ;CN=A Common Name 1
 ;CN=A Common Name 2
 ;CN=A Common Name 3
 ;CN=A Common Name 4
 :Another Comment
X-LIC-ERROR
 ;X-LIC-ERRORTYPE=COMPONENT_PARSE_ERROR
 :This is only a test
END:VEVENT



------------Create Components --------
BEGIN:VCALENDAR
VERSION
 :2.0
PRODID
 :-//RDU Software//NONSGML HandCal//EN
BEGIN:VTIMEZONE
TZID
 :US_Eastern
BEGIN:DAYLIGHT
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000004
TZOFFSETTO
 :-000005
TZNAME
 :EST
END:DAYLIGHT
BEGIN:STANDARD
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000004
TZOFFSETTO
 :-000005
TZNAME
 :EST
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP
 :20000303T065738Z
UID
 :guid-1.host1.com
ORGANIZER
 ;ROLE=CHAIR
 :mrbig@host.com
ATTENDEE
 ;ROLE=REQ-PARTICIPANT
 ;RSVP=TRUE
 ;CUTYPE=GROUP
 :employee-A@host.com
DESCRIPTION
 :Project XYZ Review Meeting
CATEGORIES
 :MEETING
CLASS
 :PUBLIC
CREATED
 :20000303T065738Z
SUMMARY
 :XYZ Project Review
DTSTART
 ;TZID=US-Eastern
 :20000303T065738Z
DTEND
 ;TZID=US-Eastern
 :20000303T065738Z
LOCATION
 :1CP Conference Room 4350
END:VEVENT
END:VCALENDAR


------------Test Parser---------------
BEGIN:VCALENDAR
PRODID
 :\"-//RDU Software//NONSGML HandCal//EN\"
VERSION
 :2.0
BEGIN:VTIMEZONE
TZID
 :US-Eastern
BEGIN:STANDARD
DTSTART
 :19981025T020000
RDATE
 :19981025T020000
TZOFFSETFROM
 :-040000
TZOFFSETTO
 :-050000
TZNAME
 :EST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART
 :19990404T020000
RDATE
 :19990404T020000
TZOFFSETFROM
 :-050000
TZOFFSETTO
 :-040000
TZNAME
 :EDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP
 :19980309T231000Z
UID
 :guid-1.host1.com
ORGANIZER
 ;ROLE=CHAIR
 :MAILTO:mrbig@host.com
ATTENDEE
 ;RSVP=TRUE
 ;ROLE=REQ-PARTICIPANT
 ;CUTYPE=GROUP
 :MAILTO:employee-A@host.com
DESCRIPTION
 :Project XYZ Review Meeting
CATEGORIES
 :MEETING
CLASS
 :PUBLIC
CREATED
 :19980309T130000Z
SUMMARY
 :XYZ Project Review
DTSTART
 ;TZID=US-Eastern
 :19980312T083000
DTEND
 ;TZID=US-Eastern
 :19980312T093000
LOCATION
 :1CP Conference Room 4350
END:VEVENT
BEGIN:X-LIC-UNKNOWN
X-LIC-ERROR
 ;X-LIC-ERRORTYPE=COMPONENT_PARSE_ERROR
 :Parse error in component name: 'BOOGA'
DTSTAMP
 :19980309T231000Z
X-LIC-FOO
 :Booga
X-LIC-ERROR
 ;X-LIC-ERRORTYPE=PROPERTY_PARSE_ERROR
 :Parse error in property name: 'DTSTOMP'
UID
 :guid-1.host1.com
END:X-LIC-UNKNOWN
END:VCALENDAR


----- Create Components with vaargs ---
BEGIN:VCALENDAR
VERSION
 :2.0
PRODID
 :-//RDU Software//NONSGML HandCal//EN
BEGIN:VTIMEZONE
TZID
 :US_Eastern
BEGIN:DAYLIGHT
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000004
TZOFFSETTO
 :-000005
TZNAME
 :EST
END:DAYLIGHT
BEGIN:STANDARD
DTSTART
 :20000303T065738Z
RDATE
 :20000303T065738Z/20000303T075738Z
TZOFFSETFROM
 :-000005
TZOFFSETTO
 :-000004
TZNAME
 :EST
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP
 :20000303T065738Z
UID
 :guid-1.host1.com
ORGANIZER
 ;ROLE=CHAIR
 :mrbig@host.com
ATTENDEE
 ;ROLE=REQ-PARTICIPANT
 ;RSVP=TRUE
 ;CUTYPE=GROUP
 :employee-A@host.com
DESCRIPTION
 :Project XYZ Review Meeting
CATEGORIES
 :MEETING
CLASS
 :PUBLIC
CREATED
 :20000303T065738Z
SUMMARY
 :XYZ Project Review
DTSTART
 ;TZID=US-Eastern
 :20000303T065738Z
DTEND
 ;TZID=US-Eastern
 :20000303T065738Z
LOCATION
 :1CP Conference Room 4350
END:VEVENT
END:VCALENDAR