Example #1
0
int main(int argc, char** argv)
{
    g_thread_init(NULL);
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/atk/get_text_at_offset", test_webkit_atk_get_text_at_offset);
    return g_test_run ();
}
Example #2
0
int main(int argc, char** argv)
{
    g_thread_init(NULL);
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/websettings/user_agent", test_webkit_web_settings_user_agent);
    return g_test_run ();
}
Example #3
0
int
main (int argc, char *argv[])
{
    int ret;
    const char *xdg_data_dirs;
    char *new_xdg_data_dirs;
    char **dirs = NULL;
    char *schemas_dir;

    /* Save XDG_DATA_DIRS to set GSETTINGS_SCHEMA_DIR, otherwise we
     * won't find the sytem schemas. */
    xdg_data_dirs = g_getenv ("XDG_DATA_DIRS");
    if (!xdg_data_dirs)
        xdg_data_dirs = "/usr/local/share/:/usr/share/";

    dirs = g_strsplit (xdg_data_dirs, ":", -1);

    /* We can only use one directory, so use the first one or the system default. */
    schemas_dir = g_build_filename (dirs[0], "glib-2.0", "schemas", NULL);
    g_setenv ("GSETTINGS_SCHEMA_DIR", schemas_dir, TRUE);
    g_strfreev (dirs);
    g_free (schemas_dir);

    /* We need to make sure that XDG_DATA_DIRS includes a sensible
       directory where to find the mimetype database, otherwise bad
       stuff will happen. Prefix TEST_DIR for the test purposes. */
    new_xdg_data_dirs = g_strconcat (TEST_DIR, ":", xdg_data_dirs, NULL);
    g_setenv ("XDG_DATA_DIRS", new_xdg_data_dirs, TRUE);
    g_setenv ("XDG_DATA_HOME", TEST_DIR, TRUE);
    g_free (new_xdg_data_dirs);

    gtk_test_init (&argc, &argv);

    ephy_debug_init ();

    if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, NULL)) {
        g_debug ("Something wrong happened with ephy_file_helpers_init()");
        return -1;
    }

    _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
    g_application_register (G_APPLICATION (ephy_embed_shell_get_default ()), NULL, NULL);

    g_test_add_func ("/embed/ephy-embed-shell/launch_handler",
                     test_ephy_embed_shell_launch_handler);

    g_test_add_func ("/embed/ephy-embed-shell/web-view-created",
                     test_ephy_embed_shell_web_view_created);

    ret = g_test_run ();

    g_object_unref (ephy_embed_shell_get_default ());
    ephy_file_helpers_shutdown ();

    return ret;
}
Example #4
0
File: api.c Project: sam-m888/gtk
int
main (int argc, char *argv[])
{
  gtk_test_init (&argc, &argv, NULL);

  g_test_add_func ("/gtk_css_provider_load_data/not_null_terminated",
      gtk_css_provider_load_data_not_null_terminated);

  return g_test_run ();
}
int
main (int argc, char *argv[])
{
    gtk_test_init (&argc, &argv, NULL);

    g_test_add_func ("/regression/94f00eb04dd1433cf1cc9a3341f485124e38abd1", test_94f00eb04dd1433cf1cc9a3341f485124e38abd1);
    g_test_add_func ("/regression/9d6da33ff5c5e41e3521e1afd63d2d67bc915753", test_9d6da33ff5c5e41e3521e1afd63d2d67bc915753);

    return g_test_run ();
}
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/application_cache/maximum_size",
                    test_application_cache_maximum_size);

    return g_test_run();
}
Example #7
0
int main(int argc, char** argv)
{
    g_thread_init(NULL);
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/download/create", test_webkit_download_create);
    g_test_add_func("/webkit/download/perform", test_webkit_download_perform);
    return g_test_run ();
}
int
main (int argc, char** argv)
{
	gtk_test_init (&argc, &argv);

	g_test_add_func ("/PrintCompositor/buffer-ref", test_buffer_ref);
	g_test_add_func ("/PrintCompositor/buffer-view-ref", test_buffer_view_ref);

	return g_test_run();
}
int main(int argc, char **argv)
{
  gimp_test_bail_if_no_display ();
  gtk_test_init (&argc, &argv, NULL);

  ADD_TEST (read_and_write_session_files);

  /* Don't bother freeing stuff, the process is short-lived */
  return g_test_run ();
}
int main(int argc, char** argv)
{
    g_thread_init(NULL);
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/webbackforwardlist/add_item", test_webkit_web_back_forward_list_add_item);
    g_test_add_func("/webkit/webbackforwardlist/list_order", test_webkit_web_back_forward_list_order);
    g_test_add_func("/webkit/webhistoryitem/lifetime", test_webkit_web_history_item_lifetime);
    return g_test_run ();
}
Example #11
0
int
main (int argc, char **argv)
{
  gchar *schema_dir;

  /* These must be set before before gtk_test_init */
  g_setenv ("GIO_USE_VFS", "local", TRUE);
  g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);

  /* initialize test program */
  gtk_test_init (&argc, &argv);

  /* g_test_build_filename must be called after gtk_test_init */
  schema_dir = g_test_build_filename (G_TEST_BUILT, "", NULL);
  g_setenv ("GSETTINGS_SCHEMA_DIR", schema_dir, TRUE);

  /* This environment variable cooperates with gtk_widget_destroy()
   * to assert that all automated compoenents are properly finalized
   * when a given composite widget is destroyed.
   */
  g_assert (g_setenv ("GTK_WIDGET_ASSERT_COMPONENTS", "1", TRUE));

  g_test_add_func ("/Template/GtkDialog/Basic", test_dialog_basic);
  g_test_add_func ("/Template/GtkDialog/OverrideProperty", test_dialog_override_property);
  g_test_add_func ("/Template/GtkMessageDialog/Basic", test_message_dialog_basic);
  g_test_add_func ("/Template/GtkAboutDialog/Basic", test_about_dialog_basic);
  g_test_add_func ("/Template/GtkInfoBar/Basic", test_info_bar_basic);
  g_test_add_func ("/Template/GtkLockButton/Basic", test_lock_button_basic);
  g_test_add_func ("/Template/GtkAssistant/Basic", test_assistant_basic);
  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);
  g_test_add_func ("/Template/GtkFileChooserWidget/Basic", test_file_chooser_widget_basic);
  g_test_add_func ("/Template/GtkFileChooserDialog/Basic", test_file_chooser_dialog_basic);
  g_test_add_func ("/Template/GtkFileChooserButton/Basic", test_file_chooser_button_basic);
  g_test_add_func ("/Template/GtkFontButton/Basic", test_font_button_basic);
  g_test_add_func ("/Template/GtkFontChooserWidget/Basic", test_font_chooser_widget_basic);
  g_test_add_func ("/Template/GtkFontChooserDialog/Basic", test_font_chooser_dialog_basic);
  g_test_add_func ("/Template/GtkRecentChooserWidget/Basic", test_recent_chooser_widget_basic);

#ifdef HAVE_UNIX_PRINT_WIDGETS
  g_test_add_func ("/Template/UnixPrint/GtkPageSetupUnixDialog/Basic", test_page_setup_unix_dialog_basic);
  g_test_add_func ("/Template/UnixPrint/GtkPrintUnixDialog/Basic", test_print_unix_dialog_basic);
#endif

  g_free (schema_dir);

  return g_test_run();
}
Example #12
0
int main(int argc, char *argv[])
{
	/* initialization */
	gtk_test_init(&argc, &argv, NULL);

	g_test_add_func("/gebr/help/about", test_gebr_help_about);
	/* FIXME: this test is not passing anymore
	g_test_add_func("/gebr/help/ckeditor/confirm-save", test_gebr_help_ckeditor_confirm_save);
	*/
	return g_test_run();

}
int main(int argc, char** argv)
{
	gtk_test_init(&argc, &argv, NULL);

	g_test_add_func("/blacklist/active", test_set_blacklist_active);
	g_test_add_func("/blacklist/empty", test_empty_blacklist);

	/* mute standard debug output from plugin */
	g_log_set_handler("dynlist", G_LOG_LEVEL_DEBUG, redirect_log, NULL);

	return g_test_run();
}
Example #14
0
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");

    g_test_add("/webkit/domdocument/test_title",
               DomDocumentFixture, HTML_DOCUMENT_TITLE,
               dom_document_fixture_setup,
               test_dom_document_title,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_get_elements_by_tag_name",
               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS,
               dom_document_fixture_setup,
               test_dom_document_get_elements_by_tag_name,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_get_elements_by_class_name",
               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS_CLASS,
               dom_document_fixture_setup,
               test_dom_document_get_elements_by_class_name,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_get_element_by_id",
               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS_ID,
               dom_document_fixture_setup,
               test_dom_document_get_element_by_id,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_get_links",
               DomDocumentFixture, HTML_DOCUMENT_LINKS,
               dom_document_fixture_setup,
               test_dom_document_get_links,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_table_insert_row",
               DomDocumentFixture, HTML_DOCUMENT_TABLE,
               dom_document_fixture_setup,
               test_dom_document_insert_row,
               dom_document_fixture_teardown);

    g_test_add("/webkit/domdocument/test_garbage_collection",
               DomDocumentFixture, HTML_DOCUMENT_LINKS,
               dom_document_fixture_setup,
               test_dom_document_garbage_collection,
               dom_document_fixture_teardown);

    return g_test_run();
}
Example #15
0
int main (int argc, char* argv[])
{
    g_type_init ();
    g_thread_init (NULL);
    gtk_test_init (&argc, &argv);

    settings = g_settings_new ("org.gnome.marlin.preferences");
    
    /* FIXME: tags should be initialized. */
    //tags = marlin_view_tags_new ();

    g_test_add_func("/marlin/marlin_window_columns", marlin_window_columns_tests);
    return g_test_run();
}
int main(int argc, char** argv)
{
	gtk_test_init(&argc, &argv, NULL);

	g_test_add_func("/dbSong/free_next_strListItem", test_free_next_strListItem);
	g_test_add_func("/dbSong/clear_strListItem", test_clear_strListItem);
	g_test_add_func("/dbSong/exists_strList", test_exists_strList);
	g_test_add_func("/dbSong/exists_dbList", test_exists_dbList);

	/* mute standard debug output from plugin */
	g_log_set_handler("dynlist", G_LOG_LEVEL_DEBUG, redirect_log, NULL);

	return g_test_run();
}
int main (int argc, char* argv[])
{
    //g_test_init (&argc, &argv, NULL);
    g_type_init ();
    gtk_test_init (&argc, &argv);

    g_test_add_func("/marlin/goffile", marlincore_tests_file);
    g_test_add_func("/marlin/goffile", marlincore_tests_goffile);
    //g_test_add_func("/marlin/gof", marlin_location_bar_tests);
    /* only used for local tests with local files */
    //g_test_add_func ("/marlin/icon_info", marlincore_tests_icon_info);

    return g_test_run();
}
Example #18
0
int
main (int   argc,
      char *argv[])
{
  gtk_test_init (&argc, &argv);
  gtk_test_register_all_types();
  g_test_add_func ("/ui-tests/text-access", test_text_access);
  g_test_add_func ("/ui-tests/button-clicks", test_button_clicks);
  g_test_add_func ("/ui-tests/keys-events", test_button_keys);
  g_test_add_func ("/ui-tests/slider-ranges", test_slider_ranges);
  g_test_add_func ("/ui-tests/xserver-sync", test_xserver_sync);
  g_test_add_func ("/ui-tests/spin-button-arrows", test_spin_button_arrows);
  return g_test_run();
}
Example #19
0
int
main (int argc, char *argv[])
{
    gtk_test_init (&argc, &argv);
    g_test_bug_base ("http://bugzilla.gnome.org/");
    gtk_test_register_all_types();

    g_test_add_func ("/tests/iconview-new", test_iconview_new);
    g_test_add_func ("/tests/iconview-new-with-area", test_iconview_new_with_area);
    g_test_add_func ("/tests/iconview-object-new", test_iconview_object_new);
    g_test_add_func ("/tests/iconview-subclass0", test_iconview_subclass0);
    g_test_add_func ("/tests/iconview-subclass1", test_iconview_subclass1);
    g_test_add_func ("/tests/iconview-subclass2", test_iconview_subclass2);
    g_test_add_func ("/tests/iconview-subclass3", test_iconview_subclass3);

    g_test_add_func ("/tests/combobox-new", test_combobox_new);
    g_test_add_func ("/tests/combobox-new-with-area", test_combobox_new_with_area);
    g_test_add_func ("/tests/combobox-object-new", test_combobox_object_new);
    g_test_add_func ("/tests/combobox-subclass0", test_combobox_subclass0);
    g_test_add_func ("/tests/combobox-subclass1", test_combobox_subclass1);
    g_test_add_func ("/tests/combobox-subclass2", test_combobox_subclass2);
    g_test_add_func ("/tests/combobox-subclass3", test_combobox_subclass3);

    g_test_add_func ("/tests/cellview-new", test_cellview_new);
    g_test_add_func ("/tests/cellview-new-with-context", test_cellview_new_with_context);
    g_test_add_func ("/tests/cellview-object-new", test_cellview_object_new);
    g_test_add_func ("/tests/cellview-subclass0", test_cellview_subclass0);
    g_test_add_func ("/tests/cellview-subclass1", test_cellview_subclass1);
    g_test_add_func ("/tests/cellview-subclass2", test_cellview_subclass2);
    g_test_add_func ("/tests/cellview-subclass3", test_cellview_subclass3);

    g_test_add_func ("/tests/column-new", test_column_new);
    g_test_add_func ("/tests/column-new-with-area", test_column_new_with_area);
    g_test_add_func ("/tests/column-object-new", test_column_object_new);
    g_test_add_func ("/tests/column-subclass0", test_column_subclass0);
    g_test_add_func ("/tests/column-subclass1", test_column_subclass1);
    g_test_add_func ("/tests/column-subclass2", test_column_subclass2);
    g_test_add_func ("/tests/column-subclass3", test_column_subclass3);

    g_test_add_func ("/tests/completion-new", test_completion_new);
    g_test_add_func ("/tests/completion-new-with-area", test_completion_new_with_area);
    g_test_add_func ("/tests/completion-object-new", test_completion_object_new);
    g_test_add_func ("/tests/completion-subclass0", test_completion_subclass0);
    g_test_add_func ("/tests/completion-subclass1", test_completion_subclass1);
    g_test_add_func ("/tests/completion-subclass2", test_completion_subclass2);
    g_test_add_func ("/tests/completion-subclass3", test_completion_subclass3);

    return g_test_run();
}
Example #20
0
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, 0);
    g_setenv("WEBKIT_EXEC_PATH", WEBKIT_EXEC_PATH, FALSE);
    g_setenv("WEBKIT_INJECTED_BUNDLE_PATH", WEBKIT_INJECTED_BUNDLE_PATH, FALSE);
    g_test_bug_base("https://bugs.webkit.org/");

    registerGResource();

    beforeAll();
    int returnValue = g_test_run();
    afterAll();

    return returnValue;
}
Example #21
0
int main(int argc, char** argv)
{
    g_thread_init(NULL);
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_add_func("/webkit/atk/get_text_at_offset", test_webkit_atk_get_text_at_offset);
    g_test_add_func("/webkit/atk/get_text_at_offset_forms", test_webkit_atk_get_text_at_offset_forms);
    g_test_add_func("/webkit/atk/get_text_at_offset_newlines", test_webkit_atk_get_text_at_offset_newlines);
    g_test_add_func("/webkit/atk/get_text_at_offset_textarea", test_webkit_atk_get_text_at_offset_textarea);
    g_test_add_func("/webkit/atk/get_text_at_offset_text_input", test_webkit_atk_get_text_at_offset_text_input);
    g_test_add_func("/webkit/atk/getTextInParagraphAndBodySimple", testWebkitAtkGetTextInParagraphAndBodySimple);
    g_test_add_func("/webkit/atk/getTextInParagraphAndBodyModerate", testWebkitAtkGetTextInParagraphAndBodyModerate);
    g_test_add_func("/webkit/atk/getTextInTable", testWebkitAtkGetTextInTable);
    return g_test_run ();
}
int
main (int    argc,
      char **argv)
{
  gtk_test_init (&argc, &argv, NULL);

  g_test_bug_base ("http://bugzilla.gnome.org/");

  register_list_store_tests ();
  register_tree_store_tests ();
  register_model_ref_count_tests ();
  register_sort_model_tests ();
  register_filter_model_tests ();

  return g_test_run ();
}
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");
    g_test_bug("24758");
    g_test_add_func("/webkit/webdatasource/get_initial_request",
                    test_webkit_web_data_source_get_initial_request);
    g_test_add_func("/webkit/webdatasource/api",
                    test_webkit_web_data_source);
    g_test_add_func("/webkit/webdatasource/unreachable_uri",
                    test_webkit_web_data_source_unreachable_uri);
    g_test_add_func("/webkit/webdatasource/lifetime",
                    test_webkit_web_data_source_lifetime);

    return g_test_run ();
}
Example #24
0
int main(int argc, char **argv)
{
	gtk_test_init(&argc, &argv);

	hash_init();
	resources_register_resource();
	gui_init();
	list_init();

	// Ignore user input during testing
	gtk_widget_set_sensitive(GTK_WIDGET(gui.window), false);

	gdk_threads_add_idle((GSourceFunc)test_run, NULL);
	gui_run();

	g_assert_not_reached();
	return EXIT_FAILURE;
}
Example #25
0
int
main (int    argc,
      char **argv)
{
  pixbuf_init ();
  /* initialize test program */
  gtk_test_init (&argc, &argv);

  /* register tests */
  g_test_add_func ("/GtkFileChooser/black_box", test_black_box);
  g_test_add_func ("/GtkFileChooser/confirm_overwrite", test_confirm_overwrite);
  g_test_add_func ("/GtkFileChooser/action_widgets", test_action_widgets);
  g_test_add_func ("/GtkFileChooser/reload", test_reload);
  g_test_add_func ("/GtkFileChooser/button_folder_states", test_button_folder_states);
  g_test_add_func ("/GtkFileChooser/folder_switch_and_filters", test_folder_switch_and_filters);

  /* run and check selected tests */
  return g_test_run();
}
Example #26
0
static gboolean
parse_command_line (int *argc, char ***argv)
{
  GError *error = NULL;
  GOptionContext *context;

  context = g_option_context_new ("- run GTK reftests");
  g_option_context_add_main_entries (context, test_args, NULL);
  g_option_context_set_ignore_unknown_options (context, TRUE);

  if (!g_option_context_parse (context, argc, argv, &error))
    {
      g_print ("option parsing failed: %s\n", error->message);
      return FALSE;
    }

  gtk_test_init (argc, argv);

  return TRUE;
}
Example #27
0
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");

    g_test_add("/webkit/domnode/test_hierarchy_navigation",
               DomNodeFixture, HTML_DOCUMENT_HIERARCHY_NAVIGATION,
               dom_node_fixture_setup,
               test_dom_node_hierarchy_navigation,
               dom_node_fixture_teardown);

    g_test_add("/webkit/domnode/test_insertion",
               DomNodeFixture, HTML_DOCUMENT_NODE_INSERTION,
               dom_node_fixture_setup,
               test_dom_node_insertion,
               dom_node_fixture_teardown);

    return g_test_run();
}
Example #28
0
int main(int argc, char **argv)
{
	gtk_test_init(&argc, &argv);

	hash_init();
	resources_register_resource();
	gui_init();
	list_init();

	// Ignore user input during testing
	gtk_widget_set_sensitive(GTK_WIDGET(gui.window), false);

	if (g_test_slow())
		gtk_widget_show_now(GTK_WIDGET(gui.window));

	callbacks_init();
	test_init();

	return g_test_run();
}
Example #29
0
int main(int argc, char** argv)
{
    gtk_test_init(&argc, &argv, NULL);

    g_test_bug_base("https://bugs.webkit.org/");

    g_test_add("/webkit/domdomview/signals",
               DomDomviewFixture, HTML_DOCUMENT,
               dom_domview_fixture_setup,
               test_dom_domview_signals,
               dom_domview_fixture_teardown);

    g_test_add("/webkit/domdomview/dispatch_event",
               DomDomviewFixture, HTML_DOCUMENT,
               dom_domview_fixture_setup,
               test_dom_domview_dispatch_event,
               dom_domview_fixture_teardown);

    return g_test_run();
}
Example #30
0
int
main (int argc, char **argv)
{
  /* initialize test program */
  gtk_test_init (&argc, &argv);

  /* This environment variable cooperates with gtk_widget_destroy()
   * to assert that all automated compoenents are properly finalized
   * when a given composite widget is destroyed.
   */
  g_assert (g_setenv ("GTK_WIDGET_ASSERT_COMPONENTS", "1", TRUE));

  g_test_add_func ("/Template/GtkDialog/Basic", test_dialog_basic);
  g_test_add_func ("/Template/GtkDialog/OverrideProperty", test_dialog_override_property);
  g_test_add_func ("/Template/GtkMessageDialog/Basic", test_message_dialog_basic);
  g_test_add_func ("/Template/GtkAboutDialog/Basic", test_about_dialog_basic);
  g_test_add_func ("/Template/GtkInfoBar/Basic", test_info_bar_basic);
  g_test_add_func ("/Template/GtkLockButton/Basic", test_lock_button_basic);
  g_test_add_func ("/Template/GtkAssistant/Basic", test_assistant_basic);
  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/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);
  g_test_add_func ("/Template/GtkFileChooserWidget/Basic", test_file_chooser_widget_basic);
  g_test_add_func ("/Template/GtkFileChooserDialog/Basic", test_file_chooser_dialog_basic);
  g_test_add_func ("/Template/GtkFileChooserButton/Basic", test_file_chooser_button_basic);
  g_test_add_func ("/Template/GtkFontButton/Basic", test_font_button_basic);
  g_test_add_func ("/Template/GtkFontChooserWidget/Basic", test_font_chooser_widget_basic);
  g_test_add_func ("/Template/GtkFontChooserDialog/Basic", test_font_chooser_dialog_basic);
  g_test_add_func ("/Template/GtkRecentChooserWidget/Basic", test_recent_chooser_widget_basic);

#ifdef HAVE_UNIX_PRINT_WIDGETS
  g_test_add_func ("/Template/UnixPrint/GtkPageSetupUnixDialog/Basic", test_page_setup_unix_dialog_basic);
  g_test_add_func ("/Template/UnixPrint/GtkPrintUnixDialog/Basic", test_print_unix_dialog_basic);
#endif

  return g_test_run();
}