weston/tests
Marek Chalupa 4d06d46ace tests: add expect_protocol_error function
This function checks if a particular protocol error came in wire.
It's usefull in the cases where we hitherto used FAIL_TEST.
The problem with FAIL_TEST is that *any* assert will pass the test,
but we want only some asserts to pass the test (i. e. we don't
want the test to pass when it, for example, can't connect to display).
FAIL_TESTs are good only for sanity testing.

The expect_protocol_error allows us to turn all FAIL_TESTs to TESTs
as will be introduced in following patches.

v2: fixed white-space error and a mistake in comment

Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
2014-07-22 19:14:54 +03:00
..
.gitignore Makefile.am: Fix protocol source files usage 2014-02-01 21:21:39 -08:00
bad-buffer-test.c tests: fix bad-buffer-test 2014-04-16 22:31:44 -07:00
buffer-count-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
button-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
config-parser-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
event-test.c tests: add test for buffer release event 2013-02-08 13:38:17 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
matrix-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
setbacklight.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
subsurface-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
surface-global-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
surface-test.c Remove the weston_view.geometry.width/height fields 2013-12-02 22:17:58 -08:00
text-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
vertex-clip-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
weston-test-client-helper.c tests: add expect_protocol_error function 2014-07-22 19:14:54 +03:00
weston-test-client-helper.h tests: add expect_protocol_error function 2014-07-22 19:14:54 +03:00
weston-test-runner.c tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
weston-test-runner.h Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
weston-test.c tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
weston-tests-env tests: load the right shell plugin 2014-05-09 15:00:32 -07:00
xwayland-test.c tests: Add XWayland test 2013-02-08 12:18:05 -05:00