mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
tests: Improve test coverage of D-Bus tcp transport addresses
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
f9fb7e8765
commit
631beb0404
@ -149,6 +149,7 @@ test_tcp_address (void)
|
||||
assert_not_supported_address ("tcp:host=localhost,port=-1");
|
||||
assert_not_supported_address ("tcp:host=localhost,port=420000");
|
||||
assert_not_supported_address ("tcp:host=localhost,port=42x");
|
||||
assert_not_supported_address ("tcp:host=localhost,port=");
|
||||
assert_is_supported_address ("tcp:host=localhost,port=42,family=ipv4");
|
||||
assert_is_supported_address ("tcp:host=localhost,port=42,family=ipv6");
|
||||
assert_not_supported_address ("tcp:host=localhost,port=42,family=sopranos");
|
||||
|
Loading…
Reference in New Issue
Block a user