summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-08-19core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵Sébastien Helleu
#1394)
2019-08-19core: use fixed-width integer for computing nick hash (issue #1394)Sébastien Helleu
2019-08-10api: add function list_user_data (issue #666)Andrew Potter
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-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-06-15core: check that string pointer is not NULL in function "string_shared_get"Sé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-04-20tests: add link with iconv library (if found)Sébastien Helleu
This fixes a compilation error on FreeBSD.
2019-04-01tests: add test with multiple wildcards in call to function string_matchSébastien Helleu
2019-04-01tests: add tests on function util_signal_searchSébastien Helleu
2019-04-01tests: add tests on util_timeval functionsSébastien Helleu
2019-04-01tests: add tests on function util_parse_delay with unit "ms" (milliseconds)Sébastien Helleu
2019-03-29core: move parsing of /wait delay in a separate function, with unit testsSébastien Helleu
2019-03-28core: make "input_commands_allowed" work with /wait and /repeat commands ↵Sébastien Helleu
(issue #928)
2019-03-25tests: fix scripting API tests on 32-bit archSébastien Helleu
The problem is that on 32-bit arch (like GNU/Hurd), the number 42000000000000 is converted to 42000000000000L in Python, which is causing troubles in other languages like Perl. The fix is to use a smaller number. Such large size for function string_format_size is tested in the C++ test suite anyway.
2019-03-24tests: fix style in CMake fileSébastien Helleu
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-03-23tests: remove extra output before/after testsSébastien Helleu
2019-03-19tests: remove value for first #define in headersSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-03-09core: add value -1 for keep_eol in function string_strip (issue #1322)Sébastien Helleu
The value -1 means it's a standard split, but empty items are kept, and separators are not removed at beginning/end of string.
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2019-02-19spell: rename "aspell" plugin to "spell" (issue #1299)Sébastien Helleu
The following things have been renamed: - file aspell.conf -> spell.conf - options aspell.* -> spell.* - bar item aspell_dict -> spell_dict - bar item and local variable aspell_suggest -> spell_suggest - info aspell_dict -> spell_dict
2019-01-26tests: fix evaluation tests on FreeBSDSébastien Helleu
The following special sequences are not supported in regular expressions on FreeBSD: - "\w": replaced with "[a-zA-Z0-9_]" - "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice only spaces could be a problem when we use this sequence).
2019-01-26tests: fix UTF-8 tests on FreeBSDSébastien Helleu
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow) instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on FreeBSD and 2 on Linux.
2019-01-20tests: fix link of tests on GNU Hurd and FreeBSDSébastien Helleu
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
2019-01-13tests: add tests on function irc_protocol_parse_timeSébastien Helleu
2019-01-11tests: add tests on function irc_config_check_autojoinSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04tests: add missing file test-secure.cpp in autotoolsSébastien Helleu
2018-11-04api: add functions string_base_{encode,decode}, remove functions ↵Sébastien Helleu
string_{encode,decode}_base64
2018-11-02api: return integer in function string_encode_base16Sébastien Helleu
2018-11-02api: return integer in function string_encode_base64Sébastien Helleu
2018-11-02tests: add tests on functions secure_encrypt_data and secure_decrypt_dataSébastien Helleu
2018-11-02core: add support of TOTP generation/validation (Time-based One-Time Password)Sébastien Helleu
2018-10-09core: add repeat of string in evaluation of expressions with ↵Sébastien Helleu
"repeat:count,string" (closes #958)
2018-10-08core: fix evaluation of nested ternary operators (closes #1263)Sébastien Helleu
2018-09-09core: add missing slash at the end of weechat.org URLsSébastien Helleu