summaryrefslogtreecommitdiffstats
path: root/test/data/entities.plist
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-01-02 02:06:39 +0100
committerGravatar Nikias Bassen2017-01-02 02:06:39 +0100
commit552801556f8537bcdeee2cc93e347a35a0847f7f (patch)
tree605c29bd707a4418ce2fa8ad8bbe4abfd64d3581 /test/data/entities.plist
parent1cdb888575c6fc53fabe3575534ba99e3bb2c153 (diff)
downloadlibplist-552801556f8537bcdeee2cc93e347a35a0847f7f.tar.gz
libplist-552801556f8537bcdeee2cc93e347a35a0847f7f.tar.bz2
test: Add new test case for entities
Diffstat (limited to 'test/data/entities.plist')
-rw-r--r--test/data/entities.plist57
1 files changed, 57 insertions, 0 deletions
diff --git a/test/data/entities.plist b/test/data/entities.plist
new file mode 100644
index 0000000..d7655d6
--- /dev/null
+++ b/test/data/entities.plist
@@ -0,0 +1,57 @@
+<plist version="1.0">
+<dict>
+ <key>some test entitites</key>
+ <dict>
+ <key>copyright</key>
+ <string>&#169;</string>
+ <key>multiple entitites</key>
+ <string>&#x2F20;&#x2F21;&#x2F22;</string>
+ <key>multiple entitites with characters inbetween</key>
+ <string>a&#x2F23;b&#x2F24;c&#x2F25;d</string>
+ </dict>
+ <key>one byte entity</key>
+ <dict>
+ <key>one byte entity</key>
+ <string>&#64;</string>
+ <key>one byte entity with text after</key>
+ <string>&#x40;z</string>
+ <key>one byte entity with text before</key>
+ <string>a&#x40;</string>
+ <key>one byte entity with text before &amp; after</key>
+ <string>a&#64;z</string>
+ </dict>
+ <key>two-byte utf-8</key>
+ <dict>
+ <key>two-byte utf-8</key>
+ <string>&#xC4;</string>
+ <key>two-byte utf-8 with text after</key>
+ <string>&#xCB;yz</string>
+ <key>two-byte utf-8 with text before</key>
+ <string>ab&#xD6;</string>
+ <key>two-byte utf-8 with text before &amp; after</key>
+ <string>ab&#xDC;yz</string>
+ </dict>
+ <key>three byte utf-8</key>
+ <dict>
+ <key>three byte utf-8</key>
+ <string>&#xFFE0;</string>
+ <key>three byte utf-8 with text after</key>
+ <string>&#65505;xyz</string>
+ <key>three byte utf-8 with text before</key>
+ <string>abc&#xFFE5;</string>
+ <key>three byte utf-8 with text before &amp; after</key>
+ <string>abc&#65510;xyz</string>
+ </dict>
+ <key>four byte utf-8</key>
+ <dict>
+ <key>four byte utf-8</key>
+ <string>&#x1D562;</string>
+ <key>four byte utf-8 with text after</key>
+ <string>&#x1D563;wxyz</string>
+ <key>four byte utf-8 with text before</key>
+ <string>abcd&#x1D564;</string>
+ <key>four byte utf-8 with text before &amp; after</key>
+ <string>abcd&#x1D565;wxyz</string>
+ </dict>
+</dict>
+</plist>