summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Rename test directory to testsFederico Mena Quintero2022-05-193-217/+0
| | | | | | at-spi2-core had a "test" directory, while atk has "tests". This is so that both directory names will be the same during the merge.
* test/memory.c: Add assertions and diagnostics around forkingFederico Mena Quintero2021-12-131-3/+12
|
* test: fix compiler warningMike Gorse2020-08-081-0/+1
|
* Merge branch 'memory_verbose' into 'master'Mike Gorse2020-08-031-0/+5
|\ | | | | | | | | tests: make test a bit verbose See merge request GNOME/at-spi2-core!43
| * tests: make test a bit verboseSamuel Thibault2020-08-021-0/+5
| | | | | | | | So we know that it actually does some checks.
* | Replace gedit with a light-weight test applicationGlady Handschumaker2020-07-253-5/+119
|/ | | | | | | | The test `memory` depends on `gedit` being installed. Create our own small test application which can be used instead of `gedit`. Note: The 'depends' argument for tests need at least meson version 0.46.0. Thus, bump that requirement.
* Drop autotools supportMike Gorse2017-10-301-10/+0
|
* autoconf: include missing meson build filesMike Gorse2017-08-211-0/+2
|
* Add Meson build systemEmmanuele Bassi2017-05-241-0/+4
| | | | | | | | | | | | | Meson is a meta-build system which provides us with various advantages over Autotools: - it's portable to various platforms - it's easy to understand - it's fast - it's well maintained Various libraries in the GNOME stack have been ported to it, including GTK+ itself.
* Add names to every timeoutBastien Nocera2015-01-061-2/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710644
* Use git.mk to maintain .gitignore.Evan Nemerson2014-06-071-0/+2
|
* Make AtspiEventListenerCb not call for a const datumMike Gorse2013-10-101-0/+1
| | | | | AtspiEventListenerCb is currently defined as (transfer full), so the caller owns the struct and needs to free it, so it should not be const.
* build: Fix srcdir != builddirColin Walters2013-05-101-1/+1
|
* Fix various warningsMike Gorse2013-01-161-0/+1
|
* Fix build with picky linkersBehdad Esfahbod2012-12-301-1/+1
|
* build: really fix srcdir != builddirGiovanni Campagna2012-12-281-1/+1
| | | | | | The file we want is in srcdir, not builddir. http://ostree.gnome.org/work/tasks/gnomeos-3.8-build/2012.2854/log
* build: Fix srcdir != builddirColin Walters2012-12-271-0/+1
|
* Fix some ref count issuesMike Gorse2012-12-272-0/+83
| | | | | | | Add refs in some places where they were previously not present, and be more thorough about removing refs when disposing. This should fix some leaks, though it is likely that many still remain. Also add a test program that can be used to test for some leaks.
* 2008-05-16 Mark Doffman <mark.doffman@codethink.co.uk>Mark Doffman2008-05-1618-5959/+0
| | | | | | | | | | | | | | | | | | | | | | Re-organize the directories. The main purpose of this change is to remove CORBA code and references that are no longer used. * atk-adaptor/ Code here used to live in libspi and atk-bridge. * droute/ The droute module has been moved from libspi to its own directory. * spi-common Code and definitions common to registryd and the atk-adaptor. Mostly moved from libspi/dbus.c and accessible.h. * cspi/ Removed for the moment. Will have to be mostly rewritten for D-Bus.
* 2007-05-17 Li Yuan <li.yuan@sun.com>liyuan2007-05-171-1/+1
| | | | | | | | * test/Makefile.am: Bug #439057. Add the original PATH to PATH. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@928 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>kmaraas2007-01-242-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * cspi/bonobo/cspi-bonobo-listener.h: * cspi/bonobo/cspi-bonobo.c: (cspi_init): * cspi/spi_hypertext.c: (AccessibleHypertext_getLink): * cspi/spi_main.c: (SPI_eventIsReady): * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read): * libspi/streamablecontent.c: * libspi/util.c: (spi_re_entrant_list_delete_link): * login-helper/login-helper.c: * registryd/deviceeventcontroller.c: (spi_controller_update_key_grabs), (isEvent): * registryd/registry.c: * test/key-listener-test.c: (simple_at_exit): * test/login-helper-server-test.c: (test_set_wm_dock), (test_post_window): Fix a bunch of warnings from sparse: - ANSIfication of function declarations - NULL vs 0 - Add some prototypes - make some stuff static git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@882 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Update svn:ignore and remove .cvsignore fileschpe2006-12-311-11/+0
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@873 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Documentation fixed for bug #351657.billh2006-08-172-1/+6
| | | | | | | Fixed the cspi return value demarshalling for AccessibleDocument_getAttributes. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@850 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Docs tweaks.billh2006-06-091-0/+15
| | | | | | | | | Fix marshalling of new states to/from ATK, and in cspi/libspi. Added STATE_VISITED. Added some table selection API test to event-listener-test. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@810 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>kmaraas2006-01-097-55/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Generate po/Makefile.in * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function * cspi/spi_streamablecontent.c: (accessible_bonobo_stream_client_seek), (AccessibleStreamableContent_seek): Remove unused vars. * libspi/application.c: Missing header. * libspi/text.c: (impl_getDefaultAttributes): Unused vars * login-helper/login-helper.c: (login_helper_finalize), (login_helper_init): Remove unused stuff * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym), (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars and surround some with #ifdef GRAB_BUTTON. * test/event-listener-test.c: (main), (report_event), (report_caret_event), (report_detail_event), (report_detail1_event), (report_bounds_event), (report_text_event), (report_text_selection_event), (report_active_descendant_changed_event), (report_children_changed_event), (report_name_changed_event), (report_description_changed_event), (report_parent_changed_event), (report_window_event), (report_table_summary_event), (report_table_header_event), (report_table_caption_event), (report_table_row_description_event), (report_table_column_description_event), (timing_test_event): Remove a bunch of unused variables and fix a slew of format specifiers * test/key-listener-test.c: (report_all_key_event): Format specifier * test/keypad-test.c: (print_key_event): Same * test/login-helper-server-test.c: (main): Include gtkmain.h and remove unused var. * test/screen-review-test.c: (main), (print_chunk_debug), (review_buffer_get_text_chunk), (debug_chunk_list), (string_guess_clip), (text_chunk_get_clipped_string), (text_chunk_list_to_string), (get_screen_review_line_at): Remove unused variables and fix format specifiers. * test/simple-at.c: (report_text_event): Format specifier fix. * test/stress-test.c: (main): Remove unused var. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@781 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>kmaraas2005-11-022-5/+2
| | | | | | | | | | | | | | * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener): * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek): * registryd/deviceeventcontroller.c: (spi_controller_notify_mouselisteners), (impl_generate_keyboard_event): * test/screen-review-test.c: (chunk_bounds_within): * test/test-simple.c: (test_desktop): Remove lots of unused code and fix compiler warnings. Closes bug #320049. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@770 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2005-07-25 Matthias Clasen <mclasen@redhat.com>matthiasc2005-07-251-1/+1
| | | | | | | | * test/window-listener-test.c: Fix a printf format error. (#169453) git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@761 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Fix make check.billh2005-07-151-3/+4
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@760 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Tweaks to event-listener-test.c.billh2005-05-101-8/+68
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@750 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>padraigo2005-01-251-0/+2
| | | | | | | | * tests/login-helper-server-test.c: Add return call to main function. Patch from Chris Lahey. Fixes bug #165129. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@731 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Revved to 1.6.2.billh2004-12-091-3/+56
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@726 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>kmaraas2004-09-296-10/+10
| | | | | | | | * libspi/accessible.c: (impl_accessibility_accessible_get_role_name), git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@711 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Fixes for #149962, #136986, #144086.billh2004-08-201-1/+1
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@693 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Added support for atk object:bounds-changed signals (bug #135253).billh2004-06-111-0/+18
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@674 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Fixed C99-ism. Thanks to Jens Granseuer for finding this.billh2004-06-011-1/+2
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@673 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>padraigo2004-05-282-0/+321
| | | | | | | | | | | | | * libloginhelper-1.0.pc.in: * idl/Accessibility_LoginHelper.idl: * login-helper/Makefile.am: * login-helper/login-helper.[ch]: * test/login-helper-client-test.c: * test/login-helper-server-test.c: Added files missing from CVS. Files obtained from at-spi-1.5.2 tarball. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@672 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Added LoginHelper interface. Fixed test progs to use proper prefixes onbillh2004-05-278-15/+15
| | | | | | | #include'ed files. Incremented to version 1.5.2. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@669 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Fix for bug #136656; send all test output from key-listener-test to stderr.billh2004-03-241-1/+1
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@641 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>padraigo2004-02-111-5/+4
| | | | | | | | | | | | | | | | | | | * autogen.sh: Require version 1.7 of automake. * configure.in: call GTK_DOC_CHECK([1.0]) * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS * docs/reference/cspi/Makefile.am: Update to use new gtk-doc. * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS. * test/Makefile.am: Remove use of CFLAGS. This fixes bug #132987. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@610 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Revved to 0.3.12.billh2004-02-091-0/+5
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@602 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Portability fixes (bug 131640), revised patch from TheWrittenWord.combillh2004-01-301-2/+2
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@594 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2004-01-27 Brian Cameron <brian.cameron@sun.com>bcameron2004-01-271-2/+4
| | | | | | | | * test/simple-at.c: Fixed null string problems that cause core dumping problems on Solaris. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@592 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Revved to 1.3.8. Fix for 121974. Added Application_getLocale.billh2003-12-041-0/+5
| | | | git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@570 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>padraigo2003-08-131-7/+7
| | | | | | | | * test/event-listeber-test.c: Change active-descendant to active-descendant-changed. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@521 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Added missing file, and added needed #include to window-listener-test.c.billh2003-06-102-0/+68
| | | | | | | Thanks to Marc for catching that. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@440 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Fixes for #92143 and #109776; we now support string keysynthesisbillh2003-06-101-3/+3
| | | | | | | | for most Latin locales, and correctly set modifiers when synthesizing keysyms. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@439 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Added API for client-side interception and handling of exceptions.billh2003-06-092-1/+88
| | | | | | | | | Added a window-listener-test program for window event tracking. Added very basic implementation of client-side exception API in cspi/bonobo/cspi-bonobo and cspi/spi_main. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@436 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>jrb2003-06-023-1/+3
| | | | | | | | | | * cspi/spi_main.c: #include <stdio.h> * test/simple-at.c: ditto * test/event-listener-test.c: ditto * test/screen-review-test.c: ditto git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@433 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2003-05-30 Michael Meeks <michael@ximian.com>michael2003-05-301-1/+1
| | | | | | | | * test/test-simple.c (main): use CORBA_ORB_perform_work instead of an unnecessary linc_ call. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@432 e2bd861d-eb25-0410-b326-f6ed22b6b98c
* 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>padraigo2003-04-144-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cspi/accessible.c: (cpi_initial_relation_type_table): New function which initializes mapping between Accessibility_RelationType and AccessibleRelationType. (cspi_relation_type_from_spi_relation_type): New function which translates an Accessibility_RelationType into an AccessibleRelationType. (AccessibleRelation_getRelationType): Use cpi_relation_type_get_spi_relation_type to return correct value. (spi_state_to_corba): Return correct type for default case. * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener): Use Accessibility_EventType instead of Accessibility_KeyEventType. * cspi/cspi-bonobo-listener.c: Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler warnings. * libspi/accessible.c, libspi/action.c, libspi/application.c, libspi/base.c, libspi/component.c, libspi.devicelistener.c, libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c, libspi/image.c, libspi/listener.c, libspi/selection.c, libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c, registryd/desktop.c, registryd/registry.c: Remove semicolon after BONOBO_TYPE_FUNC_FULL. * libspi/eventlistener.c Remove semicolon after BONOBO_TYPE_FUNC. * libspi/relation.c: Remove semicolon after BONOBO_TYPE_FUNC_FULL. (spi_init_relation_type_table): Initialize using correct type. * registryd/desktop.c: Remove semicolon after BONOBO_TYPE_FUNC_FULL. (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead of Accessibility_KeyEventType. * test/key-listener-test.c (report_tab_key_event): Use fprintf instead of g_print. * tests/simple-at.c, tests/screen-review-test.c: Add include for <strings.h>. * tests.stress-test.c: Add includes for <unistd.h> and <bonobo/bonobo-main.h> These changes fix compiler warnings when using FORTE compiler on Solaris; fixes bug #107479. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@419 e2bd861d-eb25-0410-b326-f6ed22b6b98c