diff options
Diffstat (limited to 'tests/unit/core/hook/test-hook-hsignal.cpp')
-rw-r--r-- | tests/unit/core/hook/test-hook-hsignal.cpp | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/tests/unit/core/hook/test-hook-hsignal.cpp b/tests/unit/core/hook/test-hook-hsignal.cpp new file mode 100644 index 000000000..8104bda50 --- /dev/null +++ b/tests/unit/core/hook/test-hook-hsignal.cpp @@ -0,0 +1,103 @@ +/* + * test-hook-hsignal.cpp - test hook hsignal functions + * + * Copyright (C) 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" + +#include "tests/tests.h" + +extern "C" +{ +#include "src/core/weechat.h" +} + +TEST_GROUP(HookHsignal) +{ +}; + +/* + * Tests functions: + * hook_hsignal_get_description + */ + +TEST(HookHsignal, GetDescription) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal + */ + +TEST(HookHsignal, Hsignal) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal_match + */ + +TEST(HookHsignal, Match) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal_send + */ + +TEST(HookHsignal, Send) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal_free_data + */ + +TEST(HookHsignal, FreeData) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal_add_to_infolist + */ + +TEST(HookHsignal, AddToInfolist) +{ + /* TODO: write tests */ +} + +/* + * Tests functions: + * hook_hsignal_print_log + */ + +TEST(HookHsignal, PrintLog) +{ + /* TODO: write tests */ +} |