gtk/testsuite/a11y
Matthias Clasen af8c2d2f7b Improve text a11y test
Test appending text as well as replacing the entire text.
Insert non-ASCII text to verify offsets are correct.
2015-10-15 22:35:38 -04:00
..
state Avoid O(n²) walking of string arrays 2015-07-16 16:19:55 +01:00
a11ychildren.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11yderive.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11ymisc.test.in Add a test for popover accessible parents 2014-07-30 23:14:49 +02:00
a11ytests.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11ytext.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11ytree.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11yutil.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
a11yvalue.test.in Fight deprecation warnings in test 2014-06-28 00:41:26 -04:00
about.txt Fix a11y tests 2015-05-12 07:44:21 -04:00
about.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
accessibile-name.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
accessibility-dump.c a11y tests: Avoid deprecation warnings 2014-05-02 20:59:00 -04:00
accessible-name.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
accessible-name.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
actionbar.txt Update expected results 2014-11-23 18:53:06 -05:00
actionbar.ui a11y tests: Add a test for GtkActionBar 2014-02-22 12:31:18 -05:00
assistant.txt Fix up expected results of a11y tests 2015-06-23 17:08:14 -04:00
assistant.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
buttons.txt Update expected output in a11y tests for buttons 2014-08-16 13:01:50 -04:00
buttons.ui a11y tests: add image buttons 2014-02-22 12:31:18 -05:00
calendar.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
calendar.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
children.c Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
colorchooser.txt Update expected output for a11y tests 2014-07-21 19:21:02 -04:00
colorchooser.ui GtkColorSwatch: Set an accessible role 2014-01-04 18:52:46 -05:00
combos.txt GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
combos.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
derive.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
entries.txt Adapt to spinbutton changes 2014-08-14 19:39:07 -04:00
entries.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
expander.txt GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
expander.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
headerbar.txt More a11y test updates 2013-09-16 23:29:42 -04:00
headerbar.ui Add GtkHeaderBar to the a11y tests 2013-06-30 22:33:12 -04:00
hello-world.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
hello-world.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
iconview.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
iconview.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
infobar.txt GtkInfoBar: Set a more accurate accessible role 2014-01-04 17:44:14 -05:00
infobar.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
label.txt Update expected results of a11y tests 2014-10-27 20:03:51 -04:00
label.ui a11y tests: Add a test for multi-link labels 2014-01-04 10:54:03 -05:00
link.txt Update expected results of a11y tests 2014-10-27 20:03:51 -04:00
link.ui Small improvement to GtkLinkButton a11y 2013-09-21 20:51:21 -04:00
listbox.txt GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
listbox.ui Add a GtkListBoxRow accessible 2013-09-21 20:51:22 -04:00
lockbutton.txt Update expected results of a11y tests 2014-10-27 20:03:51 -04:00
lockbutton.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
Makefile.am Implement support for ATK_STATE_HAS_TOOLTIP 2014-10-22 22:55:13 -04:00
menu.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
menu.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
menubutton2.txt Update output of a11y tests 2014-04-28 22:55:44 -04:00
menubutton2.ui a11y tests: Add a test for menubuttons with model 2014-02-22 12:31:19 -05:00
menubutton3.txt Update output of a11y tests 2014-04-28 22:55:44 -04:00
menubutton3.ui a11y tests: Add a tests for menu buttons with popovers 2014-02-22 12:51:11 -05:00
menubutton.txt Improve menubutton a11y 2013-12-20 13:31:08 -05:00
menubutton.ui Add a menubutton to the a11y tests 2013-12-20 13:31:08 -05:00
menus.txt Adjust the a11y testsuite to match expected output 2013-06-25 12:39:19 -04:00
menus.ui Adjust the a11y testsuite to match expected output 2013-06-25 12:39:19 -04:00
messagedialog.txt Update output of a11y tests 2014-04-28 22:55:44 -04:00
messagedialog.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
misc.c Add a test for popover accessible parents 2014-07-30 23:14:49 +02:00
mnemonic.txt GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
mnemonic.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
notebook.txt Adjust the a11y testsuite to match expected output 2013-06-25 12:39:19 -04:00
notebook.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
paned.txt a11y tests: Update expected output 2014-05-02 20:53:02 -04:00
paned.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
pickers.txt Update expected output for the font picker a11y test 2014-08-16 13:02:47 -04:00
pickers.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
placeholder-text.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
placeholder-text.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
progress.txt testsuite/a11y: Don't check minimum increment 2013-07-24 02:54:25 +01:00
progress.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
range.txt testsuite/a11y: Don't check minimum increment 2013-07-24 02:54:25 +01:00
range.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
README build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
scale-drawvalue.txt testsuite/a11y: Don't check minimum increment 2013-07-24 02:54:25 +01:00
scale-drawvalue.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
spinner.txt Update expected results for some a11y tests 2013-10-25 16:39:49 -04:00
spinner.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
stack.txt Update expected output in a11y tests for buttons 2014-08-16 13:01:50 -04:00
stack.ui Add GtkStack and GtkStackSwitcher to the a11y tests 2013-06-30 22:33:12 -04:00
statusbar.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
statusbar.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
testfocus.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
text.c Improve text a11y test 2015-10-15 22:35:38 -04:00
text.txt build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
text.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
tooltips.txt Implement support for ATK_STATE_HAS_TOOLTIP 2014-10-22 22:55:13 -04:00
tooltips.ui Implement support for ATK_STATE_HAS_TOOLTIP 2014-10-22 22:55:13 -04:00
tree-performance.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
tree-relationships.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
tree.txt Update expected output for tree.ui 2014-01-14 13:15:19 -05:00
tree.ui Add some treeview a11y tests 2014-01-13 23:51:26 -05:00
util.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
value.c Remove redundant checks for NULL 2014-10-02 19:06:03 +02:00

accessibility-dump is a test runner that can do tests of static
accessibility information. Run it like this:

./accessibility-dump [OPTIONS] TESTFILE [TESTFILES...]

where TESTFILE is a GtkBuilder .ui file. accessibility-dump creates
a textual dump of the accessibility information for the created
widget hierarchy and compares it to a preexisting .txt file.

To create an initial dump, you can use the --generate option with
a single .ui file. You should carefully inspect the output before
blessing it as the official .txt to compare against.

To find out details about a failure, you can use the --verbose
option to see differences between expected and actual output.

When run without any arguments, all the .ui files in the current
directory are tested.