Commit 0144ebea authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[a11y] Set AX mode for AtkUtilAuraLinuxTest

This CL adds AX mode configuration for AtkUtilAuraLinuxTest that
needs to access ATK object since we don't create ATK object if
the mode is not enabled.

On build bots, it's not failed as it works with other tests in
the same process and the configuration is based on a process. But
if it runs individually, it's not passed. So, this CL adds the
configuration to the test.

AX-Relnotes: n/a.
Bug: 1100797
Change-Id: I6def01fef97c3f8b00b4130197c321d3625ed313
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274624
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783981}
parent 1c1df774
...@@ -17,6 +17,7 @@ namespace ui { ...@@ -17,6 +17,7 @@ namespace ui {
class AtkUtilAuraLinuxTest : public AXPlatformNodeTest { class AtkUtilAuraLinuxTest : public AXPlatformNodeTest {
public: public:
AtkUtilAuraLinuxTest() { AtkUtilAuraLinuxTest() {
AXPlatformNode::NotifyAddAXModeFlags(kAXModeComplete);
// We need to create a platform node in order to install it as the root // We need to create a platform node in order to install it as the root
// ATK node. The ATK bridge will complain if we try to use it without a // ATK node. The ATK bridge will complain if we try to use it without a
// root node installed. // root node installed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment