forked from AuroraMiddleware/gtk
Add some more templates tests
GtkActionBar and GtkSearchBar also use templates, add them here.
This commit is contained in:
parent
67a00991b7
commit
496f14ee53
@ -146,6 +146,26 @@ test_statusbar_basic (void)
|
||||
gtk_widget_destroy (widget);
|
||||
}
|
||||
|
||||
static void
|
||||
test_search_bar_basic (void)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
|
||||
widget = gtk_search_bar_new ();
|
||||
g_assert (GTK_IS_SEARCH_BAR (widget));
|
||||
gtk_widget_destroy (widget);
|
||||
}
|
||||
|
||||
static void
|
||||
test_action_bar_basic (void)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
|
||||
widget = gtk_action_bar_new ();
|
||||
g_assert (GTK_IS_ACTION_BAR (widget));
|
||||
gtk_widget_destroy (widget);
|
||||
}
|
||||
|
||||
static void
|
||||
test_app_chooser_widget_basic (void)
|
||||
{
|
||||
@ -351,6 +371,8 @@ main (int argc, char **argv)
|
||||
g_test_add_func ("/Template/GtkScaleButton/Basic", test_scale_button_basic);
|
||||
g_test_add_func ("/Template/GtkVolumeButton/Basic", test_volume_button_basic);
|
||||
g_test_add_func ("/Template/GtkStatusBar/Basic", test_statusbar_basic);
|
||||
g_test_add_func ("/Template/GtkSearchBar/Basic", test_search_bar_basic);
|
||||
g_test_add_func ("/Template/GtkActionBar/Basic", test_action_bar_basic);
|
||||
g_test_add_func ("/Template/GtkAppChooserWidget/Basic", test_app_chooser_widget_basic);
|
||||
g_test_add_func ("/Template/GtkAppChooserDialog/Basic", test_app_chooser_dialog_basic);
|
||||
g_test_add_func ("/Template/GtkColorChooserDialog/Basic", test_color_chooser_dialog_basic);
|
||||
|
Loading…
Reference in New Issue
Block a user