[glib] binding: Improve test coverage
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] binding: Improve test coverage
- Date: Sun, 8 Apr 2012 14:25:57 +0000 (UTC)
commit ee29e496841d3b56689e826eba9ec0e7ca7f91bc
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 8 10:23:16 2012 -0400
binding: Improve test coverage
gobject/tests/binding.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gobject/tests/binding.c b/gobject/tests/binding.c
index afa7eb9..310a991 100644
--- a/gobject/tests/binding.c
+++ b/gobject/tests/binding.c
@@ -563,6 +563,9 @@ binding_same_object (void)
g_object_set (source, "foo", 10, NULL);
g_assert_cmpint (source->foo, ==, 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]