mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
203 lines
2.6 KiB
C++
203 lines
2.6 KiB
C++
/*
|
|
* test-core-hook.cpp - test hook functions
|
|
*
|
|
* Copyright (C) 2018-2024 Sébastien Helleu <flashcode@flashtux.org>
|
|
*
|
|
* This file is part of WeeChat, the extensible chat client.
|
|
*
|
|
* WeeChat is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* WeeChat is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "CppUTest/TestHarness.h"
|
|
|
|
extern "C"
|
|
{
|
|
}
|
|
|
|
TEST_GROUP(CoreHook)
|
|
{
|
|
};
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_command_run
|
|
*/
|
|
|
|
TEST(CoreHook, CommandRun)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_command
|
|
*/
|
|
|
|
TEST(CoreHook, Command)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_completion
|
|
*/
|
|
|
|
TEST(CoreHook, Completion)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_config
|
|
*/
|
|
|
|
TEST(CoreHook, Config)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_connect
|
|
*/
|
|
|
|
TEST(CoreHook, Connect)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_fd
|
|
*/
|
|
|
|
TEST(CoreHook, Fd)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_focus
|
|
*/
|
|
|
|
TEST(CoreHook, Focus)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_hdata
|
|
*/
|
|
|
|
TEST(CoreHook, Hdata)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_hsignal
|
|
*/
|
|
|
|
TEST(CoreHook, Hsignal)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_info_hashtable
|
|
*/
|
|
|
|
TEST(CoreHook, InfoHashtable)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_info
|
|
*/
|
|
|
|
TEST(CoreHook, Info)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_infolist
|
|
*/
|
|
|
|
TEST(CoreHook, Infolist)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_line
|
|
*/
|
|
|
|
TEST(CoreHook, Line)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_print
|
|
*/
|
|
|
|
TEST(CoreHook, Print)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_process
|
|
* hook_process_hashtable
|
|
*/
|
|
|
|
TEST(CoreHook, Process)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_signal
|
|
*/
|
|
|
|
TEST(CoreHook, Signal)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|
|
|
|
/*
|
|
* Tests functions:
|
|
* hook_timer
|
|
*/
|
|
|
|
TEST(CoreHook, Timer)
|
|
{
|
|
/* TODO: write tests */
|
|
}
|