Philip Withnall
31b0ba18c1
gdbusmessage: Fix check on upper limit of message size
...
There was a typo in the figure checked against. Add a unit test.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
https://gitlab.gnome.org/GNOME/glib/issues/1642
2019-01-28 14:37:22 +00:00
Philip Withnall
d289ef449b
tests: Port various tests to use g_assert_cmpvariant()
...
This should improve test error reporting a little.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
2018-12-14 15:04:11 +00:00
Sébastien Wilmet
d9a44b66af
gio/tests/: LGPLv2+ -> LGPLv2.1+
...
A lot of tests in gio/tests/ don't have a license header.
https://bugzilla.gnome.org/show_bug.cgi?id=776504
2017-05-29 19:53:34 +02:00
Daniel Mustieles
078dbda148
Updated FSF's address
2014-01-31 14:31:55 +01:00
Ryan Lortie
1dc774a653
Remove g_type_init() calls
...
Very many testcases, some GLib tools (resource compiler, etc) and
GApplication were calling g_type_init().
Remove those uses, as they are no longer required.
https://bugzilla.gnome.org/show_bug.cgi?id=686161
2012-10-16 09:39:24 -04:00
Dan Winship
568f737708
gio/tests: port some stuff to g_test_expect_message()
...
https://bugzilla.gnome.org/show_bug.cgi?id=682560
2012-09-03 08:40:14 -04:00
David Zeuthen
7c66068544
GDBusMessage: Don't reset serial number when copying
...
Ryan pointed out that it's safe to do this because we have the
G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL flag and that it simplifies
how filter functions work.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-09-09 15:15:13 -04:00
David Zeuthen
67a00658ea
GDBusMessage: Make it possible to lock and copy messages
...
Don't actually use this yet as that will require a couple of
modifications to the filter function signature. This is part of the
bug-fix for
https://bugzilla.gnome.org/show_bug.cgi?id=624546#c8
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-09-09 12:00:32 -04:00