mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Rename function for consistency
This commit is contained in:
parent
814434bfb5
commit
92ffc9ac50
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
static void _test_cfgfile_rw(const char *cfgfile);
|
static void _test_cfgfile_rw(const char *cfgfile);
|
||||||
|
|
||||||
Suite * cfg_xmlfile_suite(void);
|
Suite * cfgfile_xml_suite(void);
|
||||||
void setup_checked(void);
|
void setup_checked(void);
|
||||||
void teardown_checked(void);
|
void teardown_checked(void);
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ START_TEST(test_reload)
|
|||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
Suite *
|
Suite *
|
||||||
cfg_xmlfile_suite(void)
|
cfgfile_xml_suite(void)
|
||||||
{
|
{
|
||||||
Suite *s;
|
Suite *s;
|
||||||
TCase *tc_xmlcfg;
|
TCase *tc_xmlcfg;
|
||||||
@ -99,7 +99,7 @@ void
|
|||||||
setup_checked(void)
|
setup_checked(void)
|
||||||
{
|
{
|
||||||
if (0 < cfg_init() ||
|
if (0 < cfg_init() ||
|
||||||
0 < cfg_set_program_name("check_cfg_xmlfile", NULL) ||
|
0 < cfg_set_program_name("check_cfgfile_xml", NULL) ||
|
||||||
0 < log_init(cfg_get_program_name()))
|
0 < log_init(cfg_get_program_name()))
|
||||||
ck_abort_msg("setup_checked failed");
|
ck_abort_msg("setup_checked failed");
|
||||||
}
|
}
|
||||||
@ -118,7 +118,7 @@ main(void)
|
|||||||
Suite *s;
|
Suite *s;
|
||||||
SRunner *sr;
|
SRunner *sr;
|
||||||
|
|
||||||
s = cfg_xmlfile_suite();
|
s = cfgfile_xml_suite();
|
||||||
sr = srunner_create(s);
|
sr = srunner_create(s);
|
||||||
|
|
||||||
srunner_run_all(sr, CK_NORMAL);
|
srunner_run_all(sr, CK_NORMAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user