spice/server/tests
2011-05-09 09:46:22 +03:00
..
.gitignore add .gitignore for tests 2010-11-30 20:54:49 +02:00
basic_event_loop.c server/tests remove useless assignment 2011-04-08 12:14:20 +02:00
basic_event_loop.h server: tests: add basic tests with working do nothing server 2010-11-08 16:04:27 +02:00
Makefile.am autotools: refactor the whole build machinery 2011-05-03 14:44:10 +02:00
README server: tests: add basic tests with working do nothing server 2010-11-08 16:04:27 +02:00
test_display_base.c server/tests: show port to connect to 2011-05-09 09:46:22 +03:00
test_display_base.h server/tests: split test_display_no_ssl to test_display_base, add streaming test 2011-01-10 14:11:37 +02:00
test_display_no_ssl.c server/tests: split test_display_no_ssl to test_display_base, add streaming test 2011-01-10 14:11:37 +02:00
test_display_streaming.c server/tests: split test_display_no_ssl to test_display_base, add streaming test 2011-01-10 14:11:37 +02:00
test_empty_success.c tests: fix compilation with -Wall -Werror 2011-04-08 12:14:19 +02:00
test_fail_on_null_core_interface.c server: tests: add basic tests with working do nothing server 2010-11-08 16:04:27 +02:00
test_just_sockets_no_ssl.c server: tests: add basic tests with working do nothing server 2010-11-08 16:04:27 +02:00
test_playback.c build: fix gettimeofday warning 2011-05-03 17:16:46 +02:00
test_util.h remove duplicated macro 2011-04-04 11:59:53 +02:00

What is here
============

This directory will contain a testsuite for the server including tetris drawing.

Unfortunately tetris and most of the tests are not here right now. You can however run all the tests and use libtool to debug any of them thus:

libtool --mode=execute gdb test_just_sockets_no_ssl

Overview of tests
=================

test_just_sockets_no_ssl
 A complete server, only provides the main and inputs channels. Doesn't actually produce anything on the channels. Essentially a test of the regular link code (reds.c), good for multiple connect/disconnect tests.

test_empty_success
 tests calling 

test_fail_on_null_core_interface
 should abort when run (when spice tries to watch_add)

basic_event_loop.c
 used by test_just_sockets_no_ssl, can be used by other tests. very crude event loop. Should probably use libevent for better tests, but this is self contained.