diff --git a/gio/tests/gdbus-introspection.c b/gio/tests/gdbus-introspection.c index 3846efe9a..79daacb18 100644 --- a/gio/tests/gdbus-introspection.c +++ b/gio/tests/gdbus-introspection.c @@ -259,10 +259,6 @@ test_default_direction (void) g_dbus_node_info_unref (info); } -#if 0 -/* XXX: need to figure out how generous we want to be here */ -/* test that extraneous attributes are ignored - */ static void test_extra_data (void) { @@ -270,11 +266,18 @@ test_extra_data (void) const gchar *data = " " " " - " " - " " - " " - " " - " " + " Blah blah" + " " + " " + " " + " See example" + " " + " " + " " + " " + " More docs" + " " + " " " " " " " " @@ -293,7 +296,6 @@ test_extra_data (void) g_dbus_node_info_unref (info); } -#endif /* ---------------------------------------------------------------------------------------------------- */ @@ -313,10 +315,7 @@ main (int argc, g_test_add_func ("/gdbus/introspection-parser", test_introspection_parser); g_test_add_func ("/gdbus/introspection-generate", test_generate); g_test_add_func ("/gdbus/introspection-default-direction", test_default_direction); -#if 0 - /* XXX: need to figure out how generous we want to be here */ g_test_add_func ("/gdbus/introspection-extra-data", test_extra_data); -#endif ret = g_test_run ();