1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 03:33:12 +02:00

all: move description of C files below the copyright and license

This commit is contained in:
Sébastien Helleu
2025-03-30 21:16:11 +02:00
parent 3a6ac9ee76
commit 2475f20cb7
345 changed files with 690 additions and 690 deletions
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-alias.cpp - test alias functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test alias functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-batch.cpp - test IRC batch functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC batch functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-buffer.cpp - test IRC buffer functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC buffer functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-channel.cpp - test IRC channel functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC channel functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-color.cpp - test IRC color functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC color functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-command.cpp - test IRC commands
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC commands */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-config.cpp - test IRC configuration functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC configuration functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-ctcp.cpp - test IRC CTCP functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC CTCP functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-ignore.cpp - test IRC ignore functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC ignore functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-info.cpp - test IRC info functions
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC info functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-join.cpp - test IRC join functions
*
* SPDX-FileCopyrightText: 2022-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC join functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-list.cpp - test IRC list functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC list functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-message.cpp - test IRC message functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC message functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-mode.cpp - test IRC mode functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC mode functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-nick.cpp - test IRC nick functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC nick functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-protocol.cpp - test IRC protocol functions
*
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC protocol functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-sasl.cpp - test IRC SASL functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC SASL functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-server.cpp - test IRC protocol functions
*
* SPDX-FileCopyrightText: 2020-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC protocol functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-irc-tag.cpp - test IRC message tags functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test IRC message tags functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-logger-backlog.cpp - test logger backlog functions
*
* SPDX-FileCopyrightText: 2022-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test logger backlog functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-logger-tail.cpp - test logger tail functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test logger tail functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-logger.cpp - test logger functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test logger functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-relay-remote-event.cpp - test event functions for relay remote
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test event functions for relay remote */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-relay-remote-network.cpp - test network functions for relay remote
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test network functions for relay remote */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-relay-api-msg.cpp - test relay API protocol (messages)
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay API protocol (messages) */
#include "CppUTest/TestHarness.h"
extern "C"
@@ -1,6 +1,4 @@
/*
* test-relay-api-protocol.cpp - test relay API protocol (protocol)
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay API protocol (protocol) */
#include "CppUTest/TestHarness.h"
#include "tests/tests-record.h"
@@ -1,6 +1,4 @@
/*
* test-relay-api.cpp - test relay API protocol (general functions)
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay API protocol (general functions) */
#include "CppUTest/TestHarness.h"
extern "C"
@@ -1,6 +1,4 @@
/*
* test-relay-irc.cpp - test relay IRC protocol
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay IRC protocol */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-relay-auth.cpp - test client authentication functions
*
* SPDX-FileCopyrightText: 2020-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test client authentication functions */
#include "CppUTest/TestHarness.h"
extern "C"
@@ -1,6 +1,4 @@
/*
* test-relay-bar-item.cpp - test relay bar item functions
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay bar item functions */
#include "CppUTest/TestHarness.h"
extern "C"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-relay-http.cpp - test HTTP functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test HTTP functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-relay-raw.cpp - test raw messages functions
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test raw messages functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-relay-remote.cpp - test relay remote functions
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test relay remote functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-relay-websocket.cpp - test websocket functions
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test websocket functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-plugin-api-info.cpp - tests API info functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Tests API info functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-plugin-config.cpp - tests plugins config functions
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Tests plugins config functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-plugins.cpp - generic tests on plugins
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Generic tests on plugins */
#include "CppUTest/TestHarness.h"
TEST_GROUP(Plugins)
@@ -1,6 +1,4 @@
/*
* test-trigger-config.cpp - test trigger configuration functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test trigger configuration functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-trigger.cpp - test trigger functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test trigger functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
@@ -1,6 +1,4 @@
/*
* test-typing-status.cpp - test typing status functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test typing status functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-typing.cpp - test typing functions
*
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test typing functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* test-xfer-file.cpp - test xfer file functions
*
* SPDX-FileCopyrightText: 2022-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test xfer file functions */
#include "CppUTest/TestHarness.h"
extern "C"
@@ -1,6 +1,4 @@
/*
* test-xfer-network.cpp - test xfer network functions
*
* SPDX-FileCopyrightText: 2022-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/* Test xfer network functions */
#include "CppUTest/TestHarness.h"
#include "tests/tests.h"