]>
git.proxmox.com Git - spiceterm.git/blob - test_display_no_ssl.c
2 * Test ground for developing specific tests.
4 * Any specific test can start of from here and set the server to the
5 * specific required state, and create specific operations or reuse
6 * existing ones in the test_display_base supplied queue.
11 #include "test_display_base.h"
13 SpiceCoreInterface
*core
;
14 SpiceTimer
*ping_timer
;
18 void pinger(void *opaque
)
20 printf("TEST PINGER\n");
22 core
->timer_start(ping_timer
, ping_ms
);
29 core
= basic_event_loop_init();
30 test
= test_new(core
);
31 //spice_server_set_image_compression(server, SPICE_IMAGE_COMPRESS_OFF);
32 test_add_display_interface(test
);
34 test_add_agent_interface(test
->server
);
36 test_add_keyboard_interface(test
);
38 //ping_timer = core->timer_add(pinger, NULL);
39 //core->timer_start(ping_timer, ping_ms);
41 basic_event_loop_mainloop();