summaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Collapse)Author
2015-08-24api: fix handle of invalid escape in function string_convert_escaped_chars()Sébastien Helleu
And a new test is now checking that "\" returns "".
2015-08-22api: add function string_hex_dump()Sébastien Helleu
2015-08-18api: add argument "length" in function utf8_is_valid()Sébastien Helleu
2015-07-04api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵Sébastien Helleu
and utf8_add_offset
2015-06-30api: add support of evaluated sub-strings and current date/time in function ↵Sébastien Helleu
string_eval_expression() and command /eval
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-04-26core: add support of full color option name in command /eval and API ↵Sébastien Helleu
function string_eval_expression()
2015-04-11core: add options weechat.look.word_chars_{highlight|input} (closes #55, ↵Sébastien Helleu
task #9459)
2015-03-22tests: check that function string_strndup returns NULL if the given string ↵Sébastien Helleu
is NULL
2015-03-06tests: remove compiler warnings about unused parametersSébastien Helleu
2015-03-03tests: remove unused variablesSébastien Helleu
2015-03-02tests: remove unused variableSébastien Helleu
2015-02-13tests: add tests on weelist functionsSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-12-13core: use https for WeeChat URLsSébastien Helleu
2014-12-10tests: fix compilation of tests with clang (closes #275)Sébastien Helleu
2014-11-23tests: add tests of regex replace with empty regex or regex_replaceSébastien Helleu
2014-11-18tests: add hashtable tests with multiple items giving same hashed keySébastien Helleu
2014-11-03tests: add tests of functions string_shared_get and string_shared_freeSébastien Helleu
2014-10-22api: add regex replace feature in function string_eval_expressionSébastien Helleu
2014-10-16tests: fix memory leak in hashtable testsSébastien Helleu
2014-10-16core: add hide of chars in string in evaluation of expressionsSébastien Helleu
The syntax is: ${hide:char,string}. All chars in string are replaced with char (which can be one or more chars).
2014-10-12tests: add test of function string_split_shell with an empty stringSébastien Helleu
2014-10-12tests: add extra check of argv pointer in test of string_split functionsSébastien Helleu
2014-10-12tests: initialize argc to -1 instead of 1 before some testsSébastien Helleu
2014-10-12tests: add some tests on function eval_expressionSébastien Helleu
2014-10-11core: fix search/insert of elements in sorted arraylist with duplicatesSébastien Helleu
The pointer and index returned is now the first element found with the value (with the lower index if there are many elements with same value). And the index for insert is the last element with same value + 1 (the higher index + 1).
2014-10-05Merge branch 'arraylist'Sébastien Helleu
2014-09-03tests: add tests of hashtable functionsSébastien Helleu
2014-09-01tests: add tests of arraylist functionsSébastien Helleu
2014-08-29api: use microseconds instead of milliseconds in functions util_timeval_diff ↵Sébastien Helleu
and util_timeval_add
2014-08-25tests: fix build of tests when the build directory is outside source tree ↵Sébastien Helleu
(closes #178)
2014-08-14tests: fix memory leaksSébastien Helleu
2014-08-14tests: add tests of function string_split_shellSébastien Helleu
2014-08-14tests: add partial tests of functions hashtable_set*Sébastien Helleu
2014-08-14tests: add tests of function string_replace_with_callbackSébastien Helleu
2014-08-09tests: add tests of function string_replace_regexSébastien Helleu
2014-08-06tests: add TODO comments for missing testsSébastien Helleu
2014-08-04tests: add tests of functions hashtable_hash_key_djb2 and hashtable_newSébastien Helleu
2014-08-02tests: add tests of functions string_is_command_char and string_input_for_bufferSébastien Helleu
2014-08-02tests: add tests of base 16/64 decoding/encodingSébastien Helleu
2014-08-02Merge branch 'travis-tests'Sébastien Helleu
2014-08-02tests: remove test of han char in utf8_strlen_screen (failing on Ubuntu Precise)Sébastien Helleu
2014-08-02tests: remove test of han char in utf8_char_size_screen (failing on Ubuntu ↵Sébastien Helleu
Precise)
2014-08-02api: fix function string_format_size on 32-bit systemsSébastien Helleu
2014-08-01tests: add tests of function string_format_sizeSébastien Helleu
2014-07-31tests: add tests of functions string_iconv*Sébastien Helleu
2014-07-29tests: add tests of function string_is_word_charSébastien Helleu
2014-07-20tests: add UTF-8 tests (check of some invalid UTF-8 chars)Sébastien Helleu
2014-07-20tests: add unit tests using CppUTestSébastien Helleu
The tests can be run only via CMake: 1. build with tests: cmake .. -DENABLE_TESTS=ON 2. make 3. ctest (or ctest -V for verbose output)