mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Improve test coverage for GSocketConnection
This commit is contained in:
parent
cc5d7ccdba
commit
efd822bb07
@ -826,6 +826,11 @@ assert_direct (GSocketConnection *conn)
|
||||
addr = g_socket_connection_get_remote_address (conn, &error);
|
||||
g_assert_no_error (error);
|
||||
g_assert (!G_IS_PROXY_ADDRESS (addr));
|
||||
|
||||
addr = g_socket_connection_get_local_address (conn, &error);
|
||||
g_assert_no_error (error);
|
||||
|
||||
g_assert (g_socket_connection_is_connected (conn));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user