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
Emmanuele Bassi
e259b2f30d
Avoid O(n²) walking of string arrays
...
"Yo, we heard you like traversing NULL-terminated arrays to operate on
them, so we called g_strv_length() as the for condition, so you can
iterate the array while iterating the array."
Instead of making famed rapper and television producer Xzibit proud, we
should avoid calling g_strv_length() on an array while looping on the
array, to avoid quadratic complexity.
We do this in various places that deal with arrays of strings that we
cannot really guess are short enough not to matter — e.g. the list of
CSS selectors in the inspector, or the required authentication
information for printing.
2015-07-16 16:19:55 +01:00
Matthias Clasen
68aa48cc44
Fix up expected results of a11y tests
...
These changed due to th extra box that GtkAssistant now
inserts for each page.
2015-06-23 17:08:14 -04:00
Matthias Clasen
fb51f447a2
Fix a11y tests
...
The output of the about dialog test is affected by the keynav
fixes.
2015-05-12 07:44:21 -04:00
Matthias Clasen
7d35351c7a
Update expected results
2014-11-23 18:53:06 -05:00
Matthias Clasen
60a11333af
Update expected results of a11y tests
...
The new has-tooltip state is showing up in a number of places,
as expected.
2014-10-27 20:03:51 -04:00
Joanmarie Diggs
2893a71a3e
Implement support for ATK_STATE_HAS_TOOLTIP
...
https://bugzilla.gnome.org/show_bug.cgi?id=738982
2014-10-22 22:55:13 -04:00
Emmanuele Bassi
9464415121
tests/a11y/about: Fix expected text
...
We recently changed the uppercase licensing text to lower case. The
reference test that checks the contents of the about dialog has to be
fixed to reflect that change.
2014-10-22 21:17:37 +01:00
Marek Kasik
8b5d30d439
Remove redundant checks for NULL
...
Remove checks for NULL before g_free() and g_clear_object().
Merge check for NULL, freeing of pointer and its setting
to NULL by g_clear_pointer().
https://bugzilla.gnome.org/show_bug.cgi?id=733157
2014-10-02 19:06:03 +02:00
Matthias Clasen
aefe86d632
Update expected output for the font picker a11y test
...
This change is a consequence of the recent font chooser changes.
2014-08-16 13:02:47 -04:00
Matthias Clasen
d3dc05174e
Update expected output in a11y tests for buttons
...
This is an expected change from the recent button state cleanups.
2014-08-16 13:01:50 -04:00
Matthias Clasen
269d277afe
Adapt to spinbutton changes
2014-08-14 19:39:07 -04:00
Matthias Clasen
0b669dffa9
Skip focus tests in make check
...
These require a window manager to work, and we currently don't
run one when we run make check tests under Xvfb.
2014-08-10 07:08:39 -04:00
Matthias Clasen
b7365c52c4
Make focus tests session-exclusive
...
Otherwise, tests running in parallel will steal the focus that
we are trying to test.
2014-08-08 22:15:02 +02:00
Matthias Clasen
944e30d940
Add a11y state tests
...
This adds a new test which can be scripted to trigger various
event and action sequences, and record state changes in the
accessibility layer.
So far, there are a few tests verifying state changes when
focus changes.
Related to https://bugzilla.gnome.org/show_bug.cgi?id=715176
2014-08-04 09:58:58 +02:00
Matthias Clasen
a6b8800531
Add a test for popover accessible parents
...
This tests the fix in the previous commit.
2014-07-30 23:14:49 +02:00
Matthias Clasen
452f92c644
Update expected output for a11y tests
2014-07-21 19:21:02 -04:00
Matthias Clasen
69b25a77aa
Update expected output for a11y test
2014-07-14 14:36:58 -04:00
Matthias Clasen
5436438520
a11y: Update expected output for color chooser
2014-07-09 19:48:08 -04:00
Matthias Clasen
c4e533ecd6
Fight deprecation warnings in test
...
This time, in installed tests.
2014-06-28 00:41:26 -04:00
Matthias Clasen
b9bd7159c0
Disable deprecation warnings in tests
...
We want to test deprecated properties, so failing the tests with
warnings is not productive.
2014-06-25 16:29:08 -04:00
Matthias Clasen
98cf67ddba
testsuite: put installed tests in the right place
...
Follow the prevailing practice and put the installed tests
into $libdir/installed-tests/$PACKAGE instead of
$pkglibdir/installed-tests.
2014-05-31 00:16:07 -04:00
Matthias Clasen
70a5e66d2f
a11y tests: Avoid deprecation warnings
...
We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.
2014-05-02 20:59:00 -04:00
Matthias Clasen
1bf6ad314d
a11y tests: Update expected output
...
The new AtkValue interface aways returns doubles, which causes
the range to be printed out with decimals.
2014-05-02 20:53:02 -04:00
Matthias Clasen
4fc256de8a
a11y tests: Use the new AtkValue interface
...
The old interface is deprecated, and we just implemented the
new one, so lets test it.
2014-05-02 20:52:56 -04:00
Matthias Clasen
a2fb74c375
Update output of a11y tests
...
These are all affected by the addition of the action_box in
GtkDialog or by the switch to popovers in GtkMenuButton.
2014-04-28 22:55:44 -04:00
Matthias Clasen
85855da946
Update expected output for assistant a11y test
...
The headerbar and its content now shows up, as it should.
2014-04-10 15:50:51 -07:00
Matthias Clasen
1685877635
Minor update of a11y test output
2014-03-24 20:17:21 -04:00
Matthias Clasen
8a9dab8e29
Update a11y test output
2014-03-17 18:14:53 -04:00
Matthias Clasen
1779789f65
Update a11y test output
...
These harmless changes are a consequence of
66fae0330c
.
2014-03-12 23:43:28 -04:00
Carlos Garnacho
faa6db8485
testsuite: Update a11y/menubutton3.ui test expectations
...
Popover is now minimally accessible.
https://bugzilla.gnome.org/show_bug.cgi?id=725864
2014-03-10 23:02:23 +01:00
Matthias Clasen
cabf0badfa
Update messagedialog a11y test
2014-03-03 23:37:53 -05:00
William Jon McCann
905a6aa2e8
about-dialog: link directly to the 3.0 version of GPL licenses
...
In the unlikely case that there is another GPL released in the future
it would be best if we link directly to the 3.0 version of the
license description instead of the alias to the latest
version.
2014-02-27 08:12:56 -05:00
Matthias Clasen
71e46a0b0e
a11y tests: Add a tests for menu buttons with popovers
...
This shows that popovers currently lack accessibility.
2014-02-22 12:51:11 -05:00
Matthias Clasen
349376f48f
a11y tests: Add a test for menubuttons with model
2014-02-22 12:31:19 -05:00
Matthias Clasen
ac50e4e9df
a11y tests: Add a test for GtkActionBar
2014-02-22 12:31:18 -05:00
Matthias Clasen
493ce0e291
a11y tests: add image buttons
2014-02-22 12:31:18 -05:00
Matthias Clasen
5790831ecb
Update expected output of the messagedialog a11y test
2014-02-17 21:39:23 -05:00
Matthias Clasen
fd1855c116
Update expected output of the colorchooser a11y test
2014-02-17 21:39:10 -05:00
Matthias Clasen
4985c0d545
Update expected output for assistant a11y test
2014-02-04 13:15:46 -05:00
Matthias Clasen
ddc7995a9f
Update expected output for accessible tests
2014-01-25 14:31:11 -05:00
Matthias Clasen
1faf3a0aaa
Use the memory settings backend for make check
...
The color chooser test is constantly running into the
problem that the custom color setting is not empty.
Avoid that by using the memory settings backend.
2014-01-21 21:17:14 -05:00
Matthias Clasen
3659f8fc90
a11y tests: Fix expected output of about.ui
2014-01-18 10:54:37 -05:00
Matthias Clasen
b29e3d8ce0
a11y tests: Fix settings that affect a11y output
...
It would be nicer if we could have the tests specify what environment
their expected output was created in, then we could test multiple
scenarios. For now, just fix the setting to avoid test failures.
2014-01-18 10:53:22 -05:00
Matthias Clasen
c2d7a74c0b
Update colorchooser.ui test output
...
These are expected changes from the last few commits.
2014-01-17 17:52:08 -05:00
Matthias Clasen
fec99f3ee5
Update messagedialog.ui test output
...
These are expected changes from the last few commits.
2014-01-17 17:52:08 -05:00
Matthias Clasen
d2eeaec3cc
Update expected output for tree.ui
...
Now that the utf8 actually appears...
2014-01-14 13:15:19 -05:00
Matthias Clasen
e1f38f2c22
Run accessibility tests in en_US.utf8
...
Previously, we were just using the C locale, which breaks
some of our fancy utf8 output for checkmarks and so on.
2014-01-14 13:15:19 -05:00
Matthias Clasen
61f0556cf7
Add some treeview a11y tests
2014-01-13 23:51:26 -05:00
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