/* * SPDX-FileCopyrightText: 2024-2026 Sébastien Helleu * * SPDX-License-Identifier: GPL-3.0-or-later * * 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 . */ /* Test hook fd functions */ #include "CppUTest/TestHarness.h" #include "tests.h" extern "C" { #include "src/core/weechat.h" } TEST_GROUP(HookFd) { }; /* * Test functions: * hook_fd_get_description */ TEST(HookFd, GetDescription) { /* TODO: write tests */ } /* * Test functions: * hook_fd_search */ TEST(HookFd, Search) { /* TODO: write tests */ } /* * Test functions: * hook_fd_realloc_pollfd */ TEST(HookFd, ReallocPollfd) { /* TODO: write tests */ } /* * Test functions: * hook_fd_add_cb */ TEST(HookFd, AddCb) { /* TODO: write tests */ } /* * Test functions: * hook_fd_remove_cb */ TEST(HookFd, RemoveCb) { /* TODO: write tests */ } /* * Test functions: * hook_fd */ TEST(HookFd, Fd) { /* TODO: write tests */ } /* * Test functions: * hook_fd_exec */ TEST(HookFd, Exec) { /* TODO: write tests */ } /* * Test functions: * hook_fd_free_data */ TEST(HookFd, FreeData) { /* TODO: write tests */ } /* * Test functions: * hook_fd_add_to_infolist */ TEST(HookFd, AddToInfolist) { /* TODO: write tests */ } /* * Test functions: * hook_fd_print_log */ TEST(HookFd, PrintLog) { /* TODO: write tests */ }