static void test_qga_invalid_args(gconstpointer fix)

{

    const TestFixture *fixture = fix;

    QDict *ret, *error;

    const gchar *class, *desc;



    ret = qmp_fd(fixture->fd, "{'execute': 'guest-ping', "

                 "'arguments': {'foo': 42 }}");

    g_assert_nonnull(ret);



    error = qdict_get_qdict(ret, "error");

    class = qdict_get_try_str(error, "class");

    desc = qdict_get_try_str(error, "desc");



    g_assert_cmpstr(class, ==, "GenericError");

    g_assert_cmpstr(desc, ==, "QMP input object member 'foo' is unexpected");



    QDECREF(ret);

}

static void test_qga_invalid_args(gconstpointer fix)

{

    const TestFixture *fixture = fix;

    QDict *ret, *error;

    const gchar *class, *desc;



    ret = qmp_fd(fixture->fd, "{'execute': 'guest-ping', "

                 "'arguments': {'foo': 42 }}");

    g_assert_nonnull(ret);



    error = qdict_get_qdict(ret, "error");

    class = qdict_get_try_str(error, "class");

    desc = qdict_get_try_str(error, "desc");



    g_assert_cmpstr(class, ==, "GenericError");

    g_assert_cmpstr(desc, ==, "QMP input object member 'foo' is unexpected");



    QDECREF(ret);

}

    g_assert_cmpstr(desc, ==, "QMP input object member 'foo' is unexpected");
static void FUNC_0(gconstpointer VAR_0)

{

    const TestFixture *VAR_1 = VAR_0;

    QDict *ret, *error;

    const gchar *VAR_2, *desc;



    ret = qmp_fd(VAR_1->fd, "{'execute': 'guest-ping', "

                 "'arguments': {'foo': 42 }}");

    g_assert_nonnull(ret);



    error = qdict_get_qdict(ret, "error");

    VAR_2 = qdict_get_try_str(error, "VAR_2");

    desc = qdict_get_try_str(error, "desc");



    g_assert_cmpstr(VAR_2, ==, "GenericError");

    g_assert_cmpstr(desc, ==, "QMP input object member 'foo' is unexpected");



    QDECREF(ret);

}

static void FUNC_0(gconstpointer VAR_0)
{ const TestFixture *VAR_1 = VAR_0; QDict *ret, *error; const gchar *VAR_2, *desc; ret = qmp_fd(VAR_1->fd, "{'execute': 'guest-ping', " "'arguments': {'foo': 42 }}"); g_assert_nonnull(ret); error = qdict_get_qdict(ret, "error"); VAR_2 = qdict_get_try_str(error, "VAR_2"); desc = qdict_get_try_str(error, "desc"); g_assert_cmpstr(VAR_2, ==, "GenericError"); g_assert_cmpstr(desc, ==, "QMP input object member 'foo' is unexpected"); QDECREF(ret); }