summaryrefslogtreecommitdiffstats
path: root/tests/check/elements/souphttpsrc.c
Commit message (Collapse)AuthorAgeFilesLines
* check: Fix a couple of tests.Jan Schmidt2009-09-121-0/+1
| | | | | | | The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for soup_ssl_supported. Fix the y4menc test to use a 'progressive' header for the test data now that the element outputs correct interlacing info.
* checks: only run HTTPS test if libsoup has SSL supportMarvin Schmidt2009-09-081-1/+2
|
* checks: move files required by unit tests into tests/files and make sure ↵Tim-Philipp Müller2009-05-151-2/+2
| | | | | | | | | | they're disted Move unit test data into the directory where it belongs and make in particular the flacdec unit test cd into the directory with the test files instead of making assumptions about the current working directory in that unit test. As a side effect of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now, which is likely to work better than having two. Hopefully fixes #582753.
* check: Check whether threads are already initialised before g_thread_init()Jan Schmidt2009-04-181-1/+2
|
* tests/check/elements/souphttpsrc.c: The ports in libsoup are unsigned ↵Sebastian Dröge2008-12-091-27/+22
| | | | | | | | | | integers and not signed integers. Original commit message from CVS: * tests/check/elements/souphttpsrc.c: (GST_START_TEST), (run_server): The ports in libsoup are unsigned integers and not signed integers.
* Add support for basic and digest authentication in souphttpsrc.Ron McOuat2008-11-271-0/+143
| | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Ron McOuat <rmcouat at smartt dot com> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init), (gst_soup_http_src_init), (gst_soup_http_src_dispose), (gst_soup_http_src_set_property), (gst_soup_http_src_get_property), (gst_soup_http_src_authenticate_cb), (gst_soup_http_src_start): * ext/soup/gstsouphttpsrc.h: * tests/check/elements/souphttpsrc.c: (basic_auth_cb), (digest_auth_cb), (run_test), (GST_START_TEST), (souphttpsrc_suite), (run_server): Add support for basic and digest authentication in souphttpsrc. Fixes bug #561775.
* tests/check/elements/: Don't use declarations after statements.Sebastian Dröge2008-07-141-3/+24
| | | | | | | | | Original commit message from CVS: * tests/check/elements/cmmldec.c: (GST_START_TEST): * tests/check/elements/rtp-payloading.c: (rtp_pipeline_create), (rtp_pipeline_run): * tests/check/elements/souphttpsrc.c: (souphttpsrc_suite): Don't use declarations after statements.
* tests/check/Makefile.am: Disable some more elements in the state test.Jan Schmidt2008-04-171-1/+2
| | | | | | | | | | | Original commit message from CVS: * tests/check/Makefile.am: Disable some more elements in the state test. Add a define so the soup test can find the test files it needs at runtime. * tests/check/elements/souphttpsrc.c: (run_server): Add a define so the soup test can find the test files it needs at runtime.
* tests/check/elements/souphttpsrc.c: Increase the timeout for the internet ↵Sebastian Dröge2008-04-101-2/+7
| | | | | | | | | | | | | tests to 250 seconds and check for NULL cap... Original commit message from CVS: * tests/check/elements/souphttpsrc.c: (got_buffer), (souphttpsrc_suite): Increase the timeout for the internet tests to 250 seconds and check for NULL caps instead of just crashing. The real fix would be to implement an shoutcast server for the unit test instead of relying on a working internet connection. Fixes bug #521749.
* ext/soup/gstsouphttpsrc.c: Don't autoplug souphttpsrc for dav/davs. This is ↵Sebastian Dröge2008-03-221-1/+23
| | | | | | | | | | | | | | | | | | | | better handled by Original commit message from CVS: * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_got_headers_cb), (gst_soup_http_src_chunk_allocator), (gst_soup_http_src_got_chunk_cb), (gst_soup_http_src_uri_get_protocols): Don't autoplug souphttpsrc for dav/davs. This is better handled by GIO and GnomeVFS as they provide authentication. Don't leak the icy caps if we already set them and get a new icy-metaint header. Try harder to set the icy caps on the output buffer to have correct caps for the first buffer already. * tests/check/elements/souphttpsrc.c: (got_buffer), (GST_START_TEST): Check that we get a buffer with application/x-icy caps if iradio-mode is enabled and we have an icecast URL.
* Add support for specifying a list of cookies to be passed in the HTTP ↵Wouter Cloetens2008-02-261-0/+17
| | | | | | | | | | | | | | | | request. Fixes bug #518722. Original commit message from CVS: Patch by: Wouter Cloetens <wouter at mind dot be> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init), (gst_soup_http_src_init), (gst_soup_http_src_dispose), (gst_soup_http_src_set_property), (gst_soup_http_src_get_property), (gst_soup_http_src_create): * ext/soup/gstsouphttpsrc.h: * tests/check/elements/souphttpsrc.c: (run_test), (GST_START_TEST), (souphttpsrc_suite): Add support for specifying a list of cookies to be passed in the HTTP request. Fixes bug #518722.
* tests/check/elements/souphttpsrc.c: Include glib/gprintf.h for ↵Sebastian Dröge2008-02-121-0/+1
| | | | | | | | g_vasprintf(). Fixes bug #515564. Original commit message from CVS: * tests/check/elements/souphttpsrc.c: Include glib/gprintf.h for g_vasprintf(). Fixes bug #515564.
* docs/plugins/: Add souphttpsrc to the docs.Wouter Cloetens2008-01-301-0/+408
Original commit message from CVS: Patch by: Wouter Cloetens <wouter at mind dot be> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: Add souphttpsrc to the docs. * configure.ac: * ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init), (gst_souphttp_src_init), (gst_souphttp_src_dispose), (gst_souphttp_src_set_property), (gst_souphttp_src_get_property), (gst_souphttp_src_cancel_message), (gst_souphttp_src_queue_message), (gst_souphttp_src_add_range_header), (gst_souphttp_src_session_unpause_message), (gst_souphttp_src_session_pause_message), (gst_souphttp_src_session_close), (gst_souphttp_src_got_headers_cb), (gst_souphttp_src_got_body_cb), (gst_souphttp_src_finished_cb), (gst_souphttp_src_got_chunk_cb), (gst_souphttp_src_response_cb), (gst_souphttp_src_parse_status), (gst_souphttp_src_create), (gst_souphttp_src_start), (gst_souphttp_src_stop), (gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop), (gst_souphttp_src_get_size), (gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek), (gst_souphttp_src_set_location), (gst_souphttp_src_set_proxy), (plugin_init): * ext/soup/gstsouphttpsrc.h: Add support for libsoup2.4 and require it. Also implement redirection and manual proxy specification. Fixes bug #510708. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/souphttpsrc.c: Add unit test for souphttpsrc.