summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-12-25 17:00:37 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-12-25 17:00:37 +0100
commitc9796a31415dee3ac3745f6b4c0792d7a9da313b (patch)
treec31160c4514ab562caefab8e060a26d729ef0b97 /tests
parent9bd6cbf4bdfc0e228628f56614ce98279a957bc6 (diff)
downloadweechat-c9796a31415dee3ac3745f6b4c0792d7a9da313b.zip
core: move `/input` jump actions to command `/buffer jump`
Actions moved to command `/buffer jump`: * `/input jump_smart` -> `/buffer jump smart` * `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited` * `/input jump_next_visited_buffer` -> `/buffer jump next_visited` * `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed`
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/gui/test-gui-buffer.cpp50
-rw-r--r--tests/unit/gui/test-gui-input.cpp40
2 files changed, 50 insertions, 40 deletions
diff --git a/tests/unit/gui/test-gui-buffer.cpp b/tests/unit/gui/test-gui-buffer.cpp
index 06f94d127..4c056cfe3 100644
--- a/tests/unit/gui/test-gui-buffer.cpp
+++ b/tests/unit/gui/test-gui-buffer.cpp
@@ -1389,6 +1389,56 @@ TEST(GuiBuffer, VisitedGetIndexNext)
/*
* Tests functions:
+ * gui_buffer_jump_smart
+ */
+
+TEST(GuiBuffer, JumpSmart)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
+ * gui_buffer_jump_last_buffer_displayed
+ */
+
+TEST(GuiBuffer, JumpLastBufferDisplayed)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
+ * gui_buffer_jump_visited_by_index
+ */
+
+TEST(GuiBuffer, JumpVisitedByIndex)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
+ * gui_buffer_jump_previously_visited_buffer
+ */
+
+TEST(GuiBuffer, JumpPreviouslyVisitedBuffer)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
+ * gui_buffer_jump_next_visited_buffer
+ */
+
+TEST(GuiBuffer, JumpNextVisitedBuffer)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
* gui_buffer_hdata_buffer_cb
*/
diff --git a/tests/unit/gui/test-gui-input.cpp b/tests/unit/gui/test-gui-input.cpp
index 2476baf7d..a0dfac7a8 100644
--- a/tests/unit/gui/test-gui-input.cpp
+++ b/tests/unit/gui/test-gui-input.cpp
@@ -784,46 +784,6 @@ TEST(GuiInput, HistoryGlobalNext)
/*
* Tests functions:
- * gui_input_jump_smart
- */
-
-TEST(GuiInput, JumpSmart)
-{
- /* TODO: write tests */
-}
-
-/*
- * Tests functions:
- * gui_input_jump_last_buffer_displayed
- */
-
-TEST(GuiInput, JumpLastBufferDisplayed)
-{
- /* TODO: write tests */
-}
-
-/*
- * Tests functions:
- * gui_input_jump_previously_visited_buffer
- */
-
-TEST(GuiInput, JumpPreviouslyVisitedBuffer)
-{
- /* TODO: write tests */
-}
-
-/*
- * Tests functions:
- * gui_input_jump_next_visited_buffer
- */
-
-TEST(GuiInput, JumpNextVisitedBuffer)
-{
- /* TODO: write tests */
-}
-
-/*
- * Tests functions:
* gui_input_hotlist_clear
*/