1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

46 Commits

Author SHA1 Message Date
James Booth
56cbce2ff3 Renamed presence_update -> presence_send 2015-05-07 23:12:49 +01:00
Peter Vilim
f6da944479 Add unit tests for eval_password 2015-01-12 19:32:26 -06:00
Peter Vilim
6af10696f9 Fix current tests 2015-01-07 21:03:51 -06:00
James Booth
5319a03aeb Added cmd_connect tests 2014-12-24 21:34:11 +00:00
James Booth
c20e38a4f9 Refactored all cmd_account tests 2014-12-24 17:35:02 +00:00
James Booth
71dbd7fd77 Refactoring cmd_account tests 2014-12-24 14:41:33 +00:00
James Booth
05bf9bb993 Refactoring cmd_account tests 2014-12-24 13:06:32 +00:00
James Booth
8c01021ab9 Use will_return instead of mock values 2014-12-23 21:42:01 +00:00
James Booth
69fe6c4d21 cmd_account_shows_account_when_connected_and_no_args 2014-12-23 19:51:12 +00:00
James Booth
5be9ac3243 Added stubbed implementations 2014-12-23 19:26:45 +00:00
James Booth
9dda7036a9 Implemented per contact OTR policy setting 2014-05-11 19:32:07 +01:00
James Booth
95ff13136b Added OTR policy account preference 2014-05-11 14:13:15 +01:00
James Booth
21ab182151 Refactored ProfAccount creation 2014-01-22 22:22:01 +00:00
James Booth
c3fbaf8b2a Removed whitespace 2013-12-27 14:36:42 +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
8685e78c86 Added mock_accounts and fixed tests 2013-12-26 13:37:22 +00:00
James Booth
5a5b1340aa Dynamically load UI functions, fixed tests 2013-12-22 22:14:15 +00:00
James Booth
d56f6dc39b Added mocks and stubs for cons_show 2013-12-19 21:05:39 +00:00
James Booth
b27c5d0f5b Replaced old mock_xmpp 2013-12-18 23:06:43 +00:00
James Booth
00a475cf55 Added common mock functions and fixed tests 2013-12-18 22:49:43 +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
99f4eeb60d Removed help->usage when not used in tests 2013-12-17 22:49:02 +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
52d15242ab Use expect_any when testing something else in cmd_account tests 2013-12-16 00:18:38 +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