diff options
Diffstat (limited to 'gdata/tests/general.c')
-rw-r--r-- | gdata/tests/general.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdata/tests/general.c b/gdata/tests/general.c index 39478713..57f3e8e7 100644 --- a/gdata/tests/general.c +++ b/gdata/tests/general.c @@ -1510,9 +1510,6 @@ static void test_service_network_error (void) { GDataService *service; -#if 0 - SoupURI *proxy_uri; -#endif GError *error = NULL; /* Skip this test unless explicitly asked for, so that we don’t do network accesses on build machines by default. */ @@ -1530,19 +1527,6 @@ test_service_network_error (void) g_assert_error (error, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_NETWORK_ERROR); g_clear_error (&error); - /* TODO: We have to disable this test, as libsoup 2.30.2 < x <= 2.32.0 doesn't return SOUP_STATUS_CANT_RESOLVE_PROXY properly any more. - * Filed as bgo#632354. */ -#if 0 - /* Try one with a bad proxy set */ - proxy_uri = soup_uri_new ("https://thisshouldalsonotexist.invalid/proxy"); - gdata_service_set_proxy_uri (service, proxy_uri); - soup_uri_free (proxy_uri); - - g_assert (gdata_service_query (service, "https://google.com", NULL, GDATA_TYPE_ENTRY, NULL, NULL, NULL, &error) == NULL); - g_assert_error (error, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_PROXY_ERROR); - g_clear_error (&error); -#endif - g_object_unref (service); } |