summaryrefslogtreecommitdiff
path: root/gtk/gtktestutils.h
Commit message (Collapse)AuthorAgeFilesLines
* The big versioning cleanupMatthias Clasen2018-02-061-1/+1
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* tests: Remove gtk_widget_send_key()Benjamin Otte2017-01-081-4/+0
| | | | It's unused in GTK.
* tests: Remove widget find functionsBenjamin Otte2017-01-081-11/+0
| | | | | | | They are all unused by GTK. And other people can write their own find functions if they need any in their tests.
* testutils: Remove deprecated APIRico Tzschichholz2016-10-231-30/+0
|
* testutils: Deprecate a bunch of ugly functionsBenjamin Otte2015-11-041-9/+9
| | | | | | We've by now disabled and then remved all of the tests that use these functions because they never worked properly. So let's depecate these functions before somebody starts using them.
* API: Add gtk_test_widget_wait_for_draw ()Benjamin Otte2013-05-171-0/+2
| | | | | See docs and following commits for what it's supposed to do. Let's hope it fixes the flakiness in tests.
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+16
| | | | Add annotations to all exported functions in GTK+ headers.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Remove GtkObject completelyMatthias Clasen2010-09-261-0/+3
|
* gtk/gtkmountoperation.h gtk/gtktestutils.h remove as many includes asMichael Natterer2008-06-231-3/+0
| | | | | | | | | | | | 2008-06-23 Michael Natterer <mitch@imendio.com> * gtk/gtkmountoperation.h * gtk/gtktestutils.h * gtk/gtkshow.[ch]: remove as many includes as possible from these new files. They can't be included individually, so nothing can break. svn path=/trunk/; revision=20673
* gtk/gtkmountoperation.h gtk/gtkshow.h gtk/gtktestutils.h no need to allowMichael Natterer2008-05-301-1/+1
| | | | | | | | | | | | | | 2008-05-30 Michael Natterer <mitch@imendio.com> * gtk/gtkmountoperation.h * gtk/gtkshow.h * gtk/gtktestutils.h * gtk/gtktoolshell.h: no need to allow disabling single includes conditionally in these new files. Simply forbid including them individually from the beginning. svn path=/trunk/; revision=20255
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Make gtk-doc happy:Johan Dahlin2008-03-061-1/+1
| | | | | | | | | | | | | 2008-03-06 Johan Dahlin <johan@gnome.org> Make gtk-doc happy: * gtk/gtkstyle.c: npoints->n_points. * gtk/gtktestutils.h: widget->spinner * gtk/gtktestutils.c: argc->argcp, argv->argvp svn path=/trunk/; revision=19725
* gdk/gdktestutils.h Remove ; trailing G_BEGIN/END_DECLSJohan Dahlin2008-02-141-2/+2
| | | | | | | | | | 2008-02-14 Johan Dahlin <johan@gnome.org> * gdk/gdktestutils.h * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS svn path=/trunk/; revision=19564
* run tests in current dir after setting up the logging directory, so their18:59:59 Tim Janik2007-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | 2007-12-05 18:59:59 Tim Janik <timj@imendio.com> * gtk+/Makefile.decl: run tests in current dir after setting up the logging directory, so their results get properly merged into the resulting test log. * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for tests to loop over registered Gdk/Gtk+ types. * gtk+/tests/objecttests.c: new test program, implements automated property tests. several properties are blacklisted because they seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose can be used to test blacklisted properties and see which proprty failed. svn path=/trunk/; revision=19115
* Fixed copyright for newly submitted files.Tim Janik2007-11-201-1/+2
| | | | svn path=/trunk/; revision=19014
* Moved Gdk test functions from Gtk+ to Gdk test utils.Tim Janik2007-11-201-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * gdk/Makefile.am: added gdktestutils.h to public includes. * gdk/gdk.h: added gdktestutils.h to public includes. * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync. * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync. * gdk/x11/Makefile.am: build gdktestutils-x11.c. * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync. * gtk/gtktestutils.c: * gtk/gtktestutils.h: * gtk/gtk.symbols: removed gtk_test_simulate_button gtk_test_simulate_key, gtk_test_xserver_render_sync. * gtk/tests/testing.c: call gdk_test_render_sync. svn path=/trunk/; revision=19012
* Added Gtk+ testing utilities.Tim Janik2007-11-201-0/+80
* gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions. for the most part, the functions herein involve navigating and interacting with dialog elements programatically, to automate user interaction tests of dialogs and widgets. * gtk/gtk.h: include gtk/gtktestutils.h as public API. * gtk/gtk.symbols: added gtk_test_* symbols. * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build. generate gtktypefuncs.c which contains a list of all _get_type functions in Gtk+ and Gdk. svn path=/trunk/; revision=19010