[PATCH 0/3] Test static functions
Marek Ch
mchqwerty at gmail.com
Thu Dec 5 07:38:19 PST 2013
Hi,
I did similar thing like is in Weston for testing static functions. Also, I wrote
few wl_buffer unit tests.
I appreaciate any comments :)
P. S.: based on mailing here:
http://lists.freedesktop.org/archives/wayland-devel/2013-November/012299.html
Thanks,
Marek Ch
Marek Ch (3):
wayland-private: add define for testing static functions
wayland-private: move struct wl_buffer into wayland-private.h
tests: add tests for wl_buffer_*
src/connection.c | 18 +---
src/wayland-private.h | 24 +++++
tests/Makefile.am | 12 ++-
tests/buffer-test.c | 247 ++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 286 insertions(+), 15 deletions(-)
create mode 100644 tests/buffer-test.c
--
1.8.4.2
More information about the wayland-devel
mailing list