Added test to ensure chat sessions cleared on cmd_disconnect

This commit is contained in:
James Booth
2015-01-10 01:06:52 +00:00
parent 9bd2315d83
commit ab7bd6fe5f
7 changed files with 47 additions and 1 deletions

View File

@@ -19,6 +19,12 @@ expect_cons_show(char *expected)
expect_string(cons_show, output, expected);
}
void
expect_any_cons_show(void)
{
expect_any(cons_show, output);
}
void
expect_cons_show_error(char *expected)
{

View File

@@ -1,4 +1,5 @@
void expect_cons_show(char *expected);
void expect_any_cons_show(void);
void expect_cons_show_error(char *expected);
void expect_ui_current_print_line(char *message);
void expect_ui_current_print_formatted_line(char show_char, int attrs, char *message);