static void test_visitor_out_no_string(TestOutputVisitorData *data,

                                       const void *unused)

{

    char *string = NULL;

    QObject *obj;



    /* A null string should return "" */

    visit_type_str(data->ov, NULL, &string, &error_abort);



    obj = visitor_get(data);

    g_assert(qobject_type(obj) == QTYPE_QSTRING);

    g_assert_cmpstr(qstring_get_str(qobject_to_qstring(obj)), ==, "");

}

static void test_visitor_out_no_string(TestOutputVisitorData *data,

                                       const void *unused)

{

    char *string = NULL;

    QObject *obj;



    

    visit_type_str(data->ov, NULL, &string, &error_abort);



    obj = visitor_get(data);

    g_assert(qobject_type(obj) == QTYPE_QSTRING);

    g_assert_cmpstr(qstring_get_str(qobject_to_qstring(obj)), ==, "");

}

static void FUNC_0(TestOutputVisitorData *VAR_0,

                                       const void *VAR_1)

{

    char *VAR_2 = NULL;

    QObject *obj;



    

    visit_type_str(VAR_0->ov, NULL, &VAR_2, &error_abort);



    obj = visitor_get(VAR_0);

    g_assert(qobject_type(obj) == QTYPE_QSTRING);

    g_assert_cmpstr(qstring_get_str(qobject_to_qstring(obj)), ==, "");

}

static void FUNC_0(TestOutputVisitorData *VAR_0,
const void *VAR_1)
{ char *VAR_2 = NULL; QObject *obj; visit_type_str(VAR_0->ov, NULL, &VAR_2, &error_abort); obj = visitor_get(VAR_0); g_assert(qobject_type(obj) == QTYPE_QSTRING); g_assert_cmpstr(qstring_get_str(qobject_to_qstring(obj)), ==, ""); }