summaryrefslogtreecommitdiff
path: root/tests/test-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-07-25 08:54:11 -0400
committerDan Winship <danw@gnome.org>2012-07-25 08:54:11 -0400
commit6cddb7cdd31fbee94ec424993e99e0b7f7bdb90b (patch)
tree51a2b11aed811ce0e984316c3315c2fbd04df05d /tests/test-utils.h
parent1abd8ecf4211afe67b6bb3ce33061e3ae51bfe97 (diff)
downloadlibsoup-6cddb7cdd31fbee94ec424993e99e0b7f7bdb90b.tar.gz
test-utils: simplify the SoupRequest test utils a bit
Diffstat (limited to 'tests/test-utils.h')
-rw-r--r--tests/test-utils.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/test-utils.h b/tests/test-utils.h
index 9e969038..5c244f34 100644
--- a/tests/test-utils.h
+++ b/tests/test-utils.h
@@ -32,9 +32,10 @@ SoupServer *soup_test_server_new (gboolean in_own_thread);
SoupServer *soup_test_server_new_ssl (gboolean in_own_thread);
void soup_test_server_quit_unref (SoupServer *server);
-GInputStream *soup_test_request_send_async_as_sync (SoupRequest *req,
- GCancellable *cancellable,
- GError **error);
-gboolean soup_test_stream_close_async_as_sync (GInputStream *stream,
- GCancellable *cancellable,
- GError **error);
+GInputStream *soup_test_request_send (SoupRequest *req,
+ GCancellable *cancellable,
+ GError **error);
+gboolean soup_test_request_close_stream (SoupRequest *req,
+ GInputStream *stream,
+ GCancellable *cancellable,
+ GError **error);