[gnome-builder/wip/gtk4-port: 1774/1774] plugins/testui: add keybinding to run all unit tests




commit 8c106ed0540ad3eb3282ef42fafa96caa4364919
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jul 9 16:58:46 2022 -0700

    plugins/testui: add keybinding to run all unit tests

 src/plugins/testui/gtk/keybindings.json | 1 +
 src/plugins/testui/testui.gresource.xml | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/plugins/testui/gtk/keybindings.json b/src/plugins/testui/gtk/keybindings.json
new file mode 100644
index 000000000..ad9a6a565
--- /dev/null
+++ b/src/plugins/testui/gtk/keybindings.json
@@ -0,0 +1 @@
+{ "trigger" : "<Control><Alt><Shift>u", "action" : "test-manager.test-all", "when" : "hasProject()", "phase" 
: "capture" },
diff --git a/src/plugins/testui/testui.gresource.xml b/src/plugins/testui/testui.gresource.xml
index 0e756bdea..ac26e9a85 100644
--- a/src/plugins/testui/testui.gresource.xml
+++ b/src/plugins/testui/testui.gresource.xml
@@ -2,6 +2,7 @@
 <gresources>
   <gresource prefix="/plugins/testui">
     <file>testui.plugin</file>
+    <file>gtk/keybindings.json</file>
     <file preprocess="xml-stripblanks">gtk/menus.ui</file>
     <file preprocess="xml-stripblanks">gbp-testui-output-panel.ui</file>
     <file preprocess="xml-stripblanks">gbp-testui-panel.ui</file>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]