]> git.proxmox.com Git - spiceterm.git/blobdiff - test_display_base.c
remove batch commands
[spiceterm.git] / test_display_base.c
index dfd869f0f7dfbb727f30c5a13b28e4278d502adb..74645e1ffc912ab47a58370592130e62ffaf32ff 100644 (file)
@@ -609,30 +609,9 @@ static SpiceKbdInterface keyboard_sif = {
 
 void test_add_keyboard_interface(Test* test)
 {
-    g_error("teste");
     spice_server_add_interface(test->server, &test->keyboard_sin.base);
 }
 
-void test_set_simple_command_list(Test *test, int *simple_commands, int num_commands)
-{
-    int i;
-
-    /* FIXME: leaks */
-    test->commands = malloc(sizeof(*test->commands) * num_commands);
-    memset(test->commands, 0, sizeof(*test->commands) * num_commands);
-    test->num_commands = num_commands;
-    for (i = 0 ; i < num_commands; ++i) {
-        test->commands[i].command = simple_commands[i];
-    }
-}
-
-void test_set_command_list(Test *test, Command *commands, int num_commands)
-{
-    test->commands = commands;
-    test->num_commands = num_commands;
-}
-
-
 Test *test_new(SpiceCoreInterface *core)
 {
     int port = 5912;