summaryrefslogtreecommitdiff
path: root/tests/unit/plugins
AgeCommit message (Collapse)Author
2021-04-11tests: fix if/else blocks in trigger testsSébastien Helleu
2021-04-11trigger: add tests on main trigger functionsSébastien Helleu
2021-02-03irc: add info "irc_is_message_ignored"Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-10-03tests: run callback when resetting options in testsSébastien Helleu
2020-08-05irc: send all channels in a single JOIN command when reconnecting to the ↵Sébastien Helleu
server (closes #1551)
2020-06-21irc: check that the first nick char is not a prefix char or chantype in ↵Sébastien Helleu
function irc_nick_is_nick
2020-06-21irc: change default chantypes from "#&+!" to "#&"Sébastien Helleu
The default chantypes was conflicting with irc_server_prefix_chars_default ("@+").
2020-06-20tests: add test of function irc_nick_is_nick with invalid UTF-8 stringSébastien Helleu
2020-06-20irc: add support of UTF8MAPPING, add support of optional server in info ↵Sébastien Helleu
"irc_is_nick" (closes #1528)
2020-06-20tests: add tests on IRC function irc_channel_is_channelSébastien Helleu
2020-06-16tests: add tests on IRC command ACCOUNT with colon before the account nameSébastien Helleu
2020-05-17tests: run tests on plugins only if the plugins are enabled and compiledSébastien Helleu
2020-04-20tests: add tests on functions relay_auth_password_hash_algo_search and ↵Sébastien Helleu
relay_auth_generate_nonce
2020-04-19tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000Sébastien Helleu
This speeds up tests by about 30%.
2020-04-19tests: remove obsolete file test-relay-weechat-protocol.cppSébastien Helleu
2020-04-14relay: add command "handshake" in weechat relay protocol and nonce to ↵Sébastien Helleu
prevent replay attacks (closes #1474) This introduces a new command called "handshake" in the weechat relay protocol. It should be sent by the client before the "init" command, to negotiate the way to authenticate with a password. 3 new options are added: * relay.network.auth_password * relay.network.hash_iterations * relay.network.nonce_size
2020-03-31tests: add tests on function irc_protocol_cb_353 with option ↵Sébastien Helleu
irc.look.color_nicks_in_names set to on
2020-03-30tests: add tests on IRC color functionsSébastien Helleu
Functions tested: - irc_color_convert_rgb2irc - irc_color_convert_term2irc - irc_color_for_tags - irc_color_modifier_cb - irc_color_weechat_add_to_infolist
2020-03-30tests: add test with remapped color in function irc_color_decodeSébastien Helleu
2020-03-28tests: add tests on remaining IRC protocol functions and callbacksSébastien Helleu
2020-03-28tests: add tests on function irc_protocol_get_message_tagsSébastien Helleu
2020-03-26tests: add tests on function irc_protocol_cb_pingSébastien Helleu
2020-03-25tests: add tests on function irc_protocol_cb_partSébastien Helleu
2020-03-24tests: add test with no arguments for AWAY commandSébastien Helleu
2020-03-24tests: add tests on IRC protocol functions with not enough argumentsSébastien Helleu
2020-03-21irc: split AUTHENTICATE message in 400-byte chunks (closes #1459)Sébastien Helleu
2020-03-19tests: add tests on functions irc_protocol_cb_mode and irc_protocol_cb_nickSébastien Helleu
2020-03-18tests: add tests on functions irc_protocol_cb_kick and irc_protocol_cb_killSébastien Helleu
2020-03-17tests: add tests on function irc_protocol_cb_joinSébastien Helleu
2020-03-16tests: add tests on function irc_protocol_cb_chghostSébastien Helleu
2020-03-15tests: rename function run_cmd_server to server_recvSébastien Helleu
2020-03-13tests: always run callback in calls to function config_file_option_setSébastien Helleu
2020-03-11tests: add tests on IRC protocol functions and some callbacksSébastien Helleu
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
2020-03-02relay: accept hash of password in init command with option "password_hash"Sébastien Helleu
Allowed algorithms are: * PBKDF2 (SHA256 or SHA512, salt, iterations) * SHA256 * SHA512
2020-02-08tests: add tests on ANSI default text/background colorsSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-09-27irc: add "user" in output of irc_message_parse (closes #136)Sébastien Helleu
2019-08-06tests: add tests on IRC function irc_nick_is_nickSébastien Helleu
2019-08-04irc: fix length of user/nick/host in split of messages (closes #1387)Sébastien Helleu
2019-08-04tests: add missing space after name of functionSébastien Helleu
2019-08-04tests: add unit tests on IRC functions irc_message_split* (issue #1387)Sébastien Helleu
2019-08-04tests: add unit tests on IRC function irc_message_convert_charsetSébastien Helleu
2019-08-03tests: add unit tests on IRC functions irc_message_parse and ↵Sébastien Helleu
irc_message_parse_to_hashtable
2019-08-03tests: add unit tests on IRC function irc_message_replace_varsSébastien Helleu
2019-08-03tests: add unit tests on IRC functions irc_message_get_{nick,address}_from_hostSébastien Helleu
2019-07-10irc: add unit tests on ignore functionsSébastien Helleu
2019-05-10irc: fix parsing of MODE command when there are colons after the first mode ↵Sébastien Helleu
argument (closes #1296)
2019-01-20tests: add missing include of stdio.hSébastien Helleu
2019-01-20tests: add tests on IRC color functionsSébastien Helleu
Functions tested: - irc_color_decode - irc_color_encode - irc_color_decode_ansi