mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 13:45:52 +00:00
tests: fix indentation
This commit is contained in:
parent
c1494a558c
commit
2adecc18e6
|
@ -63,8 +63,7 @@ GST_START_TEST (test_properties)
|
|||
"epsv-mode", &res_epsv_mode,
|
||||
"create-dirs", &res_create_dirs,
|
||||
"create-tmp-file", &res_create_tmpfile,
|
||||
"temp-file-name", &res_tmp_file_name,
|
||||
NULL);
|
||||
"temp-file-name", &res_tmp_file_name, NULL);
|
||||
|
||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||
== 0);
|
||||
|
@ -72,7 +71,8 @@ GST_START_TEST (test_properties)
|
|||
== 0);
|
||||
fail_unless (strncmp (res_ftp_port, "1.2.3.4:0", strlen ("1.2.3.4:0"))
|
||||
== 0);
|
||||
fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_", strlen ("test_tmp_file_"))
|
||||
fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_",
|
||||
strlen ("test_tmp_file_"))
|
||||
== 0);
|
||||
fail_unless (res_epsv_mode == FALSE);
|
||||
fail_unless (res_create_dirs == FALSE);
|
||||
|
@ -99,8 +99,7 @@ GST_START_TEST (test_properties)
|
|||
"epsv-mode", &res_epsv_mode,
|
||||
"create-dirs", &res_create_dirs,
|
||||
"create-tmp-file", &res_create_tmpfile,
|
||||
"temp-file-name", &res_tmp_file_name,
|
||||
NULL);
|
||||
"temp-file-name", &res_tmp_file_name, NULL);
|
||||
|
||||
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
||||
== 0);
|
||||
|
@ -108,7 +107,8 @@ GST_START_TEST (test_properties)
|
|||
== 0);
|
||||
fail_unless (strncmp (res_ftp_port, "", strlen (""))
|
||||
== 0);
|
||||
fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_", strlen ("test_tmp_file_"))
|
||||
fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_",
|
||||
strlen ("test_tmp_file_"))
|
||||
== 0);
|
||||
fail_unless (res_epsv_mode == TRUE);
|
||||
fail_unless (res_create_dirs == TRUE);
|
||||
|
@ -122,6 +122,7 @@ GST_START_TEST (test_properties)
|
|||
|
||||
cleanup_curlftpsink (sink);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
||||
static Suite *
|
||||
|
|
|
@ -54,16 +54,14 @@ GST_START_TEST (test_properties)
|
|||
|
||||
g_object_set (G_OBJECT (sink),
|
||||
"location", "mylocation",
|
||||
"file-name","myfile",
|
||||
"file-name", "myfile",
|
||||
"user", "user",
|
||||
"passwd", "passwd",
|
||||
"proxy", "myproxy",
|
||||
"proxy-port", 7777,
|
||||
"proxy-user", "proxy_user",
|
||||
"proxy-passwd", "proxy_passwd",
|
||||
"content-type", "image/jpeg",
|
||||
"use-content-length", TRUE,
|
||||
NULL);
|
||||
"content-type", "image/jpeg", "use-content-length", TRUE, NULL);
|
||||
|
||||
g_object_get (sink,
|
||||
"location", &res_location,
|
||||
|
@ -75,8 +73,7 @@ GST_START_TEST (test_properties)
|
|||
"proxy-user", &res_proxy_user,
|
||||
"proxy-passwd", &res_proxy_passwd,
|
||||
"content-type", &res_content_type,
|
||||
"use-content-length", &res_use_content_length,
|
||||
NULL);
|
||||
"use-content-length", &res_use_content_length, NULL);
|
||||
|
||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||
== 0);
|
||||
|
@ -118,6 +115,7 @@ GST_START_TEST (test_properties)
|
|||
|
||||
cleanup_curlhttpsink (sink);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
||||
static Suite *
|
||||
|
|
|
@ -80,9 +80,7 @@ GST_START_TEST (test_properties)
|
|||
"nbr-attachments", &res_nbr_attach,
|
||||
"use-ssl", &res_use_ssl,
|
||||
"pop-location", &res_pop_location,
|
||||
"pop_user", &res_pop_usr,
|
||||
"pop-passwd", &res_pop_passwd,
|
||||
NULL);
|
||||
"pop_user", &res_pop_usr, "pop-passwd", &res_pop_passwd, NULL);
|
||||
|
||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||
== 0);
|
||||
|
@ -147,9 +145,7 @@ GST_START_TEST (test_properties)
|
|||
"subject", &res_subj,
|
||||
"use-ssl", &res_use_ssl,
|
||||
"message-body", &res_msg,
|
||||
"mail-from", &res_mail_from,
|
||||
"mail-rcpt", &res_mail_rcpt,
|
||||
NULL);
|
||||
"mail-from", &res_mail_from, "mail-rcpt", &res_mail_rcpt, NULL);
|
||||
|
||||
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
||||
== 0);
|
||||
|
@ -190,6 +186,7 @@ GST_START_TEST (test_properties)
|
|||
|
||||
cleanup_curlsmtpsink (sink);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
||||
static Suite *
|
||||
|
|
|
@ -51,7 +51,7 @@ static GstElement *
|
|||
setup_element (const gchar * desc)
|
||||
{
|
||||
GstElement *element;
|
||||
GstCaps * caps;
|
||||
GstCaps *caps;
|
||||
|
||||
(void) desc;
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ check_and_clear_events (gint expected, gboolean compare)
|
|||
}
|
||||
}
|
||||
|
||||
g_list_free_full (myreceivedevents, (GDestroyNotify)gst_event_unref);
|
||||
g_list_free_full (myreceivedevents, (GDestroyNotify) gst_event_unref);
|
||||
myreceivedevents = NULL;
|
||||
g_list_free (mypushedevents);
|
||||
mypushedevents = NULL;
|
||||
|
|
Loading…
Reference in a new issue