diff options
author | Nikias Bassen | 2017-01-02 02:29:35 +0100 |
---|---|---|
committer | Nikias Bassen | 2017-01-02 02:29:35 +0100 |
commit | 9950acbecda1b1bdf567e2e5efae84103c105a2d (patch) | |
tree | 40a46b8c0f657ac8f2261930b3c201514eb7cf32 /test/data | |
parent | 9f03f8aabcd036c1a97d9cfb6330409127202102 (diff) | |
download | libplist-9950acbecda1b1bdf567e2e5efae84103c105a2d.tar.gz libplist-9950acbecda1b1bdf567e2e5efae84103c105a2d.tar.bz2 |
test: Add some more test cases for various valid and invalid content
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/amp.plist | 6 | ||||
-rw-r--r-- | test/data/cdata.plist | 6 | ||||
-rw-r--r-- | test/data/invalid_tag.plist | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/test/data/amp.plist b/test/data/amp.plist new file mode 100644 index 0000000..ce9e7ac --- /dev/null +++ b/test/data/amp.plist @@ -0,0 +1,6 @@ +<plist version="1.0"> +<dict> + <key>test&</key> + <string>value</string> +</dict> +</plist> diff --git a/test/data/cdata.plist b/test/data/cdata.plist new file mode 100644 index 0000000..dcd015f --- /dev/null +++ b/test/data/cdata.plist @@ -0,0 +1,6 @@ +<plist version="1.0"> +<dict> + <key><![CDATA[cdata&key]]></key> + <string>string with cdata content: <![CDATA[ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~]]> !!!</string> +</dict> +</plist> diff --git a/test/data/invalid_tag.plist b/test/data/invalid_tag.plist new file mode 100644 index 0000000..feb770f --- /dev/null +++ b/test/data/invalid_tag.plist @@ -0,0 +1,6 @@ +<plist version="1.0"> +<dict> + <key>test<!test></key> + <string>value</string> +</dict> +</plist> |