office-gobmx/test
Michael Weghorn 39b15dc8f0 tdf#155447 a11y: Add test for accessible IDs expected by Orca
Add a new AccessibilityTools::getAccessibleObjectForId
helper that can be used in a11y tests to identify an object
by its accessible ID.

Add a test that checks that the accessible ID of the
spelling dialog matches what Orca's logic expects
in order to identify it, and that more UI elements
with expected accessible IDs exist.

This is to prevent breaking Orca logic without noticing.
Any changes affecting this test should be discussed with
the Orca maintainer first.

See the comment above the newly added test for more details
and a link to the corresponding Orca commits.

The new test initially only checks that objects with corresponding
IDs exist, could be extended to verify more of their
properties as needed.

Logic for checking availability of a dictionary, needed for
spell check was taken over from the existing tdf155705 test in
sw/qa/extras/accessibility/tdf155705.cxx, whose sample doc
is also used.

Change-Id: I0c5629272a89a4a570e080e62e99b6c105369cf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176281
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-08 16:55:08 +01:00
..
qa/cppunit Use good old string literals in assertXPath and friends 2024-10-05 10:06:44 +02:00
signing-keys
source tdf#155447 a11y: Add test for accessible IDs expected by Orca 2024-11-08 16:55:08 +01:00
user-template
CppunitTest_test_a11y.mk CppunitTest_test_a11y: Missing test dependency 2024-02-26 16:00:38 +01:00
CppunitTest_test_xpath.mk
IwyuFilter_test.yaml
Library_subsequenttest.mk test: Merge SwAccessibleTestBase and AccessibleTestBase 2024-10-29 09:12:47 +01:00
Library_test.mk this duplicated CPPUNIT_ASSERT_POINT_EQUAL_WITH_TOLERANCE 2024-01-20 17:10:56 +01:00
Library_test_setupvcl.mk
Library_vclbootstrapprotector.mk
Makefile
Module_test.mk
Package_unittest.mk
README.md
README.vars Document LIBO_TEST_DEFAULT_DESKTOP environment variable 2024-10-21 10:48:29 +02:00

Test Harness Code for C++ Unit Testing

Many of these tests are run during the build process. In that case on unix, if a test fails follow the error messages to debug it under gdb.