mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
tests: fix indentation
This commit is contained in:
parent
c1494a558c
commit
2adecc18e6
5 changed files with 39 additions and 43 deletions
|
@ -63,8 +63,7 @@ GST_START_TEST (test_properties)
|
||||||
"epsv-mode", &res_epsv_mode,
|
"epsv-mode", &res_epsv_mode,
|
||||||
"create-dirs", &res_create_dirs,
|
"create-dirs", &res_create_dirs,
|
||||||
"create-tmp-file", &res_create_tmpfile,
|
"create-tmp-file", &res_create_tmpfile,
|
||||||
"temp-file-name", &res_tmp_file_name,
|
"temp-file-name", &res_tmp_file_name, NULL);
|
||||||
NULL);
|
|
||||||
|
|
||||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||||
== 0);
|
== 0);
|
||||||
|
@ -72,7 +71,8 @@ GST_START_TEST (test_properties)
|
||||||
== 0);
|
== 0);
|
||||||
fail_unless (strncmp (res_ftp_port, "1.2.3.4:0", strlen ("1.2.3.4:0"))
|
fail_unless (strncmp (res_ftp_port, "1.2.3.4:0", strlen ("1.2.3.4:0"))
|
||||||
== 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);
|
== 0);
|
||||||
fail_unless (res_epsv_mode == FALSE);
|
fail_unless (res_epsv_mode == FALSE);
|
||||||
fail_unless (res_create_dirs == FALSE);
|
fail_unless (res_create_dirs == FALSE);
|
||||||
|
@ -99,8 +99,7 @@ GST_START_TEST (test_properties)
|
||||||
"epsv-mode", &res_epsv_mode,
|
"epsv-mode", &res_epsv_mode,
|
||||||
"create-dirs", &res_create_dirs,
|
"create-dirs", &res_create_dirs,
|
||||||
"create-tmp-file", &res_create_tmpfile,
|
"create-tmp-file", &res_create_tmpfile,
|
||||||
"temp-file-name", &res_tmp_file_name,
|
"temp-file-name", &res_tmp_file_name, NULL);
|
||||||
NULL);
|
|
||||||
|
|
||||||
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
||||||
== 0);
|
== 0);
|
||||||
|
@ -108,7 +107,8 @@ GST_START_TEST (test_properties)
|
||||||
== 0);
|
== 0);
|
||||||
fail_unless (strncmp (res_ftp_port, "", strlen (""))
|
fail_unless (strncmp (res_ftp_port, "", strlen (""))
|
||||||
== 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);
|
== 0);
|
||||||
fail_unless (res_epsv_mode == TRUE);
|
fail_unless (res_epsv_mode == TRUE);
|
||||||
fail_unless (res_create_dirs == TRUE);
|
fail_unless (res_create_dirs == TRUE);
|
||||||
|
@ -122,6 +122,7 @@ GST_START_TEST (test_properties)
|
||||||
|
|
||||||
cleanup_curlftpsink (sink);
|
cleanup_curlftpsink (sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
static Suite *
|
static Suite *
|
||||||
|
|
|
@ -61,9 +61,7 @@ GST_START_TEST (test_properties)
|
||||||
"proxy-port", 7777,
|
"proxy-port", 7777,
|
||||||
"proxy-user", "proxy_user",
|
"proxy-user", "proxy_user",
|
||||||
"proxy-passwd", "proxy_passwd",
|
"proxy-passwd", "proxy_passwd",
|
||||||
"content-type", "image/jpeg",
|
"content-type", "image/jpeg", "use-content-length", TRUE, NULL);
|
||||||
"use-content-length", TRUE,
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
g_object_get (sink,
|
g_object_get (sink,
|
||||||
"location", &res_location,
|
"location", &res_location,
|
||||||
|
@ -75,8 +73,7 @@ GST_START_TEST (test_properties)
|
||||||
"proxy-user", &res_proxy_user,
|
"proxy-user", &res_proxy_user,
|
||||||
"proxy-passwd", &res_proxy_passwd,
|
"proxy-passwd", &res_proxy_passwd,
|
||||||
"content-type", &res_content_type,
|
"content-type", &res_content_type,
|
||||||
"use-content-length", &res_use_content_length,
|
"use-content-length", &res_use_content_length, NULL);
|
||||||
NULL);
|
|
||||||
|
|
||||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||||
== 0);
|
== 0);
|
||||||
|
@ -118,6 +115,7 @@ GST_START_TEST (test_properties)
|
||||||
|
|
||||||
cleanup_curlhttpsink (sink);
|
cleanup_curlhttpsink (sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
static Suite *
|
static Suite *
|
||||||
|
|
|
@ -80,9 +80,7 @@ GST_START_TEST (test_properties)
|
||||||
"nbr-attachments", &res_nbr_attach,
|
"nbr-attachments", &res_nbr_attach,
|
||||||
"use-ssl", &res_use_ssl,
|
"use-ssl", &res_use_ssl,
|
||||||
"pop-location", &res_pop_location,
|
"pop-location", &res_pop_location,
|
||||||
"pop_user", &res_pop_usr,
|
"pop_user", &res_pop_usr, "pop-passwd", &res_pop_passwd, NULL);
|
||||||
"pop-passwd", &res_pop_passwd,
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation"))
|
||||||
== 0);
|
== 0);
|
||||||
|
@ -147,9 +145,7 @@ GST_START_TEST (test_properties)
|
||||||
"subject", &res_subj,
|
"subject", &res_subj,
|
||||||
"use-ssl", &res_use_ssl,
|
"use-ssl", &res_use_ssl,
|
||||||
"message-body", &res_msg,
|
"message-body", &res_msg,
|
||||||
"mail-from", &res_mail_from,
|
"mail-from", &res_mail_from, "mail-rcpt", &res_mail_rcpt, NULL);
|
||||||
"mail-rcpt", &res_mail_rcpt,
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation"))
|
||||||
== 0);
|
== 0);
|
||||||
|
@ -190,6 +186,7 @@ GST_START_TEST (test_properties)
|
||||||
|
|
||||||
cleanup_curlsmtpsink (sink);
|
cleanup_curlsmtpsink (sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
static Suite *
|
static Suite *
|
||||||
|
|
Loading…
Reference in a new issue