summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-06-19 06:11:38 +0200
committerMatthias Clasen <mclasen@redhat.com>2011-07-05 16:07:57 -0400
commitf76c439897e3c69b2f0374c5943baedae9ae6752 (patch)
tree26259fd8637628e6f6cc2ae864fecbb1e730466e /configure.ac
parentebf8bf00009c2b2e7dcdb81d9bb9d339933d3fe3 (diff)
downloadgtk+-f76c439897e3c69b2f0374c5943baedae9ae6752.tar.gz
tests: Add first shot at an accessibility dump tool
The tool works like this: ./accessibility-dump [FILE ...] If no files are given, all files with the extension ".ui" in the current directory are taken. For every file "test.ui", the following steps are performed: 1) test.ui is loaded using GtkBuilder 2) The accessible for the window is loaded 3) The information of accessible is converted into a string using a syntax defined in this test file 4) The generated string is diffed with the file "test.txt" 5) If the diff is empty, the test is a success, if not, the test fails. 6) The diff is output when the test runner is run with --verbose So to add a test named "test", create a file called "test.ui", put it into this directory. Then create the expected output file "test.txt", put it into this directory too. You can create the initial version of this file by invoking "./accessibility-dump --verbose test.ui". The output will contain the expected text and can be copy/pasted into the text file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a58ac08f77..231363af08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1708,6 +1708,7 @@ demos/gtk-demo/geninclude.pl
demos/pixbuf-demo/Makefile
examples/Makefile
tests/Makefile
+tests/a11y/Makefile
tests/css/Makefile
tests/css/parser/Makefile
tests/reftests/Makefile