summaryrefslogtreecommitdiff
path: root/gtk/gtktestutils.c
Commit message (Collapse)AuthorAgeFilesLines
* spinbutton: redesign to use an horizontal layoutCosimo Cecchi2011-11-281-7/+7
| | | | | | | | | | | Rewrite GtkSpinButton to use a touchscreen friendly horizontal layout. Other features include: - support for theming buttons with nth-child - full support for RTL - use + and - symbolic icons instead of arrows - general streamlining and cleanup of a lot of related code https://bugzilla.gnome.org/show_bug.cgi?id=663359
* Move gtkstyle and gtkrc to deprecated/Matthias Clasen2011-11-021-0/+6
| | | | | | This required a somewhat more substantial include reshuffling. Some typedefs have been moved to gtkiconfactory.h and to gtksettings.h.
* some minor doc fixesMatthias Clasen2011-07-221-5/+6
|
* Use boxes instead of vboxesMatthias Clasen2011-06-071-2/+2
|
* Minor documentation improvementsMurray Cumming2011-02-231-1/+1
| | | | Mostly correcting it's to its and changing some , to .
* Include gtkx.h hereMatthias Clasen2011-01-301-1/+1
| | | | | When building under X11, gtktypefuncs.c includes references to gdk X11 backend functions, so we need to include the header.
* Correct gtk-doc syntax and add missing (transfer)Johan Dahlin2011-01-201-17/+17
|
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-2/+4
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-4/+4
|
* testutils: Update adjustment usage for sealingBenjamin Otte2011-01-051-3/+8
|
* Remove reference to GTK2_RC_FILES from the docsMatthias Clasen2010-12-201-1/+0
| | | | Pointed out in bug 637471.
* Disable XI2 in gtk_test_init()Carlos Garnacho2010-12-201-0/+8
| | | | | | | gdk_test_simulate_*() uses XSendEvent, which doesn't currently work with XI2/GenericEvents, so make tests use core events for the time being. Luckily there's a lot more to test than low-level event handling in these tests.
* Handle NULL intp in test_increment_intp()Martin Nordholts2010-11-021-1/+2
| | | | | | Support passing NULL for &int to gtk_test_display_button_window() so we can use that function also when we are not interested in counting clicks.
* testutils: Get rid of gdk_drawable_get_size() usageBenjamin Otte2010-09-261-3/+3
|
* gtk/gtktestutils.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-6/+17
|
* Add _gtk_spin_button_get_panel private functionJavier Jardón2010-07-131-4/+9
| | | | It's needed in gtktestutils.c
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [gdk] Remove GdkWindowObject public structureJavier Jardón2010-07-011-6/+2
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
* Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guardsJavier Jardón2010-06-071-1/+0
|
* Move documentation to inline comments: Testing utilitiesJavier Jardón2010-04-281-1/+6
|
* [annotations] Add allow-noneJohan Dahlin2010-02-191-1/+1
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Deprecate GDK_WINDOW_OBJECT and GdkWindowObjectAlexander Larsson2009-09-041-0/+2
|
* Bug 567761 – Spellfixes in GTK+ documentationMatthias Clasen2009-01-231-3/+3
| | | | | | | | * gdk/x11/gdkselection-x11.c: * gtk/gtktestutils.c: Fix typos in the docs. svn path=/trunk/; revision=22189
* Fix a typo in the docsMatthias Clasen2008-09-041-1/+1
| | | | svn path=/trunk/; revision=21276
* Add missing Since tagsChristian Dywan2008-08-151-0/+32
| | | | svn path=/trunk/; revision=21128
* 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