tests: Test wl_message_count_arrays
authorYong Bakos <ybakos@humanoriented.com>
Thu, 3 Nov 2016 20:42:54 +0000 (13:42 -0700)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 10 Nov 2016 15:12:04 +0000 (17:12 +0200)
commit9618087c6ad0b1e2de4037279f7370846c5f508c
tree93b2c91bee4e7c52851c0d38816a1ecc8c31af71
parent66a26aeb2a4d76141938aab72113259c19e7ea17
tests: Test wl_message_count_arrays

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>
src/connection.c
src/wayland-private.h
tests/message-test.c