1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

127 Commits

Author SHA1 Message Date
James Booth
5afb296e67 Moved error handling logic to server_events 2014-01-28 22:37:50 +00:00
James Booth
b231133f9b Renamed preferences setup and teardown test functions 2014-01-28 22:05:27 +00:00
James Booth
788fc48b1d Fixed double free'ing in tests 2014-01-28 21:51:43 +00:00
James Booth
4bd06a5d87 Don't allow /alias to overwrite standard command 2014-01-25 01:39:12 +00:00
James Booth
e089ffb15c Show message when alias already exists in /alias add 2014-01-23 22:38:12 +00:00
James Booth
8dbe300d72 Added /alias command, writing aliases to [alias] group in profrc 2014-01-23 22:29:53 +00:00
James Booth
21ab182151 Refactored ProfAccount creation 2014-01-22 22:22:01 +00:00
James Booth
0e2fbeb350 Added statuses settings to prefs output 2014-01-21 00:16:37 +00:00
James Booth
a8c356e191 Added use of statuses preferences 2014-01-21 00:06:41 +00:00
James Booth
a7a2850637 WIP - /statuses command options 2014-01-20 18:40:48 +00:00
James Booth
69f2f4a16f Use defaults for /statuses commands 2014-01-19 17:20:31 +00:00
James Booth
5f25d99357 Added tests/config/helpers 2014-01-19 16:32:31 +00:00
James Booth
79e9ab83b0 Changed /statuses preferences 2014-01-19 16:17:34 +00:00
James Booth
10fb692f7f Refactored testsuite for less verbose output 2014-01-19 02:11:52 +00:00
James Booth
c7325de073 Added cmd_statuses validation tests 2014-01-19 01:25:04 +00:00
James Booth
bd221f6f30 Added cmd_connect tests for invalid properties 2014-01-18 22:55:15 +00:00
James Booth
91d4097df9 Added cmd_connect test for repeated port property 2014-01-18 22:50:17 +00:00
James Booth
21f0bd04a8 Added cmd_connect test for repeated server property 2014-01-18 22:45:24 +00:00
James Booth
0ee6c7a6f1 Added cmd_connect tests for connecting server and port 2014-01-18 22:02:51 +00:00
James Booth
b4e9905db9 Added cmd_connect tests for argument validation 2014-01-18 21:18:25 +00:00
James Booth
61ea120bfd Removed roster_list tests covered by contact tests 2014-01-05 01:37:30 +00:00
James Booth
5898da963a Added contact tests 2014-01-05 01:17:11 +00:00
James Booth
80acfdae9a Added contact presence offline test 2014-01-05 00:43:37 +00:00
James Booth
d15751649c Added tests for contact type 2014-01-05 00:35:48 +00:00
James Booth
0331cbe249 Test usage shown for /sub 2013-12-27 22:12:39 +00:00
James Booth
976f3e303a Added /sub command test 2013-12-27 17:25:30 +00:00
James Booth
122fe09c61 Added tests for "/account clear <property>" 2013-12-27 14:35:31 +00:00
James Booth
6d6bc67d5c Test for presence update when changing priority 2013-12-27 14:17:24 +00:00
James Booth
7a63cf2e22 Changed messages on invalid priorities 2013-12-27 00:29:20 +00:00
James Booth
9d1b05a896 Test priority above upper bounds 2013-12-27 00:07:04 +00:00
James Booth
ada3c768e5 Test priority below lower bounds 2013-12-27 00:05:06 +00:00
James Booth
b466809245 Added test for showing message when changing priority 2013-12-26 15:17:46 +00:00
James Booth
d56f6dc39b Added mocks and stubs for cons_show 2013-12-19 21:05:39 +00:00
James Booth
f47bd58a1c Added tests for setting presence priorities 2013-12-17 23:57:06 +00:00
James Booth
ba66d6b730 Added tests for "/account set <status> <priority>" with invalid status 2013-12-17 23:23:11 +00:00
James Booth
76e7a8341b Added tests for "/account set status" 2013-12-17 23:17:02 +00:00
James Booth
d5a2e645bf Tests valid and invalid resource presence strings 2013-12-17 22:58:27 +00:00
James Booth
de06c40d46 Added tests for "/account set muc" and "/account set nick" 2013-12-17 22:46:54 +00:00
James Booth
3b2446c46a Added tests for "/account set password" 2013-12-17 22:40:55 +00:00
James Booth
8adca66fa3 Added tests for "/account set resource" 2013-12-17 22:37:35 +00:00
James Booth
9b41c4ee32 Added tests for "/account set server" 2013-12-17 22:33:49 +00:00
James Booth
52f6ad6fe1 Added validation tests for "/account set" and "/account set jid" 2013-12-16 01:04:25 +00:00
James Booth
e14b4ef558 Added tests for "/account rename" 2013-12-16 00:12:07 +00:00
James Booth
3c0bbed717 Added tests for "/account disable" 2013-12-15 23:55:59 +00:00
James Booth
4216949b2e Added tests for "/account enable" 2013-12-15 23:51:29 +00:00
James Booth
b2f4570886 Test "/account add" shows message on success 2013-12-15 23:39:04 +00:00
James Booth
85629cb9a3 Test "/account add <account>" adds account 2013-12-15 23:36:20 +00:00
James Booth
bf0870afe4 Test "/account add" with missing arg 2013-12-15 23:30:09 +00:00
James Booth
2197804826 Test "/account show <account>" when account exists 2013-12-15 23:26:02 +00:00
James Booth
838e6e1f5b Test "/account show" when no account does not exist 2013-12-15 23:22:22 +00:00
James Booth
8aaca1054f Added "/account show" test when no account supplied 2013-12-15 23:17:35 +00:00
James Booth
6f060b583e Test "/account list" 2013-12-15 23:07:53 +00:00
James Booth
683da12c3a Added cmd_account test 2013-12-15 22:28:22 +00:00
James Booth
6d75ebb8e9 Test account free'd after connect 2013-12-15 22:00:42 +00:00
James Booth
5ec2d3cf7c Added tests for connecting with account 2013-12-15 21:31:27 +00:00
James Booth
cae2979a0b Added test for message when connecting via account 2013-12-15 21:23:58 +00:00
James Booth
540d658e35 Added ask for password test when connecting with an account 2013-12-15 20:52:30 +00:00
James Booth
5c65599e6a Tests lowercasing argument on cmd_connect 2013-12-15 20:38:26 +00:00
James Booth
7842b0d1fc Added mock log module 2013-12-15 19:56:48 +00:00
James Booth
079ea5304b Moved _ask_password to UI module 2013-12-15 19:38:23 +00:00
James Booth
bf347ab9e0 Added cmd_connect tests 2013-12-15 18:08:26 +00:00
James Booth
447d235868 Mocked account preferences and tested cmd_rooms 2013-12-14 18:43:19 +00:00
James Booth
0b3a9f5785 Added roster_list tests to cmocka 2013-12-14 17:03:39 +00:00
James Booth
4bb38ac011 Added parser tests to cmocka 2013-12-14 16:48:27 +00:00
James Booth
0730867326 Added history and jid tests to cmocka 2013-12-14 16:35:56 +00:00
James Booth
3a403046ff Moved autocomplete tests to cmocka 2013-12-14 16:16:46 +00:00
James Booth
7f7973f9a7 Moved common tests to cmocka 2013-12-14 16:07:57 +00:00
James Booth
107fdd355e Added simple mock test, refactored roster 2013-12-14 15:34:17 +00:00
James Booth
05f2d29396 Renamed contact_list_ functions to roster_ 2013-05-06 22:32:58 +01:00
James Booth
c72d7ad6a6 Renamed history modules 2013-01-28 01:35:11 +00:00
James Booth
527e739ac6 Got rid of old naming convention on prof_autocomplete 2013-01-25 01:11:49 +00:00
James Booth
94bcf1889d Added jid datatype 2013-01-12 23:10:56 +00:00
James Booth
824eaa1678 Added parser module 2012-11-18 00:07:00 +00:00
James Booth
0ce7b2acb7 Removed old chat session tests 2012-11-01 00:29:51 +00:00
James Booth
f8de28232e Started work on chat session, and chat states 2012-10-03 23:47:10 +01:00
James Booth
0fe70ce7d3 Merge common and util 2012-08-23 01:08:06 +01:00
James Booth
30ca6cac3d Added autobuild tools 2012-07-01 14:47:09 +01:00