tests: Add queue test case

Check that after a callback removes a proxy that most likely will have
several events queued up with the same target proxy, no more callbacks
are invoked.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2012-11-03 22:26:11 +01:00 committed by Kristian Høgsberg
parent e273c7cde3
commit 1801cdc41a
2 changed files with 174 additions and 1 deletions

View file

@ -8,7 +8,8 @@ TESTS = \
map-test \
os-wrappers-test \
sanity-test \
socket-test
socket-test \
queue-test
check_PROGRAMS = \
$(TESTS) \
@ -28,6 +29,7 @@ list_test_SOURCES = list-test.c $(test_runner_src)
map_test_SOURCES = map-test.c $(test_runner_src)
sanity_test_SOURCES = sanity-test.c $(test_runner_src)
socket_test_SOURCES = socket-test.c $(test_runner_src)
queue_test_SOURCES = queue-test.c $(test_runner_src)
fixed_benchmark_SOURCES = fixed-benchmark.c