Commit 2b5d028b authored by Christian Hergert's avatar Christian Hergert

tests: add stubs to reload tests

parent 225a2347
......@@ -7,5 +7,11 @@
<attribute name="action">test-manager.run-all</attribute>
</item>
</section>
<section id="testing-menu-reload-section">
<item>
<attribute name="label" translatable="yes">Reload tests</attribute>
<attribute name="action">test-manager.reload-tests</attribute>
</item>
</section>
</menu>
</interface>
......@@ -77,9 +77,12 @@ enum {
static void initable_iface_init (GInitableIface *iface);
static void ide_test_manager_actions_run_all (IdeTestManager *self,
GVariant *param);
static void ide_test_manager_actions_reload (IdeTestManager *self,
GVariant *param);
DZL_DEFINE_ACTION_GROUP (IdeTestManager, ide_test_manager, {
{ "run-all", ide_test_manager_actions_run_all },
{ "reload-tests", ide_test_manager_actions_reload },
})
G_DEFINE_TYPE_WITH_CODE (IdeTestManager, ide_test_manager, IDE_TYPE_OBJECT,
......@@ -768,6 +771,13 @@ ide_test_manager_actions_run_all (IdeTestManager *self,
ide_test_manager_run_all_async (self, NULL, NULL, NULL);
}
static void
ide_test_manager_actions_reload (IdeTestManager *self,
GVariant *param)
{
g_assert (IDE_IS_TEST_MANAGER (self));
}
GtkTreeModel *
_ide_test_manager_get_model (IdeTestManager *self)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment