diff options
author | Alon Levy <alevy@redhat.com> | 2011-01-08 16:06:15 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-10 14:11:37 +0200 |
commit | 293f5f0df8b22e93f2358824309cdd0f849d96a6 (patch) | |
tree | 2117f28b0292293ecda917912d37b4453968b116 /server/tests/test_display_base.h | |
parent | 2c16ef8f267c7f9f53901cb6dd477e0b63429143 (diff) | |
download | spice-293f5f0df8b22e93f2358824309cdd0f849d96a6.tar.gz spice-293f5f0df8b22e93f2358824309cdd0f849d96a6.tar.xz spice-293f5f0df8b22e93f2358824309cdd0f849d96a6.zip |
server/tests: split test_display_no_ssl to test_display_base, add streaming test
Diffstat (limited to 'server/tests/test_display_base.h')
-rw-r--r-- | server/tests/test_display_base.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/server/tests/test_display_base.h b/server/tests/test_display_base.h new file mode 100644 index 00000000..ca940571 --- /dev/null +++ b/server/tests/test_display_base.h @@ -0,0 +1,23 @@ +#ifndef __TEST_DISPLAY_BASE_H__ +#define __TEST_DISPLAY_BASE_H__ + +#include <spice.h> +#include "basic_event_loop.h" + +#define COUNT(x) ((sizeof(x)/sizeof(x[0]))) + +void test_set_simple_command_list(int* commands, int num_commands); +void test_add_display_interface(SpiceServer *server); +SpiceServer* test_init(SpiceCoreInterface* core); + +// simple queue for commands +enum { + PATH_PROGRESS, + SIMPLE_CREATE_SURFACE, + SIMPLE_DRAW, + SIMPLE_COPY_BITS, + SIMPLE_DESTROY_SURFACE, + SIMPLE_UPDATE, +}; + +#endif // __TEST_DISPLAY_BASE_H__ |