summaryrefslogtreecommitdiff
path: root/gtk/gtktestutils.c
Commit message (Collapse)AuthorAgeFilesLines
* Doc fixesMatthias Clasen2008-07-211-5/+10
| | | | svn path=/trunk/; revision=20887
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* #undef GTK_DISABLE_DEPRECATED, clean up includes a bit.Michael Natterer2008-06-171-1/+3
| | | | | | | | | | | | | 2008-06-17 Michael Natterer <mitch@imendio.com> * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up includes a bit. * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled in via deprecated headers. svn path=/trunk/; revision=20416
* don't include <gdk/gdktestutils.h>.Michael Natterer2008-05-281-1/+0
| | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>. svn path=/trunk/; revision=20218
* Make gtk-doc happy:Johan Dahlin2008-03-061-2/+2
| | | | | | | | | | | | | 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
* Add gtk_tool_shell_get_typeMatthias Clasen2008-02-151-0/+4
| | | | | | | | | | 2008-02-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: Add gtk_tool_shell_get_type * gtk/gtktestutils.c: Don't generate unnecessary PLT entries svn path=/trunk/; revision=19585
* Restore accidentally removed unsetting of GTK_MODULES.Johan Dahlin2008-01-251-0/+1
| | | | | | | | | | 2008-01-25 Johan Dahlin <johan@gnome.org> * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed unsetting of GTK_MODULES. svn path=/trunk/; revision=19406
* Implement accessible support, fixes #454653.Johan Dahlin2008-01-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Johan Dahlin <johan@gnome.org> * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init), (gtk_widget_buildable_get_internal_child), (free_action), (free_relation), (gtk_widget_buildable_parser_finished), (accessibility_start_element), (gtk_widget_buildable_custom_tag_start), (gtk_widget_buildable_custom_finished): Implement accessible support, fixes #454653. * gtk/gtk-builder-convert: Add support for migrating old glade files * tests/buildertest.c: (test_widget), (test_file): Add accessible tests and improve the test_file function to display toplevels and run dialogs. svn path=/trunk/; revision=19403
* removed old testutils special casing so test widgets are always queues for13:28:02 Tim Janik2008-01-111-3/+1
| | | | | | | | | | | | | | | 2008-01-11 13:28:02 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils special casing so test widgets are always queues for destruction during teardown. * gtk/tests/testing.c: removed bits left-over from testing without gtestutils.h. svn path=/trunk/; revision=19352
* add a call to g_test_bug_base().Kristian Rietveld2007-12-131-0/+1
| | | | | | | | | | | | | 2007-12-13 Kristian Rietveld <kris@imendio.com> * gtk/gtktestutils.c (gtk_test_init): add a call to g_test_bug_base(). * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to appriopriate tests. svn path=/trunk/; revision=19171
* run tests in current dir after setting up the logging directory, so their18:59:59 Tim Janik2007-12-051-2/+29
| | | | | | | | | | | | | | | | | | | | 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
* call g_test_init() from gtk_test_init().15:39:40 Tim Janik2007-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-22 15:39:40 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). * gtk/tests/testing.c: use g_test_add_func() to register tests and use g_test_run() to run the tests to integrate with the testing framework. * gtk/tests/Makefile.am: removed exemplary testing rules. * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: * docs/reference/Makefile.am, docs/tools/Makefile.am: * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: * demos/gtk-demo/Makefile.am, demos/Makefile.am: * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: * modules/engines/ms-windows/Theme/Makefile.am: * modules/engines/ms-windows/Makefile.am: * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. svn path=/trunk/; revision=19033
* 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-192/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+769
* 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