Lines Matching refs:uri
251 do_async_test (SoupSession *session, SoupURI *uri, in do_async_test() argument
271 request = soup_requester_request_uri (requester, uri, NULL); in do_async_test()
273 request = soup_session_request_uri (session, uri, NULL); in do_async_test()
325 SoupURI *uri; in do_test_for_thread_and_context() local
340 uri = soup_uri_new_with_base (base_uri, "/chunked"); in do_test_for_thread_and_context()
341 do_async_test (session, uri, test_sent, in do_test_for_thread_and_context()
344 soup_uri_free (uri); in do_test_for_thread_and_context()
347 uri = soup_uri_new_with_base (base_uri, "/auth"); in do_test_for_thread_and_context()
348 do_async_test (session, uri, auth_test_sent, in do_test_for_thread_and_context()
351 soup_uri_free (uri); in do_test_for_thread_and_context()
354 uri = soup_uri_new_with_base (base_uri, "/non-persistent"); in do_test_for_thread_and_context()
355 do_async_test (session, uri, test_sent, in do_test_for_thread_and_context()
358 soup_uri_free (uri); in do_test_for_thread_and_context()
361 uri = soup_uri_new_with_base (base_uri, "/"); in do_test_for_thread_and_context()
362 do_async_test (session, uri, test_sent, in do_test_for_thread_and_context()
365 soup_uri_free (uri); in do_test_for_thread_and_context()
368 uri = soup_uri_new_with_base (base_uri, "/"); in do_test_for_thread_and_context()
369 do_async_test (session, uri, test_sent, in do_test_for_thread_and_context()
372 soup_uri_free (uri); in do_test_for_thread_and_context()
378 SoupURI *uri = (SoupURI *)data; in do_simple_plain_test() local
384 do_test_for_thread_and_context (session, uri); in do_simple_plain_test()
391 SoupURI *uri = (SoupURI *)data; in do_simple_async_test() local
399 do_test_for_thread_and_context (session, uri); in do_simple_async_test()
404 do_test_with_context_and_type (SoupURI *uri, gboolean plain_session) in do_test_with_context_and_type() argument
419 do_test_for_thread_and_context (session, uri); in do_test_with_context_and_type()
429 SoupURI *uri = (SoupURI *)data; in do_async_test_with_context() local
431 do_test_with_context_and_type (uri, FALSE); in do_async_test_with_context()
437 SoupURI *uri = (SoupURI *)data; in do_plain_test_with_context() local
439 do_test_with_context_and_type (uri, TRUE); in do_plain_test_with_context()
443 async_test_thread (gpointer uri) in async_test_thread() argument
445 do_test_with_context_and_type (uri, TRUE); in async_test_thread()
450 plain_test_thread (gpointer uri) in plain_test_thread() argument
452 do_test_with_context_and_type (uri, FALSE); in plain_test_thread()
459 SoupURI *uri = (SoupURI *)data; in do_async_test_in_thread() local
464 (gpointer)uri); in do_async_test_in_thread()
471 SoupURI *uri = (SoupURI *)data; in do_plain_test_in_thread() local
476 (gpointer)uri); in do_plain_test_in_thread()
560 SoupURI *uri; in do_sync_tests_for_session() local
564 uri = soup_uri_copy (base_uri); in do_sync_tests_for_session()
568 request = soup_requester_request_uri (requester, uri, NULL); in do_sync_tests_for_session()
570 request = soup_session_request_uri (session, uri, NULL); in do_sync_tests_for_session()
577 soup_uri_set_path (uri, "/chunked"); in do_sync_tests_for_session()
579 request = soup_requester_request_uri (requester, uri, NULL); in do_sync_tests_for_session()
581 request = soup_session_request_uri (session, uri, NULL); in do_sync_tests_for_session()
588 soup_uri_set_path (uri, "/auth"); in do_sync_tests_for_session()
590 request = soup_requester_request_uri (requester, uri, NULL); in do_sync_tests_for_session()
592 request = soup_session_request_uri (session, uri, NULL); in do_sync_tests_for_session()
599 soup_uri_set_path (uri, "/non-persistent"); in do_sync_tests_for_session()
601 request = soup_requester_request_uri (requester, uri, NULL); in do_sync_tests_for_session()
603 request = soup_session_request_uri (session, uri, NULL); in do_sync_tests_for_session()
610 soup_uri_set_path (uri, "/"); in do_sync_tests_for_session()
612 request = soup_requester_request_uri (requester, uri, NULL); in do_sync_tests_for_session()
614 request = soup_session_request_uri (session, uri, NULL); in do_sync_tests_for_session()
620 soup_uri_free (uri); in do_sync_tests_for_session()
626 SoupURI *uri = (SoupURI *)data; in do_plain_sync_test() local
630 do_sync_tests_for_session (session, uri); in do_plain_sync_test()
637 SoupURI *uri = (SoupURI *)data; in do_sync_sync_test() local
645 do_sync_tests_for_session (session, uri); in do_sync_sync_test()
656 SoupURI *uri; in do_null_char_request() local
661 uri = soup_uri_new (uri_string); in do_null_char_request()
664 request = soup_session_request_uri (session, uri, NULL); in do_null_char_request()
670 soup_uri_free (uri); in do_null_char_request()
686 soup_uri_free (uri); in do_null_char_request()
743 SoupURI *uri) in do_close_test_for_session() argument
755 request = soup_session_request_uri (session, uri, NULL); in do_close_test_for_session()
778 request = soup_session_request_uri (session, uri, NULL); in do_close_test_for_session()
808 SoupURI *uri = (SoupURI *)data; in do_async_close_test() local
815 slow_uri = soup_uri_new_with_base ((SoupURI *)uri, "/slow"); in do_async_close_test()
829 SoupURI *uri = (SoupURI *)data; in do_sync_close_test() local
836 slow_uri = soup_uri_new_with_base ((SoupURI *)uri, "/slow"); in do_sync_close_test()
850 SoupURI *uri; in main() local
863 uri = soup_test_server_get_uri (server, "http", NULL); in main()
864 soup_uri_set_path (uri, "/foo"); in main()
866 g_test_add_data_func ("/requester/simple/SoupSession", uri, do_simple_plain_test); in main()
867 g_test_add_data_func ("/requester/simple/SoupSessionAsync", uri, do_simple_async_test); in main()
868 g_test_add_data_func ("/requester/threaded/SoupSession", uri, do_plain_test_in_thread); in main()
869 g_test_add_data_func ("/requester/threaded/SoupSessionAsync", uri, do_async_test_in_thread); in main()
870 g_test_add_data_func ("/requester/context/SoupSession", uri, do_plain_test_with_context); in main()
871 g_test_add_data_func ("/requester/context/SoupSessionAsync", uri, do_async_test_with_context); in main()
872 g_test_add_data_func ("/requester/sync/SoupSession", uri, do_plain_sync_test); in main()
873 g_test_add_data_func ("/requester/sync/SoupSessionSync", uri, do_sync_sync_test); in main()
876 g_test_add_data_func ("/requester/close/SoupSessionAsync", uri, do_async_close_test); in main()
877 g_test_add_data_func ("/requester/close/SoupSessionSync", uri, do_sync_close_test); in main()
881 soup_uri_free (uri); in main()