Commit 3ba23ee0 authored by Adrien Plazas's avatar Adrien Plazas Committed by Adrien Plazas

tests: Init libhandy

This ensures we run the test the same way applications are expected to
run libhandy.
parent 39583997
Pipeline #3473 passed with stage
in 5 minutes and 8 seconds
......@@ -124,6 +124,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/ActionRow/add", test_hdy_action_row_add);
g_test_add_func("/Handy/ActionRow/add_action", test_hdy_action_row_add_action);
......
......@@ -58,6 +58,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/Arrows/methods", test_hdy_arrows_setters);
g_test_add_func("/Handy/Arrows/gobject", test_hdy_arrows_gobject);
......
......@@ -41,6 +41,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/ComboRow/set_for_enum", test_hdy_combo_row_set_for_enum);
......
......@@ -48,6 +48,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/DialerCycleButton/cycle_end", test_hdy_dialer_cycle_button_cycle_end);
g_test_add_func("/Handy/DialerCycleButton/cycle_timeout", test_hdy_dialer_cycle_button_cycle_timeout);
......
......@@ -73,6 +73,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/Dialer/setnumber", test_hdy_dialer_setnumber);
g_test_add_func("/Handy/Dialer/clear_number", test_hdy_dialer_clear_number);
......
......@@ -49,6 +49,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/ExpanderRow/enable_expansion", test_hdy_expander_row_enable_expansion);
g_test_add_func("/Handy/ExpanderRow/show_enable_switch", test_hdy_expander_row_show_enable_switch);
......
......@@ -69,6 +69,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/HeaderGroup/focus", test_hdy_header_group_focus);
g_test_add_func("/Handy/HeaderGroup/add_remove", test_hdy_header_group_add_remove);
......
......@@ -86,6 +86,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/SearchBar/add", test_hdy_search_bar_add);
g_test_add_func("/Handy/SearchBar/connect_entry", test_hdy_search_bar_connect_entry);
......
......@@ -48,6 +48,7 @@ main (gint argc,
gchar *argv[])
{
gtk_test_init (&argc, &argv, NULL);
hdy_init (&argc, &argv);
g_test_add_func("/Handy/StringUTF8/truncate", test_hdy_string_utf8_truncate);
g_test_add_func("/Handy/StringUTF8/len", test_hdy_string_utf8_len);
......
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