Kristian Høgsberg
33ad8a3315
connection-test: Store expected result in struct marshal_data
2012-03-23 16:56:19 -04:00
Kristian Høgsberg
0ca52cce98
tests: Add marshal+demarshal connection test
2012-03-23 11:41:34 -04:00
Kristian Høgsberg
f67f6395b1
tests: Use different connections for read and write tests
...
The connection tests so far only use one connection at a time, but this
prepares for tests that use a connection on both sides of the socket.
2012-03-23 11:32:17 -04:00
Kristian Høgsberg
7746a80e2a
tests: Remove debug printf
2012-03-21 10:32:06 -04:00
Kristian Høgsberg
f48bd0714a
tests: Add test case for freeing source with pending data
2012-03-21 10:30:19 -04:00
Ander Conselvan de Oliveira
707623f0cb
test: add a unit test for the event loop post dispatch check
2012-03-20 15:49:27 -04:00
Kristian Høgsberg
46df9232fa
test-runner.c: Consolidate test running code
2012-03-05 22:29:53 -05:00
Kristian Høgsberg
4bc5a0ab2c
tests: Add demarshal tests
2012-03-05 22:26:17 -05:00
Kristian Høgsberg
b2afde6f18
tests: Add more marshal tests
2012-03-05 21:53:38 -05:00
Kristian Høgsberg
d86718fc33
tests: Simplify connection tests a bit
2012-03-05 21:40:01 -05:00
Kristian Høgsberg
efab74e956
tests: Add wl_list tests
2012-03-05 21:38:25 -05:00
Kristian Høgsberg
b4351bc08e
tests: More wl_map tests
2012-03-05 21:14:57 -05:00
Gaetan Nadon
c1804b5735
tests: makefile error: missing test-runner.h
...
Detected by running distcheck
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-03-05 10:57:57 -05:00
Gaetan Nadon
bb4b05bc8d
check: connection-test fails to link to ffi
...
This prevents distcheck from completing.
Moving the -lffi at the end of the command fixes the problem.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-03-04 15:03:03 -05:00
Kristian Høgsberg
8e2cac7ae4
Add wl_array_for_each
2012-03-04 13:40:49 -05:00
Kristian Høgsberg
87a1e59992
tests: Add connection marshalling tests
2012-03-03 00:29:21 -05:00
Kristian Høgsberg
22834deca7
tests: Add connection tests
2012-03-02 23:59:50 -05:00
Kristian Høgsberg
d2067508c1
test-runner: Fix warnings
2012-03-02 23:42:07 -05:00
Kristian Høgsberg
e655059256
tests: Print test status after running test
...
This way assert output will be a line by itself, which is easier to read
and lets editors such as emacs step through failed assertions.
2012-03-02 22:45:28 -05:00
Kristian Høgsberg
62d2569954
tests: Add Unit tests for wl_map and wl_array data structures
...
We use a simple test-runner helper that runs each test in a separate
process and reports the pass/fail rate at the end.
2012-03-02 18:05:33 -05:00