Mercurial > libjeffpc
changeset 679:8a52160595a1
tests: move cbor packing tests into a common cbor dir
This will allow us to share these test vectors between cbor packing and
unpacking tests.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
line wrap: on
line diff
--- a/tests/CMakeLists.txt Sun Feb 24 13:12:48 2019 -0500 +++ b/tests/CMakeLists.txt Tue Oct 30 21:03:40 2018 -0400 @@ -22,7 +22,7 @@ build_perf_bin(tree) -build_test_bin_and_run_files(cbor_pack cbor-pack/*.lisp) +build_test_bin_and_run_files(cbor_pack cbor-common/valid/*.lisp) build_test_bin_and_run_files(nvl_pack nvl-pack/*.lisp) build_test_bin_and_run_files(qstring qstring-basic/*.qs) build_test_bin_and_run_files(sexpr_parser sexpr-parser/*.lisp)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-3int.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ƒ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-3int.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +(1 2 3)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-empty.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +€ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-empty.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-nested.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ƒ‚‚ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/array-nested.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +(1 (2 3) (4 5))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/bool-false.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ô \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/bool-false.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +#f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/bool-true.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +õ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/bool-true.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +#t
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/null.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ö \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/null.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +#n
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-ascii.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +dIETF \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-ascii.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +"IETF"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-empty.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +` \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-empty.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +""
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-quote-bslash.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +b"\ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-quote-bslash.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +"\"\\"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-unicode-escape-2byte.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +bü \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-unicode-escape-2byte.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +"\u00fc"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-unicode-escape-3byte.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +cæ°´ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/str-unicode-escape-3byte.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +"\u6c34"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-0.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-1.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ + \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-1.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-1311768467463790320.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +4Vxš¼Þð \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-1311768467463790320.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +1311768467463790320
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-18446744073709551615.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ÿÿÿÿÿÿÿÿ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-18446744073709551615.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +18446744073709551615
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-23.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ + \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-23.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +23
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-24.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ + \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-24.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +24
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-255.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ÿ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-255.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +255
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-256.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +256
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-4294967295.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ÿÿÿÿ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-4294967295.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +4294967295
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-4294967296.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +4294967296
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-65535.cbor Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +ÿÿ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-65535.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +65535
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cbor-common/valid/uint-limits-65536.lisp Tue Oct 30 21:03:40 2018 -0400 @@ -0,0 +1,1 @@ +65536
--- a/tests/cbor-pack/array-3int.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ƒ \ No newline at end of file
--- a/tests/cbor-pack/array-3int.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -(1 2 3)
--- a/tests/cbor-pack/array-empty.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -€ \ No newline at end of file
--- a/tests/cbor-pack/array-empty.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -()
--- a/tests/cbor-pack/array-nested.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ƒ‚‚ \ No newline at end of file
--- a/tests/cbor-pack/array-nested.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -(1 (2 3) (4 5))
--- a/tests/cbor-pack/bool-false.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ô \ No newline at end of file
--- a/tests/cbor-pack/bool-false.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -#f
--- a/tests/cbor-pack/bool-true.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -õ \ No newline at end of file
--- a/tests/cbor-pack/bool-true.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -#t
--- a/tests/cbor-pack/null.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ö \ No newline at end of file
--- a/tests/cbor-pack/null.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -#n
--- a/tests/cbor-pack/str-ascii.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -dIETF \ No newline at end of file
--- a/tests/cbor-pack/str-ascii.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -"IETF"
--- a/tests/cbor-pack/str-empty.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -` \ No newline at end of file
--- a/tests/cbor-pack/str-empty.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -""
--- a/tests/cbor-pack/str-quote-bslash.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -b"\ \ No newline at end of file
--- a/tests/cbor-pack/str-quote-bslash.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -"\"\\"
--- a/tests/cbor-pack/str-unicode-escape-2byte.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -bü \ No newline at end of file
--- a/tests/cbor-pack/str-unicode-escape-2byte.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -"\u00fc"
--- a/tests/cbor-pack/str-unicode-escape-3byte.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -cæ°´ \ No newline at end of file
--- a/tests/cbor-pack/str-unicode-escape-3byte.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -"\u6c34"
--- a/tests/cbor-pack/uint-limits-0.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -0
--- a/tests/cbor-pack/uint-limits-1.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ - \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-1.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -1
--- a/tests/cbor-pack/uint-limits-1311768467463790320.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -4Vxš¼Þð \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-1311768467463790320.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -1311768467463790320
--- a/tests/cbor-pack/uint-limits-18446744073709551615.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ÿÿÿÿÿÿÿÿ \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-18446744073709551615.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -18446744073709551615
--- a/tests/cbor-pack/uint-limits-23.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ - \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-23.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -23
--- a/tests/cbor-pack/uint-limits-24.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ - \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-24.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -24
--- a/tests/cbor-pack/uint-limits-255.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ÿ \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-255.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -255
--- a/tests/cbor-pack/uint-limits-256.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -256
--- a/tests/cbor-pack/uint-limits-4294967295.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ÿÿÿÿ \ No newline at end of file
--- a/tests/cbor-pack/uint-limits-4294967295.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -4294967295
--- a/tests/cbor-pack/uint-limits-4294967296.lisp Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -4294967296
--- a/tests/cbor-pack/uint-limits-65535.cbor Sun Feb 24 13:12:48 2019 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -ÿÿ \ No newline at end of file