mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-11 11:03:01 +01:00
binding: Improve test coverage
This commit is contained in:
@@ -563,6 +563,9 @@ binding_same_object (void)
|
|||||||
g_object_set (source, "foo", 10, NULL);
|
g_object_set (source, "foo", 10, NULL);
|
||||||
g_assert_cmpint (source->foo, ==, 10);
|
g_assert_cmpint (source->foo, ==, 10);
|
||||||
g_assert_cmpint (source->bar, ==, 10);
|
g_assert_cmpint (source->bar, ==, 10);
|
||||||
|
g_object_set (source, "bar", 30, NULL);
|
||||||
|
g_assert_cmpint (source->foo, ==, 30);
|
||||||
|
g_assert_cmpint (source->bar, ==, 30);
|
||||||
|
|
||||||
g_object_unref (source);
|
g_object_unref (source);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user