]> Git Repo - qemu.git/blobdiff - tests/test-qmp-commands.c
qmp-test: New, covering basic QMP protocol
[qemu.git] / tests / test-qmp-commands.c
index 81cbe545c49f73204046caa87bdf83410f37e4ec..ff944811e8c0828226196d1dcef82e5f632f4fd4 100644 (file)
@@ -4,7 +4,7 @@
 #include "test-qmp-commands.h"
 #include "qapi/qmp/dispatch.h"
 #include "qemu/module.h"
-#include "qapi/qmp-input-visitor.h"
+#include "qapi/qobject-input-visitor.h"
 #include "tests/test-qapi-types.h"
 #include "tests/test-qapi-visit.h"
 
@@ -244,7 +244,7 @@ static void test_dealloc_partial(void)
         ud2_dict = qdict_new();
         qdict_put_obj(ud2_dict, "string0", QOBJECT(qstring_from_str(text)));
 
-        v = qmp_input_visitor_new(QOBJECT(ud2_dict), true);
+        v = qobject_input_visitor_new(QOBJECT(ud2_dict), true);
         visit_type_UserDefTwo(v, NULL, &ud2, &err);
         visit_free(v);
         QDECREF(ud2_dict);
This page took 0.020571 seconds and 4 git commands to generate.