summaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-23 11:24:08 +0200
committerGravatar Nikias Bassen2014-05-23 11:24:08 +0200
commitf7c829297aa77e095511abb9b4ffaa68bd8bb443 (patch)
tree1b304c561f603ce67499814ffc66b9e727d7163c /test/data
parent769ee9ecdadcb75f421a7ebf18a2a43a13771966 (diff)
downloadlibplist-f7c829297aa77e095511abb9b4ffaa68bd8bb443.tar.gz
libplist-f7c829297aa77e095511abb9b4ffaa68bd8bb443.tar.bz2
test: Add test cases for integer nodes
Diffstat (limited to 'test/data')
-rw-r--r--test/data/hex.plist5
-rw-r--r--test/data/signed.bplistbin0 -> 50 bytes
-rw-r--r--test/data/signed.plist5
-rw-r--r--test/data/unsigned.bplistbin0 -> 58 bytes
-rw-r--r--test/data/unsigned.plist5
5 files changed, 15 insertions, 0 deletions
diff --git a/test/data/hex.plist b/test/data/hex.plist
new file mode 100644
index 0000000..ae2d2b0
--- /dev/null
+++ b/test/data/hex.plist
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<integer>0x73709551615</integer>
+</plist>
diff --git a/test/data/signed.bplist b/test/data/signed.bplist
new file mode 100644
index 0000000..89bf362
--- /dev/null
+++ b/test/data/signed.bplist
Binary files differ
diff --git a/test/data/signed.plist b/test/data/signed.plist
new file mode 100644
index 0000000..c7d2991
--- /dev/null
+++ b/test/data/signed.plist
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<integer>-1</integer>
+</plist>
diff --git a/test/data/unsigned.bplist b/test/data/unsigned.bplist
new file mode 100644
index 0000000..2b0a807
--- /dev/null
+++ b/test/data/unsigned.bplist
Binary files differ
diff --git a/test/data/unsigned.plist b/test/data/unsigned.plist
new file mode 100644
index 0000000..f08d1b7
--- /dev/null
+++ b/test/data/unsigned.plist
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<integer>18446744073709551615</integer>
+</plist>