aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorEdward Barnard2015-08-28 23:08:03 +0700
committerEdward Barnard2015-08-28 23:08:03 +0700
commit361aa56bf877cd4210018c97ebaf6aa92ab4f608 (patch)
tree82c6a47a8e9e597f221cc096c4f86d93fdae436e /tests/data
parent3e41485288049b1d7a9be60b84b4d78dcd400f39 (diff)
downloadrust-plist-361aa56bf877cd4210018c97ebaf6aa92ab4f608.tar.bz2
Add date support via chrono
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/binary.plistbin233 -> 252 bytes
-rw-r--r--tests/data/xml.plist32
2 files changed, 17 insertions, 15 deletions
diff --git a/tests/data/binary.plist b/tests/data/binary.plist
index 8b92066..3d0cfd5 100644
--- a/tests/data/binary.plist
+++ b/tests/data/binary.plist
Binary files differ
diff --git a/tests/data/xml.plist b/tests/data/xml.plist
index d2599f2..4db2173 100644
--- a/tests/data/xml.plist
+++ b/tests/data/xml.plist
@@ -1,19 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
- <key>Author</key>
- <string>William Shakespeare</string>
- <key>Lines</key>
- <array>
- <string>It is a tale told by an idiot,</string>
- <string>Full of sound and fury, signifying nothing.</string>
- </array>
- <key>Birthdate</key>
- <integer>1564</integer>
- <key>Height</key>
- <real>1.60</real>
- <key>Data</key>
- <data>AAAAvgAAAAMAAAAeAAAA</data>
+ <key>Author</key>
+ <string>William Shakespeare</string>
+ <key>Lines</key>
+ <array>
+ <string>It is a tale told by an idiot,</string>
+ <string>Full of sound and fury, signifying nothing.</string>
+ </array>
+ <key>Death</key>
+ <integer>1564</integer>
+ <key>Height</key>
+ <real>1.6</real>
+ <key>Data</key>
+ <data>AAAAvgAAAAMAAAAeAAAA</data>
+ <key>Birthdate</key>
+ <date>1981-05-16T11:32:06Z</date>
</dict>
-</plist> \ No newline at end of file
+</plist>