[gnome-builder] plugins/buildui: add tweaks for unit test locality



commit 9cfc321fefc493c92cc5762bcd6d86c1e1d8ed0f
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 26 17:48:35 2022 -0700

    plugins/buildui: add tweaks for unit test locality

 src/plugins/buildui/tweaks.ui | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
---
diff --git a/src/plugins/buildui/tweaks.ui b/src/plugins/buildui/tweaks.ui
index 88ee9d118..cbf9cd552 100644
--- a/src/plugins/buildui/tweaks.ui
+++ b/src/plugins/buildui/tweaks.ui
@@ -125,6 +125,32 @@
                 </child>
               </object>
             </child>
+            <child>
+              <object class="IdeTweaksGroup">
+                <property name="title" translatable="yes">Unit Tests</property>
+                <child>
+                  <object class="IdeTweaksRadio">
+                    <property name="title" translatable="yes">Build Pipeline</property>
+                    <property name="subtitle" translatable="yes">Run unit tests from within the build 
environment.</property>
+                    <property name="value">'pipeline'</property>
+                    <property name="binding">
+                      <object class="IdeTweaksSetting" id="binding_unit_test_locality">
+                        <property name="schema-id">org.gnome.builder.project</property>
+                        <property name="schema-key">unit-test-locality</property>
+                      </object>
+                    </property>
+                  </object>
+                </child>
+                <child>
+                  <object class="IdeTweaksRadio">
+                    <property name="title" translatable="yes">As Application</property>
+                    <property name="subtitle" translatable="yes">Run unit with access to display and other 
runtime environment features.</property>
+                    <property name="value">'runtime'</property>
+                    <property name="binding">binding_unit_test_locality</property>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
         </child>
         <child>


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