From efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Aug 2012 02:26:42 -0400 Subject: [PATCH] Improve test coverage for GSocketConnection --- gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gio/tests/proxy-test.c b/gio/tests/proxy-test.c index 24c27e026..ff65e2a35 100644 --- a/gio/tests/proxy-test.c +++ b/gio/tests/proxy-test.c @@ -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