diff options
author | Nikias Bassen | 2014-05-23 11:24:08 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-05-23 11:24:08 +0200 |
commit | f7c829297aa77e095511abb9b4ffaa68bd8bb443 (patch) | |
tree | 1b304c561f603ce67499814ffc66b9e727d7163c /test/data | |
parent | 769ee9ecdadcb75f421a7ebf18a2a43a13771966 (diff) | |
download | libplist-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.plist | 5 | ||||
-rw-r--r-- | test/data/signed.bplist | bin | 0 -> 50 bytes | |||
-rw-r--r-- | test/data/signed.plist | 5 | ||||
-rw-r--r-- | test/data/unsigned.bplist | bin | 0 -> 58 bytes | |||
-rw-r--r-- | test/data/unsigned.plist | 5 |
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 Binary files differnew file mode 100644 index 0000000..89bf362 --- /dev/null +++ b/test/data/signed.bplist 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 Binary files differnew file mode 100644 index 0000000..2b0a807 --- /dev/null +++ b/test/data/unsigned.bplist 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> |