diff options
Diffstat (limited to 'test/core/private.c')
-rw-r--r-- | test/core/private.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/core/private.c b/test/core/private.c index b37ae20..eb966b9 100644 --- a/test/core/private.c +++ b/test/core/private.c @@ -62,8 +62,8 @@ call_cb (DBusGProxy *proxy, { Fixture *f = user_data; - g_assert (proxy == f->proxy); - g_assert (call == f->call); + g_assert_true (proxy == f->proxy); + g_assert_true (call == f->call); f->in_flight--; } @@ -75,7 +75,7 @@ frobnicate_cb (DBusGProxy *proxy, { Fixture *f = user_data; - g_assert (proxy == f->proxy); + g_assert_true (proxy == f->proxy); f->in_flight--; @@ -91,10 +91,10 @@ setup (Fixture *f, f->in_flight = 0; f->bus = dbus_g_bus_get_private (DBUS_BUS_SESSION, f->context, NULL); - g_assert (f->bus != NULL); + g_assert_nonnull (f->bus); f->object = g_object_new (MY_TYPE_OBJECT, NULL); - g_assert (MY_IS_OBJECT (f->object)); + g_assert_true (MY_IS_OBJECT (f->object)); dbus_g_connection_register_g_object (f->bus, "/object", (GObject *) f->object); @@ -169,7 +169,7 @@ test_call (Fixture *f, G_TYPE_INVALID); g_assert_no_error (error); - g_assert (ok); + g_assert_true (ok); g_assert_cmpuint (result, ==, 667); } @@ -239,7 +239,7 @@ test_timeout (Fixture *f, G_TYPE_INVALID); g_assert_error (error, DBUS_GERROR, DBUS_GERROR_NO_REPLY); - g_assert (!ok); + g_assert_false (ok); g_clear_error (&error); } |