mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
tests: check location isn't truncated
Test covering the recent commit where location='".abc' won't get truncated to '.ab' anymore https://bugzilla.gnome.org/show_bug.cgi?id=688625
This commit is contained in:
parent
555e0211c8
commit
ae0b2ec46b
1 changed files with 5 additions and 0 deletions
|
@ -362,6 +362,11 @@ GST_START_TEST (test_uri_interface)
|
|||
fail_unless_equals_string (location, "file:///foo/b%3Fr");
|
||||
g_free (location);
|
||||
|
||||
g_object_set (G_OBJECT (filesink), "location", "\".donotexist", NULL);
|
||||
g_object_get (G_OBJECT (filesink), "location", &location, NULL);
|
||||
fail_unless_equals_string (location, "\".donotexist");
|
||||
g_free (location);
|
||||
|
||||
/* should fail with other hostnames */
|
||||
fail_if (gst_uri_handler_set_uri (GST_URI_HANDLER (filesink),
|
||||
"file://hostname/foo/foo", NULL));
|
||||
|
|
Loading…
Reference in a new issue