diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-16 14:57:08 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-16 14:57:08 +0200 |
commit | 9b28572aefbfecbb9caf96a54bdb4a817edbad61 (patch) | |
tree | 9f863869b8b2102aea4674cf4005322a1c856b7b /tests/unit/formats/target.sxml | |
parent | Add test for object equivalence. (diff) | |
download | calp-9b28572aefbfecbb9caf96a54bdb4a817edbad61.tar.gz calp-9b28572aefbfecbb9caf96a54bdb4a817edbad61.tar.xz |
Rewrote the data format tests.
Diffstat (limited to 'tests/unit/formats/target.sxml')
-rw-r--r-- | tests/unit/formats/target.sxml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/unit/formats/target.sxml b/tests/unit/formats/target.sxml new file mode 100644 index 00000000..1f9e4a1e --- /dev/null +++ b/tests/unit/formats/target.sxml @@ -0,0 +1,32 @@ +(*TOP* (xcal:vcalendar + (@ (xmlns:xcal + "urn:ietf:params:xml:ns:icalendar-2.0")) + (xcal:properties + (xcal:calscale (xcal:text "GREGORIAN")) + (xcal:prodid (xcal:text "-//CALP-TEST//x.y")) + (xcal:version (xcal:text "2.0"))) + (xcal:components + (xcal:vevent + (xcal:properties + (xcal:attach + (xcal:parameters + (xcal:encoding (xcal:text "BASE64")) + (xcal:fmttype (xcal:text "text/plain"))) + (xcal:binary "Cg==")) + (xcal:class (xcal:text "PUBLIC")) + (xcal:comment (xcal:text "A comment")) + (xcal:completed + (xcal:date-time "2023-05-10T10:20:00")) + (xcal:description + (xcal:parameters + (xcal:language (xcal:text "sv"))) + (xcal:text "Beskrivning av händelsen")) + (xcal:dtstart + (xcal:date-time "2023-05-01T00:00:00")) + (xcal:location (xcal:text "Room 5")) + (xcal:priority (xcal:integer "5")) + (xcal:status (xcal:text "CANCELLED")) + (xcal:summary (xcal:text "Event summary")) + (xcal:uid + (xcal:text + "e4e812b8-dbb9-438d-ba56-ab58321fe4e1"))))))) |