about summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add omemo_start_sessions to unittest stubMichael Vetter2019-04-141-0/+1
|
* Automatically starts OMEMO if one identity is trustedPaul Fariello2019-04-101-0/+6
|
* Wait for discovery end to publish omemo devicelist and bundlePaul Fariello2019-04-101-0/+1
| | | | Add sv_ev_connection_features_received for that purpose
* Rework MUC reflected message filteringPaul Fariello2019-04-102-3/+6
| | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza.
* Add OMEMO in prefs commandPaul Fariello2019-04-101-0/+1
|
* Add required OMEMO stub for unit-testPaul Fariello2019-04-103-3/+69
|
* Fix broken support for case-sensitive account namesPhilip Flohr2019-02-223-8/+32
| | | | | | | | | | | Don't lower account name before calling accounts_get_account(). Only lower if there is no account with the given name and the name is interpreted as a jid. Updated unittests to test this behaviour. Fixes #725 .
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* tests: remove cflag -w and fix warningsDmitry Podgorny2018-10-318-101/+106
| | | | | | | | | 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.
* Merge pull request #991 from paulfariello/feature/xep-0050Michael Vetter2018-09-276-15/+17
|\ | | | | Add support for xep 0050 ad-hoc commands, without multi-step
| * Remove unused stup session_get_domainPaul Fariello2018-09-051-5/+0
| |
| * Add connection_get_domain stub for testsPaul Fariello2018-09-051-0/+5
| |
| * Add support for command config executionPaul Fariello2018-09-051-1/+1
| |
| * Add conf win callbackPaul Fariello2018-09-051-2/+2
| |
| * Rename mucconf wins into conf winsPaul Fariello2018-09-055-12/+12
| | | | | | | | Configuration windows are now being used by both muc and cmd.
| * Add command subcommands: list and execPaul Fariello2018-09-051-0/+2
| | | | | | | | Also handle list result
* | Move p_sha1_hash() to stanza.cMichael Vetter2018-09-063-71/+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: Missing pthread includeRafael Sadowski2018-08-131-0/+1
|
* Add room /me functional testsJames Booth2018-04-213-0/+58
|
* Add preferences for tab displayJames Booth2018-03-091-2/+7
|
* Add prefs for empty tabs and tab namesJames Booth2018-03-081-0/+1
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-2/+2
|
* Use jid argument for /bookmark when in roomJames Booth2018-03-043-1/+139
| | | | fixes #983
* Add /rooms cacheJames Booth2018-02-052-0/+2
|
* Filter rooms by simple case insensitive textJames Booth2018-02-041-0/+9
|
* Fix tests, move glob creationJames Booth2018-01-275-11/+35
|
* Only send ping requests to client that support itJames Booth2017-06-163-9/+100
|
* Change server name in functional testsJames Booth2017-06-151-1/+1
|
* Show message when server does not support pingJames Booth2017-06-153-0/+28
|
* Set locale in unit testsJames Booth2017-04-291-1/+17
| | | | issue #901
* Allow previous autocompletion with shift tabJames Booth2017-04-017-32/+51
|
* Add test for case insensitive autocompleteJames Booth2017-03-253-0/+14
|
* Autocomplete accent and case insensitiveJames Booth2017-03-253-0/+60
|
* Allow installing plugins from directoryJames Booth2017-02-051-1/+0
|