about summary refs log tree commit diff stats
path: root/tests/test_cmd_bookmark.h
blob: f5999e41bf08b806f67783928dbfcaa218529da1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
void cmd_bookmark_shows_message_when_disconnected(void **state);
void cmd_bookmark_shows_message_when_disconnecting(void **state);
void cmd_bookmark_shows_message_when_connecting(void **state);
void cmd_bookmark_shows_message_when_started(void **state);
void cmd_bookmark_shows_message_when_undefined(void **state);
void cmd_bookmark_shows_usage_when_no_args(void **state);
void cmd_bookmark_list_shows_bookmarks(void **state);
void cmd_bookmark_add_adds_bookmark_with_jid(void **state);
void cmd_bookmark_add_adds_bookmark_with_jid_nick(void **state);
void cmd_bookmark_add_adds_bookmark_with_jid_autojoin(void **state);
void cmd_bookmark_add_adds_bookmark_with_jid_nick_autojoin(void **state);
void cmd_bookmark_remove_removes_bookmark(void **state);
void cmd_bookmark_remove_shows_message_when_no_bookmark(void **state);
expect_cons_show("Window 3 does not exist."); gboolean result = cmd_win(args, *help); assert_true(result); free(help); } void cmd_win_switches_to_given_win_when_exists(void **state) { CommandHelp *help = malloc(sizeof(CommandHelp)); gchar *args[] = { "12", NULL }; ui_switch_win_expect_and_return(12, TRUE); gboolean result = cmd_win(args, *help); assert_true(result); free(help); }