about summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* xep-0308: add cons_correction_setting stub to testsMichael Vetter2020-02-101-0/+1
|
* Fix unittest buildPaul Fariello2020-01-311-14/+14
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-313-5/+5
| | | | Fix #1068
* Add cons_os_setting stub for testsMichael Vetter2020-01-241-0/+1
|
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-1/+1
|
* xep-0084: add test stub fileMichael Vetter2019-12-181-0/+7
|
* test: add cons_color_settingMichael Vetter2019-12-091-0/+1
|
* Add cons_logging_setting() to test stubMichael Vetter2019-11-131-2/+1
|
* Add cons_titlebar_setting stubMichael Vetter2019-11-051-1/+1
| | | | and remove encwarn one.
* Don't override ProfMessage Id with origin-idMichael Vetter2019-10-311-1/+1
| | | | | | | | | | Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly.
* Adjust message stubs in unit testsMichael Vetter2019-10-291-4/+4
|
* Adjust stub for connection_get_profanity_identifierMichael Vetter2019-10-221-1/+1
|
* Move ProfMessage and message_is_sent_by_us to xmppMichael Vetter2019-10-191-1/+0
| | | | Not meant for internal usage only.
* Add message_is_sent_by_us stubMichael Vetter2019-10-181-0/+5
|
* Remove accidentally added fileMichael Vetter2019-10-181-7/+0
|
* Add connection_get_profanity_identifier stubMichael Vetter2019-10-183-0/+12
| | | | And move defintion to xmpp.h
* Fix memory leak in unittestsDmitry Podgorny2019-10-141-0/+1
|
* Fix invalid reads in unit testsMichael Vetter2019-10-101-2/+0
|
* Revert "Free lits in test_cmd_roster unittest"Michael Vetter2019-10-101-1/+0
| | | | | | This reverts commit 5b19ed28ce6f8bd8f46248de612f7ed466dc7a73. This caused a segfault.
* First destroy roster then free list in test_cmd_rosterMichael Vetter2019-10-061-3/+3
|
* Free strings in test_cmd_aliasMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Free lits in test_cmd_roster unittestMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Remove not needed strdupin test_cmd_roomsMichael Vetter2019-10-061-2/+3
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Free autocomplete_complete results in unittestMichael Vetter2019-10-061-1/+19
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix autocomplete memleak in test_autocompleteMichael Vetter2019-10-061-16/+16
| | | | | | | autocomplete_free() calls autocomplete_clear() and then frees the struct itself. Regards https://github.com/profanity-im/profanity/issues/1019
* Free lists in test_roster_listMichael Vetter2019-10-061-0/+20
| | | | | Fix memleaks. Regards https://github.com/profanity-im/profanity/issues/1019
* Fix two memleaks in test_parserMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in cmd_bookmark_list_shows_bookmarks unittestMichael Vetter2019-10-061-0/+16
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_parser unittestMichael Vetter2019-10-061-0/+2
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_callbacks unittestMichael Vetter2019-10-061-0/+2
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_parser unittestMichael Vetter2019-10-061-1/+7
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix test_callbacks memleakMichael Vetter2019-10-061-0/+5
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix test_jid unittest memleakMichael Vetter2019-10-061-0/+29
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix unittest memleak in test_cmd_joinMichael Vetter2019-10-051-0/+8
| | | | | | muc_init() call without muc_close() Regards https://github.com/profanity-im/profanity/issues/1019
* Possibility to specify alternative config fileMichael Vetter2019-08-021-1/+1
| | | | Introduce `profanity -c` to specify an alternative config file.
* Add omemo_close stub for testsMichael Vetter2019-07-181-0/+1
|
* Add missing stub filePaul Fariello2019-07-171-0/+7
|
* Fix handling of encrypted carbonsPaul Fariello2019-06-211-1/+1
|
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-202-7/+7
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-202-7/+7
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Fix prefs_get_str related leaks in unit testsMichael Vetter2019-06-193-0/+15
| | | | Related to https://github.com/profanity-im/profanity/issues/1019
* Remove cons_mouse_setting() stubMichael Vetter2019-06-171-1/+0
| | | | Mouse support has been disabled long ago.
* Cancel autoping timer on disconnect or connection lossDmitry Podgorny2019-06-031-0/+1
| | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections.
* Use mock_type() for casting mock()Frank Zschockelt2019-05-084-13/+13
|
* Use mock_ptr_type() to silence compiler warningsFrank Zschockelt2019-05-084-12/+12
| | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t.
* Update tests with new URLMichael Vetter2019-05-036-39/+39
| | | | https://github.com/profanity-im/profanity/issues/1085
* Add occupantswin_occupants_all() stub to unittestMichael Vetter2019-04-231-0/+1
|
* Fix server_event unit testsPaul Fariello2019-04-171-0/+5
| | | | | | roster_update_presence now requires that roster_process_pending_presence() has been called. Otherwise presence are set to pending and not processed yet.
* Fix OTR unit test after account_new API changePaul Fariello2019-04-171-1/+1
|
* Fix unit test after account_new API changePaul Fariello2019-04-176-18/+19
|