diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.cpp | 4 | ||||
-rw-r--r-- | tests/unit/core/test-core-command.cpp | 2 | ||||
-rw-r--r-- | tests/unit/gui/test-gui-buffer.cpp | 6 | ||||
-rw-r--r-- | tests/unit/gui/test-gui-key.cpp | 12 | ||||
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 2 | ||||
-rw-r--r-- | tests/unit/plugins/test-plugin-api-info.cpp | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 6060c0871..93703896a 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -183,7 +183,7 @@ void run_cmd (const char *command) { printf (">>> Running command: %s\n", command); - input_data (ptr_core_buffer, command, NULL, 0); + input_data (ptr_core_buffer, command, NULL, 0, 0); } /* @@ -193,7 +193,7 @@ run_cmd (const char *command) void run_cmd_quiet (const char *command) { - input_data (ptr_core_buffer, command, NULL, 0); + input_data (ptr_core_buffer, command, NULL, 0, 0); } /* diff --git a/tests/unit/core/test-core-command.cpp b/tests/unit/core/test-core-command.cpp index 89c565e8a..0e11cc2ea 100644 --- a/tests/unit/core/test-core-command.cpp +++ b/tests/unit/core/test-core-command.cpp @@ -67,7 +67,7 @@ TEST_GROUP(CoreCommand) FAIL("Buffer not found"); } record_start (); - input_data (buffer, command, NULL, 0); + input_data (buffer, command, NULL, 0, 0); record_stop (); } diff --git a/tests/unit/gui/test-gui-buffer.cpp b/tests/unit/gui/test-gui-buffer.cpp index 26d8b23b9..b6f14cdcb 100644 --- a/tests/unit/gui/test-gui-buffer.cpp +++ b/tests/unit/gui/test-gui-buffer.cpp @@ -723,7 +723,7 @@ TEST(GuiBuffer, NewUser) /* test signal "buffer_user_input_test" */ signal_buffer_user_input[0] = '\0'; - input_data (buffer, "something", NULL, 0); + input_data (buffer, "something", NULL, 0, 0); STRCMP_EQUAL("something", signal_buffer_user_input); /* test signal "buffer_user_closing_test" */ @@ -738,7 +738,7 @@ TEST(GuiBuffer, NewUser) /* close the buffer by sending "q" */ signal_buffer_user_input[0] = '\0'; signal_buffer_user_closing = 0; - input_data (buffer, "q", NULL, 0); + input_data (buffer, "q", NULL, 0, 0); STRCMP_EQUAL("q", signal_buffer_user_input); LONGS_EQUAL(1, signal_buffer_user_closing); @@ -758,7 +758,7 @@ TEST(GuiBuffer, NewUser) */ signal_buffer_user_input[0] = '\0'; signal_buffer_user_closing = 0; - input_data (buffer, "q", NULL, 0); + input_data (buffer, "q", NULL, 0, 0); STRCMP_EQUAL("q", signal_buffer_user_input); LONGS_EQUAL(0, signal_buffer_user_closing); diff --git a/tests/unit/gui/test-gui-key.cpp b/tests/unit/gui/test-gui-key.cpp index 1deeae9d6..d882ba7b3 100644 --- a/tests/unit/gui/test-gui-key.cpp +++ b/tests/unit/gui/test-gui-key.cpp @@ -114,22 +114,22 @@ TEST(GuiKey, GetCurrentContext) { LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ()); - input_data (gui_buffers, "/cursor", NULL, 0); + input_data (gui_buffers, "/cursor", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_CURSOR, gui_key_get_current_context ()); - input_data (gui_buffers, "/cursor stop", NULL, 0); + input_data (gui_buffers, "/cursor stop", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ()); - input_data (gui_buffers, "/input search_text_here", NULL, 0); + input_data (gui_buffers, "/input search_text_here", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_SEARCH, gui_key_get_current_context ()); - input_data (gui_buffers, "/input search_stop", NULL, 0); + input_data (gui_buffers, "/input search_stop", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ()); - input_data (gui_buffers, "/input search_history", NULL, 0); + input_data (gui_buffers, "/input search_history", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_HISTSEARCH, gui_key_get_current_context ()); - input_data (gui_buffers, "/input search_stop", NULL, 0); + input_data (gui_buffers, "/input search_stop", NULL, 0, 0); LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ()); gui_buffers->text_search_where = 0; diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index aa0ea10dd..115e078fb 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -334,7 +334,7 @@ TEST_GROUP(IrcProtocolWithServer) ptr_buffer = gui_buffer_search_by_full_name (buffer); if (ptr_buffer) - input_data (ptr_buffer, data, NULL, 0); + input_data (ptr_buffer, data, NULL, 0, 0); record_stop (); } diff --git a/tests/unit/plugins/test-plugin-api-info.cpp b/tests/unit/plugins/test-plugin-api-info.cpp index 914d5c1c7..07a31f9b0 100644 --- a/tests/unit/plugins/test-plugin-api-info.cpp +++ b/tests/unit/plugins/test-plugin-api-info.cpp @@ -961,7 +961,7 @@ TEST(PluginApiInfo, InfolistHistoryCb) infolist_free (infolist); /* history of core buffer */ - input_data (gui_buffers, "abc", NULL, 1); + input_data (gui_buffers, "abc", NULL, 1, 0); infolist = hook_infolist_get (NULL, "history", gui_buffers, NULL); CHECK(infolist); CHECK(infolist_next (infolist)); |