summaryrefslogtreecommitdiff
path: root/tests/test-utils.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-09-15 16:20:15 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2020-09-30 07:17:18 +0200
commitd1987bd1d2f72da183d0ca0985f40178466e3dfb (patch)
tree0bc7d68f9be4d70f8687d812e6936efe032c308c /tests/test-utils.h
parent22c23f958e9ecd2baceb2091e33b8ae528d4ff3d (diff)
downloadlibsoup-d1987bd1d2f72da183d0ca0985f40178466e3dfb.tar.gz
tests: stop using soup_session_queue_message in tests
Except for a few tests that seem to be testing the old API that we will remove once the old api is gone.
Diffstat (limited to 'tests/test-utils.h')
-rw-r--r--tests/test-utils.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test-utils.h b/tests/test-utils.h
index 058e153a..67392056 100644
--- a/tests/test-utils.h
+++ b/tests/test-utils.h
@@ -51,9 +51,12 @@ typedef enum {
SOUP_TEST_REQUEST_CANCEL_AFTER_SEND_FINISH = (1 << 5),
} SoupTestRequestFlags;
-SoupSession *soup_test_session_new (GType type, ...);
-void soup_test_session_abort_unref (SoupSession *session);
-guint soup_test_session_async_send_message (SoupSession *session, SoupMessage *msg);
+SoupSession *soup_test_session_new (GType type, ...);
+void soup_test_session_abort_unref (SoupSession *session);
+GBytes *soup_test_session_async_send (SoupSession *session,
+ SoupMessage *msg);
+guint soup_test_session_async_send_message (SoupSession *session,
+ SoupMessage *msg);
typedef enum {
SOUP_TEST_SERVER_DEFAULT = 0,