mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Improve GApplication test coverage
Exercise more of the GActionMap implementation.
This commit is contained in:
parent
5528a0f408
commit
2cafe37e19
@ -428,6 +428,9 @@ on_activate (GApplication *app)
|
||||
state = g_action_group_get_action_state (G_ACTION_GROUP (app), "test");
|
||||
g_assert (g_variant_get_boolean (state) == TRUE);
|
||||
|
||||
action = g_action_map_lookup_action (G_ACTION_MAP (app), "test");
|
||||
g_assert (action != NULL);
|
||||
|
||||
g_action_map_remove_action (G_ACTION_MAP (app), "test");
|
||||
|
||||
actions = g_action_group_list_actions (G_ACTION_GROUP (app));
|
||||
|
Loading…
Reference in New Issue
Block a user