Searched refs:test_props (Results 1 – 1 of 1) sorted by relevance
552 } test_props[] = { in properties_get_property() local562 for (i = 0; i < G_N_ELEMENTS (test_props); i++) in properties_get_property()564 if (test_props[i].gtype != G_TYPE_INVALID) in properties_get_property()565 g_value_init (&(test_props[i].value), test_props[i].gtype); in properties_get_property()571 g_object_get_property (G_OBJECT (test_obj), test_props[0].name, &(test_props[0].value)); in properties_get_property()572 g_assert_cmpint (g_value_get_int (&(test_props[0].value)), ==, 42); in properties_get_property()575 g_object_get_property (G_OBJECT (test_obj), test_props[1].name, &(test_props[1].value)); in properties_get_property()576 g_assert_true (g_value_get_boolean (&(test_props[1].value))); in properties_get_property()579 g_object_get_property (G_OBJECT (test_obj), test_props[2].name, &(test_props[2].value)); in properties_get_property()580 g_assert_true (G_VALUE_HOLDS_STRING (&(test_props[2].value))); in properties_get_property()[all …]