1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

tests: add tests on IRC protocol functions and some callbacks

Functions tested:

* irc_protocol_is_numeric_command
* irc_protocol_log_level_for_command
* irc_protocol_tags
* irc_protocol_nick_address
* irc_protocol_cb_account
* irc_protocol_cb_away
* irc_protocol_cb_001
* irc_protocol_cb_005
This commit is contained in:
Sébastien Helleu
2020-03-11 20:53:49 +01:00
parent 5f94636b91
commit 9545d37ab0
4 changed files with 431 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ extern "C"
#include "src/plugins/plugin.h"
}
extern void run_cmd (const char *command);
#include "tests/tests.h"
struct t_hook *api_hook_print = NULL;
int api_tests_ok = 0;