gdbus-serialization: use check_serialization() instead of dbus-daemon
gdbus-serialization: use check_serialization() instead of dbus-daemon

This test originally did not connect to the bus, which meant it was
omitted from commits like 415a8d81 that made sure none of GLib tests
rely on the presence of an existing session bus. (In particular,
Debian autobuilders don't have a session bus.)

When test_double_array() was added, environments like the Debian
autobuilders didn't catch the fact that this test relied on having a
session bus, because it is often skipped in minimal environments
due to its libdbus-1 dependency.

We don't actually need to connect to a dbus-daemon here: it's enough
to convert the message from GVariant to D-Bus serialization, and
back into an in-memory representation through libdbus. That's what
check_serialization() does, and I've verified that when I re-introduce
bug #732754 by reverting commits 627b49b and 2268628 locally, this
test still fails.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=744895
Signed-off-by: Simon McVittie <2b470b34502dbf3ba4bcc04ea7e64f4e0e104f33@collabora.co.uk>
Reviewed-by: Colin Walters <694ce38231ed622bd1593ce4ec9aa85c9ddb0a78@verbum.org>

Distrotech/glib,krichter722/glib,ieei/glib,MathieuDuponchelle/glib,mzabaluev/glib,tchakabam/glib,cention-sany/glib,johne53/MB3Glib,endlessm/glib,mzabaluev/glib,endlessm/glib,gale320/glib,johne53/MB3Glib,ieei/glib,mzabaluev/glib,tamaskenez/glib,ieei/glib,endlessm/glib,endlessm/glib,ieei/glib,tamaskenez/glib,tamaskenez/glib,tchakabam/glib,mzabaluev/glib,MathieuDuponchelle/glib,ieei/glib,johne53/MB3Glib,krichter722/glib,Distrotech/glib,gale320/glib,gale320/glib,gale320/glib,cention-sany/glib,krichter722/glib,tchakabam/glib,johne53/MB3Glib,tchakabam/glib,johne53/MB3Glib,tamaskenez/glib,tchakabam/glib,endlessm/glib,krichter722/glib,cention-sany/glib,mzabaluev/glib,Distrotech/glib,Distrotech/glib,cention-sany/glib,krichter722/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,johne53/MB3Glib,MathieuDuponchelle/glib,gale320/glib,cention-sany/glib,Distrotech/glib,tamaskenez/glib