diff options
author | Nikias Bassen | 2016-06-29 05:49:53 +0200 |
---|---|---|
committer | Nikias Bassen | 2016-06-29 05:49:53 +0200 |
commit | 02bd8acd41d1ed7891100fa0057981e98a0dbdad (patch) | |
tree | d15490d7fa4f6d951d70d34cae166445c8983896 /test/data | |
parent | acd226d1f71a78dd23b47a9a5c4ca8cf8068d509 (diff) | |
download | libplist-02bd8acd41d1ed7891100fa0057981e98a0dbdad.tar.gz libplist-02bd8acd41d1ed7891100fa0057981e98a0dbdad.tar.bz2 |
test: Add another test case for signed/unsigned (multiple) integers
Apart from testing the actual integer signed vs. unsigned value storage
and conversion, this test will check that the binary plist optimization
is not re-using existing values. Basically it will test the fix that
was introduced with commit acd226d1f71a78dd23b47a9a5c4ca8cf8068d509.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/signedunsigned.bplist | bin | 0 -> 113 bytes | |||
-rw-r--r-- | test/data/signedunsigned.plist | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/data/signedunsigned.bplist b/test/data/signedunsigned.bplist Binary files differnew file mode 100644 index 0000000..f361063 --- /dev/null +++ b/test/data/signedunsigned.bplist diff --git a/test/data/signedunsigned.plist b/test/data/signedunsigned.plist new file mode 100644 index 0000000..2942529 --- /dev/null +++ b/test/data/signedunsigned.plist @@ -0,0 +1,11 @@ +<?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"> +<array> + <integer>-1</integer> + <integer>18446744073709551615</integer> + <integer>9223372036854775807</integer> + <integer>-9223372036854775808</integer> + <integer>9223372036854775808</integer> +</array> +</plist> |