mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
tests: Improve test coverage of D-Bus unix transport addresses
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
e0561cfdc5
commit
88d03facb9
@ -98,6 +98,11 @@ test_unix_address (void)
|
|||||||
assert_not_supported_address ("unix:foo=bar");
|
assert_not_supported_address ("unix:foo=bar");
|
||||||
g_assert_false (g_dbus_is_address ("unix:path=/foo;abstract=/bar"));
|
g_assert_false (g_dbus_is_address ("unix:path=/foo;abstract=/bar"));
|
||||||
assert_is_supported_address ("unix:path=/tmp/concrete;unix:abstract=/tmp/abstract");
|
assert_is_supported_address ("unix:path=/tmp/concrete;unix:abstract=/tmp/abstract");
|
||||||
|
assert_is_supported_address ("unix:tmpdir=/tmp");
|
||||||
|
assert_not_supported_address ("unix:tmpdir=/tmp,path=/tmp");
|
||||||
|
assert_not_supported_address ("unix:tmpdir=/tmp,abstract=/tmp/foo");
|
||||||
|
assert_not_supported_address ("unix:path=/tmp,abstract=/tmp/foo");
|
||||||
|
assert_not_supported_address ("unix:");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user