wayland/tests
Kristian Høgsberg 3b8a1c7fed resources-test: Don't send invalid event
Even if nothing receives the even, the arguments still need to be valid.
The test is sending out event 0 from the wl_display interface, which is
the error event.  This requires arg 0 to be a valid object and arg 2 to
be a non-null string.  The test just leaves that undefined, causing
intermittent test failures.

As it is, the resource destroy test doesn't need to send an event to
validate the various resource destroy hooks, so we can just remove the
call to wl_resource_post_event() alltogether.

Thanks to Matt Turner <mattst88@gmail.com> for pointing out the failure.
2014-01-20 15:07:55 -08:00
..
.gitignore gitignore: add test-suite files 2013-01-24 16:14:52 -05:00
array-test.c array-test: assert wl_array_add result is not NULL 2014-01-15 10:46:08 -08:00
client-test.c server: Make wl_object and wl_resource opaque structs 2013-07-02 15:52:47 -04:00
connection-test.c connection-test: assert closure is not NULL before invoking it 2014-01-15 10:46:08 -08:00
display-test.c server: Make wl_object and wl_resource opaque structs 2013-07-02 15:52:47 -04:00
event-loop-test.c event-loop-test: assert non-NULL results 2014-01-15 10:46:08 -08:00
exec-fd-leak-checker.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
fixed-benchmark.c tests: fix make check for out-of-tree builds 2012-06-30 19:58:37 +00:00
fixed-test.c tests: fix make check for out-of-tree builds 2012-06-30 19:58:37 +00:00
list-test.c tests: fix make check for out-of-tree builds 2012-06-30 19:58:37 +00:00
Makefile.am tests: add wl_resource tests 2013-09-21 11:38:32 -07:00
map-test.c Update tests for wl_map changes and add a map_flags test 2013-06-05 17:55:14 -04:00
os-wrappers-test.c os-wrappers-test: assert closure is not NULL before invoking it 2014-01-15 10:46:08 -08:00
queue-test.c queue-test: assert non-NULL return values 2014-01-15 10:46:08 -08:00
resources-test.c resources-test: Don't send invalid event 2014-01-20 15:07:55 -08:00
sanity-test.c tests: ensure sanity leak check tests pass when leak checks are disabled. 2012-08-29 14:10:24 -04:00
signal-test.c tests: add unit tests for wl_signal 2013-09-21 11:37:38 -07:00
socket-test.c tests: Quiet warning 2012-08-29 14:12:11 -04:00
test-helpers.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
test-runner.c tests: extended message when leak in test is detected 2013-09-21 11:36:33 -07:00
test-runner.h tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00