0.110: test suite is failing because incorrect usage glib assertions
I'm using glib compiled with disabled asserttions.
Looks like dbus-glib is one of only handfull ptojects whicha are still usng g_assert()
in its test suite.
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in dbus-gmain
/usr/bin/make check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus-gmain'
PASS: tests/test-30574
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus-gmain'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus-gmain'
============================================================================
Testsuite summary for dbus-glib 0.110
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus-gmain'
Making check in dbus
Making check in .
/usr/bin/make check-TESTS
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus'
PASS: dbus-glib-test
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus'
============================================================================
Testsuite summary for dbus-glib 0.110
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/dbus'
Making check in examples
/usr/bin/make check-recursive
Making check in .
make[4]: Nothing to be done for 'check-am'.
Making check in statemachine
/usr/bin/make check-am
make[5]: Nothing to be done for 'check-am'.
Making check in tools
/usr/bin/make check-am
make[2]: Nothing to be done for 'check-am'.
Making check in test
Making check in .
/usr/bin/make check-TESTS
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
PASS: test-compile-nested.sh
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
FAIL: test-specialized-types
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
FAIL: test-errors
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dbus-glib-0.110/test'
==========================================
dbus-glib 0.110: test/test-suite.log
==========================================
# TOTAL: 3
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-errors
=================
Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting.
FAIL test-errors (exit status: 1)
FAIL: test-specialized-types
============================
Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting.
FAIL test-specialized-types (exit status: 1)
============================================================================
Testsuite summary for dbus-glib 0.110
============================================================================
# TOTAL: 3
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus&component=GLib
============================================================================
From https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert:
"Debugging macro to terminate the application if the assertion fails. If the assertion fails (i.e. the expression is not true), an error message is logged and the application is terminated.
The macro can be turned off in final releases of code by defining G_DISABLE_ASSERT when compiling the application, so code must not depend on any side effects from expr . Similarly, it must not be used in unit tests, otherwise the unit tests will be ineffective if compiled with G_DISABLE_ASSERT. Use g_assert_true() and related macros in unit tests instead."
And in the test/
grep shows:
[tkloczko@barrel dbus-glib-0.110]$ grep -rw g_assert test/
test/interfaces/test-client.c: g_assert (proxy != NULL);
test/core/shared-bus.c: g_assert (f->bus != NULL);
test/core/shared-bus.c: g_assert (f->bus == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
test/core/shared-bus.c: g_assert (f->bus == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
test/core/shared-bus.c: g_assert (f->bus == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
test/core/shared-bus.c: g_assert (f->priv != NULL);
test/core/shared-bus.c: g_assert (f->priv != f->bus);
test/core/test-service-glib.c: g_assert (error != NULL);
test/core/registrations.c: g_assert (f->bus != NULL);
test/core/registrations.c: g_assert (f->bus2 != NULL);
test/core/registrations.c: g_assert (MY_IS_OBJECT (f->object));
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/bar") == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (weak_pointer == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") == NULL);
test/core/registrations.c: g_assert (sender != NULL);
test/core/registrations.c: g_assert (path != NULL);
test/core/registrations.c: g_assert (f->frobnicate1_message == NULL);
test/core/registrations.c: g_assert (f->frobnicate2_message == NULL);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus2, "/bar") ==
test/core/registrations.c: g_assert (mem);
test/core/registrations.c: g_assert (f->frobnicate1_message == NULL);
test/core/registrations.c: g_assert (mem);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus2, "/bar") ==
test/core/registrations.c: g_assert (f->frobnicate1_message == NULL);
test/core/registrations.c: g_assert (sender != NULL);
test/core/registrations.c: g_assert (path != NULL);
test/core/registrations.c: g_assert (ok);
test/core/registrations.c: g_assert (dbus_g_connection_lookup_g_object (f->bus, "/foo") ==
test/core/registrations.c: g_assert (mem);
test/core/proxy-peer.c: g_assert (f->server_conn == NULL);
test/core/proxy-peer.c: g_assert (proxy == f->proxy);
test/core/proxy-peer.c: g_assert (f->server != NULL);
test/core/proxy-peer.c: g_assert (f->server_conn == NULL);
test/core/proxy-peer.c: g_assert (f->client_conn != NULL);
test/core/proxy-peer.c: g_assert (f->proxy != NULL);
test/core/proxy-peer.c: g_assert (DBUS_IS_G_PROXY (f->proxy));
test/core/proxy-peer.c: g_assert (found);
test/core/proxy-peer.c: g_assert (call != NULL);
test/core/proxy-peer.c: g_assert (ok);
test/core/proxy-peer.c: g_assert (ok);
test/core/proxy-peer.c: g_assert (fail == NULL);
test/core/proxy-peer.c: g_assert (!ok);
test/core/proxy-noc.c: g_assert (proxy == f->proxy);
test/core/proxy-noc.c: g_assert (f->service_gconn != NULL);
test/core/proxy-noc.c: g_assert (f->attacker_gconn != NULL);
test/core/proxy-noc.c: g_assert (f->client_gconn != NULL);
test/core/proxy-noc.c: g_assert (DBUS_IS_G_PROXY (f->proxy));
test/core/test-profile.c: g_assert (count < (int) sizeof(not_allocated));
test/core/test-profile.c: g_assert (count < (int) sizeof(not_allocated));
test/core/private.c: g_assert (proxy == f->proxy);
test/core/private.c: g_assert (call == f->call);
test/core/private.c: g_assert (proxy == f->proxy);
test/core/private.c: g_assert (f->bus != NULL);
test/core/private.c: g_assert (MY_IS_OBJECT (f->object));
test/core/private.c: g_assert (ok);
test/core/private.c: g_assert (!ok);
test/core/peer-on-bus.c: g_assert (f->bus != NULL);
test/core/peer-on-bus.c: g_assert (f->bus2 != NULL);
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (!test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (!test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (!test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (!test_g_variant_equivalent (v1, v2));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/test-gvariant.c: g_assert (test_g_variant_equivalent (var, varc));
test/core/error-mapping.c: g_assert (f->conn != NULL);
test/core/error-mapping.c: g_assert (MY_IS_OBJECT (f->object));
test/core/error-mapping.c: g_assert (f->proxy != NULL);
test/core/error-mapping.c: g_assert (error != NULL);
test/core/test-dbus-glib.c: g_assert (val == 42);
test/core/test-dbus-glib.c: g_assert (val == 42);
test/core/test-dbus-glib.c: g_assert (val == 42);
test/core/test-dbus-glib.c: g_assert (!strcmp (str0, "foo"));
test/core/test-dbus-glib.c: g_assert (val == 22);
test/core/test-dbus-glib.c: g_assert (!strcmp (str1, "moo"));
test/core/test-dbus-glib.c: g_assert (!strcmp (str0, "baz"));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_STRING (value));
test/core/test-dbus-glib.c: g_assert (!strcmp (g_value_get_string (value), "bar"));
test/core/test-dbus-glib.c: g_assert (g_hash_table_size (table) == 2);
test/core/test-dbus-glib.c: g_assert (g_hash_table_lookup (table, "baz") != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp (g_hash_table_lookup (table, "baz"), "cow"));
test/core/test-dbus-glib.c: g_assert (g_hash_table_lookup (table, "bar") != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp (g_hash_table_lookup (table, "bar"), "foo"));
test/core/test-dbus-glib.c: g_assert (call == echo_call);
test/core/test-dbus-glib.c: g_assert (data == NULL);
test/core/test-dbus-glib.c: g_assert (echo_data != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp (data, "moo"));
test/core/test-dbus-glib.c: g_assert (expected_string_value != NULL);
test/core/test-dbus-glib.c: g_assert (object_path != NULL);
test/core/test-dbus-glib.c: g_assert (proxy != NULL);
test/core/test-dbus-glib.c: g_assert (object_path != NULL);
test/core/test-dbus-glib.c: g_assert (proxy != NULL);
test/core/test-dbus-glib.c: g_assert (name_list[i] != NULL);
test/core/test-dbus-glib.c: g_assert (name_list[i] == NULL);
test/core/test-dbus-glib.c: g_assert (strs_ret != NULL);
test/core/test-dbus-glib.c: g_assert (vals_ret != NULL);
test/core/test-dbus-glib.c: g_assert (vals_ret->n_values == 2);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_UINT (g_value_array_get_nth (vals_ret, 0)));
test/core/test-dbus-glib.c: g_assert (g_value_get_uint (g_value_array_get_nth (vals_ret, 0)) == 43);
test/core/test-dbus-glib.c: g_assert (G_VALUE_TYPE (g_value_array_get_nth (vals_ret, 1)) == DBUS_TYPE_G_OBJECT_PATH);
test/core/test-dbus-glib.c: g_assert (!strcmp ("/org/freedesktop/DBus/GLib/Tests/MyTestObject2",
test/core/test-dbus-glib.c: g_assert (ret_table != NULL);
test/core/test-dbus-glib.c: g_assert (g_hash_table_size (ret_table) == 2);
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_STRING (val));
test/core/test-dbus-glib.c: g_assert (!strcmp ("42", g_value_get_string (val)));
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_STRING (val));
test/core/test-dbus-glib.c: g_assert (!strcmp ("hello", g_value_get_string (val)));
test/core/test-dbus-glib.c: g_assert (out_array);
test/core/test-dbus-glib.c: g_assert (out_array->len == 2);
test/core/test-dbus-glib.c: g_assert (uints);
test/core/test-dbus-glib.c: g_assert (uints->len == 3);
test/core/test-dbus-glib.c: g_assert (g_array_index (uints, guint, 0) == 10);
test/core/test-dbus-glib.c: g_assert (g_array_index (uints, guint, 1) == 42);
test/core/test-dbus-glib.c: g_assert (g_array_index (uints, guint, 2) == 27);
test/core/test-dbus-glib.c: g_assert (uints);
test/core/test-dbus-glib.c: g_assert (uints->len == 1);
test/core/test-dbus-glib.c: g_assert (g_array_index (uints, guint, 0) == 30);
test/core/test-dbus-glib.c: g_assert (ret_table != NULL);
test/core/test-dbus-glib.c: g_assert (g_hash_table_size (ret_table) == 2);
test/core/test-dbus-glib.c: g_assert(subtable);
test/core/test-dbus-glib.c: g_assert (g_hash_table_size (subtable) == 3);
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict1 1", val));
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict1 2", val));
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict1 3", val));
test/core/test-dbus-glib.c: g_assert(subtable);
test/core/test-dbus-glib.c: g_assert (g_hash_table_size (subtable) == 3);
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict2 4", val));
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict2 5", val));
test/core/test-dbus-glib.c: g_assert (val != NULL);
test/core/test-dbus-glib.c: g_assert (!strcmp ("dict2 6", val));
test/core/test-dbus-glib.c: g_assert (proxy != NULL);
test/core/test-dbus-glib.c: g_assert (proxy2 != NULL);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_STRING));
test/core/test-dbus-glib.c: g_assert (!strcmp (g_value_get_string (&value), ""));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_UINT));
test/core/test-dbus-glib.c: g_assert (g_value_get_uint (&value) == 42);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_UINT));
test/core/test-dbus-glib.c: g_assert (g_value_get_uint (&value) == 42);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_STRING));
test/core/test-dbus-glib.c: g_assert (!strcmp (g_value_get_string (&value), "testing value"));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_DOUBLE));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_DOUBLE));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS (&value, G_TYPE_DOUBLE));
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_BOOLEAN (&value));
test/core/test-dbus-glib.c: g_assert (g_value_get_boolean (&value) == FALSE);
test/core/test-dbus-glib.c: g_assert (G_VALUE_HOLDS_BOOLEAN (&value));
test/core/test-dbus-glib.c: g_assert (g_value_get_boolean (&value) == FALSE);
test/core/test-dbus-glib.c: g_assert (proxy == NULL);
test/core/test-dbus-glib.c: g_assert (privconn != connection);
test/core/peer-client.c: g_assert (val == 42);
test/core/peer-client.c: g_assert (proxy);
test/core/manual/invalid-usage.c: g_assert (f->conn != NULL);
test/core/manual/invalid-usage.c: g_assert (f->proxy != NULL);
test/core/manual/invalid-usage.c: g_assert (MY_IS_OBJECT (f->object));
test/core/manual/invalid-usage.c: g_assert (f->proxy_for_self != NULL);
test/core/manual/invalid-usage.c: g_assert (error != NULL);
test/specialized-types.c: g_assert (dbus_g_type_is_collection (type));
test/specialized-types.c: g_assert (dbus_g_type_get_collection_specialization (type) == G_TYPE_UINT);
test/specialized-types.c: g_assert (instance->len == 0);
test/specialized-types.c: g_assert (G_VALUE_HOLDS_STRING (key));
test/specialized-types.c: g_assert (G_VALUE_HOLDS_STRING (val));
test/specialized-types.c: g_assert (!strcmp (g_value_get_string (val), "bar"));
test/specialized-types.c: g_assert (!strcmp (g_value_get_string (val), "moo"));
test/specialized-types.c: g_assert (G_VALUE_HOLDS_STRING (key));
test/specialized-types.c: g_assert (G_VALUE_TYPE (val) == G_TYPE_VALUE);
test/specialized-types.c: g_assert (G_VALUE_HOLDS_UINT (realval));
test/specialized-types.c: g_assert (g_value_get_uint (realval) == 20);
test/specialized-types.c: g_assert (G_VALUE_HOLDS_STRING (realval));
test/specialized-types.c: g_assert (!strcmp ("bar", g_value_get_string (realval)));
test/specialized-types.c: g_assert (dbus_g_type_is_map (type));
test/specialized-types.c: g_assert (dbus_g_type_get_map_key_specialization (type) == G_TYPE_STRING);
test/specialized-types.c: g_assert (dbus_g_type_get_map_value_specialization (type) == G_TYPE_STRING);
test/specialized-types.c: g_assert (g_hash_table_size (instance) == 0);
test/specialized-types.c: g_assert (g_hash_table_size (instance) == 2);
test/specialized-types.c: g_assert (hashdata.seen_foo);
test/specialized-types.c: g_assert (hashdata.seen_baz);
test/specialized-types.c: g_assert (dbus_g_type_is_map (type));
test/specialized-types.c: g_assert (dbus_g_type_get_map_key_specialization (type) == G_TYPE_STRING);
test/specialized-types.c: g_assert (dbus_g_type_get_map_value_specialization (type) == G_TYPE_VALUE);
test/specialized-types.c: g_assert (hashdata.seen_foo);
test/specialized-types.c: g_assert (hashdata.seen_baz);
test/specialized-types.c: g_assert (dbus_g_type_is_collection (type));
test/specialized-types.c: g_assert (dbus_g_type_get_collection_specialization (type) == G_TYPE_OBJECT);
test/specialized-types.c: g_assert (instance == NULL);
test/specialized-types.c: g_assert (obj != NULL);
test/specialized-types.c: g_assert (g_slist_length (instance) == 3);
test/specialized-types.c: g_assert (G_IS_OBJECT (obj));
test/specialized-types.c: g_assert (obj->ref_count == 1);
test/specialized-types.c: g_assert (g_slist_length (copy) == 3);
test/specialized-types.c: g_assert (G_IS_OBJECT (obj));
test/specialized-types.c: g_assert (obj->ref_count == 2);
test/specialized-types.c: g_assert (objects[i] != NULL);
test/specialized-types.c: g_assert (G_IS_OBJECT (obj));
test/specialized-types.c: g_assert (obj->ref_count == 1);
test/specialized-types.c: g_assert (objects[i] == NULL);
test/specialized-types.c: g_assert (dbus_g_type_is_collection (type));
test/specialized-types.c: g_assert (dbus_g_type_get_collection_specialization (type) == G_TYPE_STRING);
test/specialized-types.c: g_assert (instance->len == 0);
test/specialized-types.c: g_assert (instance->len == 3);
test/specialized-types.c: g_assert (!strcmp ("foo", g_ptr_array_index (instance, 0)));
test/specialized-types.c: g_assert (!strcmp ("bar", g_ptr_array_index (instance, 1)));
test/specialized-types.c: g_assert (!strcmp ("baz", g_ptr_array_index (instance, 2)));
test/specialized-types.c: g_assert (dbus_g_type_is_struct (type));
test/specialized-types.c: g_assert (dbus_g_type_get_struct_size (type) == 3);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 0) == G_TYPE_STRING);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 1) == G_TYPE_UINT);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 2) == DBUS_TYPE_G_OBJECT_PATH);
test/specialized-types.c: g_assert (instance->n_values == 3);
test/specialized-types.c: g_assert (instance->n_values == 3);
test/specialized-types.c: g_assert (0 == strcmp (g_value_get_string (&memval), "foo"));
test/specialized-types.c: g_assert (g_value_get_uint (&memval) == 42);
test/specialized-types.c: g_assert (0 == strcmp ((gchar*) g_value_get_boxed (&memval),
test/specialized-types.c: g_assert (dbus_g_type_is_struct (type));
test/specialized-types.c: g_assert (dbus_g_type_get_struct_size (type) == 3);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 0) == G_TYPE_STRING);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 1) == G_TYPE_UINT);
test/specialized-types.c: g_assert (dbus_g_type_get_struct_member_type (type, 2) == DBUS_TYPE_G_OBJECT_PATH);
test/specialized-types.c: g_assert (instance->n_values == 3);
test/specialized-types.c: g_assert (instance->n_values == 3);
test/specialized-types.c: g_assert (0 == strcmp (string, "foo"));
test/specialized-types.c: g_assert (intval == 42);
test/specialized-types.c: g_assert (0 == strcmp (path, "/bar/moo/foo/baz"));
test/errors.c: g_assert (gerror != NULL);