Steffen Jaeckel
988d3663d1
Introduce tests/prof_cmocka.h
...
As 9f2abc75 accidentally got the ordering of some of the includes wrong,
I decided to propose my initial solution again.
Additional to that, I've opened a MR against CMocka to solve this on
their side, since I believe that the current way this is done is not
sustainable [0].
[0] https://gitlab.com/cmocka/cmocka/-/merge_requests/91
Fixes: 9f2abc75 ("Fix tests with gcc15 (uintptr_t)")
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu >
CProof note: our new tests need to also be updated.
2025-09-10 14:11:03 +02:00
John Hernandez
5b8b9074a2
Add nickname support for /roster remove
...
Add support of name/nickname instead of only JID for `/roster remove` command.
Add tests for it as well.
2023-04-13 16:41:21 +02:00
Michael Vetter
a2726b6a7d
Apply coding style
2020-07-07 14:18:57 +02:00
Michael Vetter
a4cadf78fa
Revert "Apply coding style"
...
This reverts commit 9b55f2dec0 .
Sorting the includes creates some problems.
2020-07-07 13:53:30 +02:00
Michael Vetter
9b55f2dec0
Apply coding style
...
Regards https://github.com/profanity-im/profanity/issues/1396
2020-07-07 09:43:28 +02:00
Dmitry Podgorny
0499c4e0ee
Fix memory leak in unittests
2019-10-14 00:23:02 +03:00
Michael Vetter
8e5dafdea5
Fix invalid reads in unit tests
2019-10-10 19:02:23 +02:00
Michael Vetter
2559ad5370
Revert "Free lits in test_cmd_roster unittest"
...
This reverts commit 5b19ed28ce .
This caused a segfault.
2019-10-10 18:08:24 +02:00
Michael Vetter
a10ab4e692
First destroy roster then free list in test_cmd_roster
2019-10-06 19:13:45 +02:00
Michael Vetter
5b19ed28ce
Free lits in test_cmd_roster unittest
...
Regards https://github.com/profanity-im/profanity/issues/1019
2019-10-06 18:43:27 +02:00
James Booth
90b9b48ab9
Moved roster_list.c
2016-07-24 15:08:47 +01:00
James Booth
fb34785566
Rename command sources
2016-05-22 23:59:52 +01:00
James Booth
3d20c85ada
Remove JABBER_STARTED, JABBER_UNDEFINED connection states
2016-05-10 23:18:11 +01:00
James Booth
3bb1f12410
Add session.c
2016-05-05 23:51:49 +01:00
James Booth
e816b124ee
Removed unused arg from roster_get_ functions
2016-01-31 02:33:44 +00:00
James Booth
055a5f71ce
Added roster struct, create and destroy roster on connect/disconnect
2016-01-05 00:06:50 +00:00
James Booth
4efe456e74
Pass offline filter to roster_get_contacts
2015-11-18 01:03:35 +00:00
James Booth
2260e3bd6f
Pass ordering to roster list functions
2015-11-18 00:06:00 +00:00
James Booth
8119025120
Fixed tests for new command format
2015-07-27 00:04:48 +01:00
James Booth
2215a3791f
Added current window reference to command functions
2015-06-17 00:15:28 +01:00
James Booth
e50461a897
Set columns when running functional tests
2015-06-13 23:59:33 +01:00
James Booth
68ed20f10d
Moved all tests to tests folder
2015-06-12 23:53:30 +01:00