Files
odfstudio/qadevOOo
Stephan Bergmann 3b7ee6670b Skip zero-area children in the getAccessibleAtPoint test
JunitTest_svtools_unoapi's svtools.AccessibleTabBar failed its
XAccessibleComponent check:

> LOG> Checking child with bounds (0,35),(754,0): 40,():
> LOG> 	StateType containsPoint SHOWING: true
> LOG> finding the point which lies on the component
> LOG> Child found at point (377,35) - OK
> LOG> The children found is not the same
> LOG> Expected:
> LOG> Found:
> LOG> (xAccCh==null: false; expIndex: 3; gotIndex: 0)
> LOG> ... FAILED

The tested object is the first PANEL of a Calc window, which has an empty
SfxInfoBarContainerWindow child: a shown, zero-height accessible at
(0,35),(754,0) overlapping the document panel below it. The test picks each
child's centre and expects getAccessibleAtPoint there to return that child, but
a zero-area child contains no point, so the probe at (377,35) returns the
overlapping document panel (index 0) instead of the container (index 3).

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I3f9b6378c036e26b4ec4c30ee65bc7cd0dba6ac2
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/4177
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 9a1c9dc5c46632a858a74930f3432c0f6d76027b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206432
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-14 10:41:40 +02:00
..
…
…
…
…

Test Suite

You can import this as a project into Eclipse (select the qadevOOo folder).