summaryrefslogtreecommitdiffstats
path: root/tests/message-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add nullable check to wl_message_count_arraysYong Bakos2016-11-181-2/+4
| | | | | | | | | Array argument symbols in a wl_message may be nullable, but the test for wl_message_count_arrays did not test this. Add one more wl_message with nullable array arguments. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* tests: Test wl_message_count_arraysYong Bakos2016-11-101-0/+37
| | | | | | | | | | message-test.c did not cover wl_message_count_arrays, so add one test that specifically tests this method. Note that this exposes wl_message_count_arrays in a private header (wayland-private.h), and removes the `static` modifier of the implementation. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* tests: Update boilerplate from MIT X11 license to MIT Expat licenseBryce Harrington2015-06-121-16/+19
| | | | | Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* tests: Add message version sanity testJonas Ådahl2014-05-091-0/+50
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>