gtk2/testsuite/a11y
Matthias Clasen 29cd52c854 Emit a11y state change notification for color swatches
Improve the color swatch accessible to set a proper role
depending on whether the swatch is selectable or not, and
set the checked atk state when appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=721048
2014-01-05 10:54:43 -05:00
..
a11ychildren.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
a11yderive.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
a11ytests.test.in tests: Make a11ytests keep going on failure and be verbose 2013-07-26 13:33:40 +02:00
a11ytext.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
a11ytree.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
a11yutil.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
a11yvalue.test.in build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
about.txt GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05: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 GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05: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
assistant.txt Fix up a11y tests again 2013-08-31 17:06:44 -04:00
assistant.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
buttons.txt More a11y test updates 2013-09-16 23:29:42 -04:00
buttons.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02: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 Emit a11y state change notification for color swatches 2014-01-05 10:54:43 -05: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 GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05: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
focus.c 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 a11y tests: Add a test for multi-link labels 2014-01-04 10:54:03 -05:00
label.ui a11y tests: Add a test for multi-link labels 2014-01-04 10:54:03 -05:00
link.txt a11y tests: Prepare to dump AtkHypertext 2014-01-04 10:54:03 -05: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 build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
lockbutton.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
Makefile.am a11y tests: Add a test for multi-link labels 2014-01-04 10:54:03 -05: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
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 GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
messagedialog.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +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 GtkLabelAccessible: Implement AtkHypertext 2014-01-04 10:54:03 -05:00
paned.ui build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
pickers.txt Revert "a11y: Remove AtkSelection implementation from combobox" 2013-09-16 15:41:15 +02: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 Add GtkStack and GtkStackSwitcher to the a11y tests 2013-06-30 22:33:12 -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 testsuite: Add deprecation guards for ATK deprecations 2013-09-16 15:41:15 +02: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
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
util.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +02:00
value.c build: Move tests/a11y to testsuite/a11y 2013-05-15 15:37:16 +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.