about summary refs log tree commit diff stats
path: root/tests/unittests/test_common.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: remove cflag -w and fix warningsDmitry Podgorny2018-10-311-2/+3
| | | | | | | | | The flag hides errors. But we want unit tests to be correct in order to reveal errors in the main code. The patch removes tests_unittests_unittests_CFLAGS which makes autotools use AM_CFLAGS instead. Therefore, unit tests are built with flags derived from configure.ac.
* Move p_sha1_hash() to stanza.cMichael Vetter2018-09-061-56/+0
| | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality.
* Fix multibyte chars in prof_occurrencesJames Booth2017-01-261-0/+32
| | | | issue #901
* Move window functions to window_list.cJames Booth2016-07-241-277/+0
|
* Added whole word matches for room mentionJames Booth2016-04-071-109/+134
|
* Added prof_strstr functionJames Booth2016-04-031-62/+109
|
* Remove trailing whitespacesMichael Vetter2015-10-211-1/+1
|
* Fixed OTR decryption checkJames Booth2015-08-271-0/+8
|
* Added str_contains_str to commonJames Booth2015-08-261-0/+55
|
* Moved all tests to tests folderJames Booth2015-06-121-0/+633