static void migrate_check_parameter(QTestState *who, const char *parameter,

                                    const char *value)

{

    QDict *rsp, *rsp_return;

    const char *result;



    rsp = wait_command(who, "{ 'execute': 'query-migrate-parameters' }");

    rsp_return = qdict_get_qdict(rsp, "return");

    result = g_strdup_printf("%" PRId64,

                             qdict_get_try_int(rsp_return,  parameter, -1));

    g_assert_cmpstr(result, ==, value);

    QDECREF(rsp);

}

static void migrate_check_parameter(QTestState *who, const char *parameter,

                                    const char *value)

{

    QDict *rsp, *rsp_return;

    const char *result;



    rsp = wait_command(who, "{ 'execute': 'query-migrate-parameters' }");

    rsp_return = qdict_get_qdict(rsp, "return");

    result = g_strdup_printf("%" PRId64,

                             qdict_get_try_int(rsp_return,  parameter, -1));

    g_assert_cmpstr(result, ==, value);

    QDECREF(rsp);

}

    const char *result;
static void FUNC_0(QTestState *VAR_0, const char *VAR_1,

                                    const char *VAR_2)

{

    QDict *rsp, *rsp_return;

    const char *VAR_3;



    rsp = wait_command(VAR_0, "{ 'execute': 'query-migrate-parameters' }");

    rsp_return = qdict_get_qdict(rsp, "return");

    VAR_3 = g_strdup_printf("%" PRId64,

                             qdict_get_try_int(rsp_return,  VAR_1, -1));

    g_assert_cmpstr(VAR_3, ==, VAR_2);

    QDECREF(rsp);

}

static void FUNC_0(QTestState *VAR_0, const char *VAR_1,
const char *VAR_2)
{ QDict *rsp, *rsp_return; const char *VAR_3; rsp = wait_command(VAR_0, "{ 'execute': 'query-migrate-parameters' }"); rsp_return = qdict_get_qdict(rsp, "return"); VAR_3 = g_strdup_printf("%" PRId64,
qdict_get_try_int(rsp_return,  VAR_1, -1)); g_assert_cmpstr(VAR_3, ==, VAR_2); QDECREF(rsp); }