mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 15:26:37 +02:00
tests: split hook tests into multiple files (issue #865)
This commit is contained in:
@@ -31,172 +31,230 @@ TEST_GROUP(CoreHook)
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_command_run
|
||||
* hook_init
|
||||
*/
|
||||
|
||||
TEST(CoreHook, CommandRun)
|
||||
TEST(CoreHook, Init)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_command
|
||||
* hook_search_type
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Command)
|
||||
TEST(CoreHook, SearchType)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_completion
|
||||
* hook_find_pos
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Completion)
|
||||
TEST(CoreHook, FindPos)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_config
|
||||
* hook_add_to_list
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Config)
|
||||
TEST(CoreHook, AddToList)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_connect
|
||||
* hook_remove_from_list
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Connect)
|
||||
TEST(CoreHook, RemoveFromList)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_fd
|
||||
* hook_remove_deleted
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Fd)
|
||||
TEST(CoreHook, RemoveDeleted)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_focus
|
||||
* hook_init_data
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Focus)
|
||||
TEST(CoreHook, InitData)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_hdata
|
||||
* hook_valid
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Hdata)
|
||||
TEST(CoreHook, Valid)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_hsignal
|
||||
* hook_exec_start
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Hsignal)
|
||||
TEST(CoreHook, ExecStart)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_info_hashtable
|
||||
* hook_exec_end
|
||||
*/
|
||||
|
||||
TEST(CoreHook, InfoHashtable)
|
||||
TEST(CoreHook, ExecEnd)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_info
|
||||
* hook_callback_start
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Info)
|
||||
TEST(CoreHook, CallbackStart)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_infolist
|
||||
* hook_callback_end
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Infolist)
|
||||
TEST(CoreHook, CallbackEnd)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_line
|
||||
* hook_get_description
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Line)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_print
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Print)
|
||||
TEST(CoreHook, GetDescription)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_process
|
||||
* hook_process_hashtable
|
||||
* hook_set
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Process)
|
||||
TEST(CoreHook, Set)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_signal
|
||||
* hook_timer_clean_process_cb
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Signal)
|
||||
TEST(CoreHook, TimerCleanProcessCb)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_timer
|
||||
* hook_schedule_clean_process
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Timer)
|
||||
TEST(CoreHook, ScheduleCleanProcess)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* unhook
|
||||
*/
|
||||
|
||||
TEST(CoreHook, Unhook)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* unhook_all_plugin
|
||||
*/
|
||||
|
||||
TEST(CoreHook, UnhookAllPlugin)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* unhook_all
|
||||
*/
|
||||
|
||||
TEST(CoreHook, UnhookAll)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_add_to_infolist_pointer
|
||||
*/
|
||||
|
||||
TEST(CoreHook, AddToInfolistPointer)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_add_to_infolist_type
|
||||
*/
|
||||
|
||||
TEST(CoreHook, AddToInfolistType)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_add_to_infolist
|
||||
*/
|
||||
|
||||
TEST(CoreHook, AddToInfolist)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* hook_print_log
|
||||
*/
|
||||
|
||||
TEST(CoreHook, PrintLog)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user