Commit 6d911f51 authored by Sara Kato's avatar Sara Kato Committed by Commit Bot

arc-a11y: various clean-ups in unittests

Test: AccessibilityNodeInfoDataWrapperTest, AXTreeSourceArcTest passes
Bug: b/162279773
Change-Id: Ib89e771a0da05ec5ee629b13a810e423ef052a1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2322287Reviewed-by: default avatarHiroki Sato <hirokisato@chromium.org>
Commit-Queue: Sara Kato <sarakato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792526}
parent b4429914
...@@ -599,7 +599,7 @@ TEST_F(AccessibilityNodeInfoDataWrapperTest, LabeledByLoop) { ...@@ -599,7 +599,7 @@ TEST_F(AccessibilityNodeInfoDataWrapperTest, LabeledByLoop) {
EXPECT_EQ("node2", name); EXPECT_EQ("node2", name);
} }
TEST_F(AccessibilityNodeInfoDataWrapperTest, appendkDescription) { TEST_F(AccessibilityNodeInfoDataWrapperTest, AppendkDescription) {
AXNodeInfoData node; AXNodeInfoData node;
AccessibilityNodeInfoDataWrapper wrapper(tree_source(), &node); AccessibilityNodeInfoDataWrapper wrapper(tree_source(), &node);
node.id = 10; node.id = 10;
...@@ -622,7 +622,7 @@ TEST_F(AccessibilityNodeInfoDataWrapperTest, appendkDescription) { ...@@ -622,7 +622,7 @@ TEST_F(AccessibilityNodeInfoDataWrapperTest, appendkDescription) {
description); description);
} }
TEST_F(AccessibilityNodeInfoDataWrapperTest, controlIsFocusable) { TEST_F(AccessibilityNodeInfoDataWrapperTest, ControlIsFocusable) {
AXNodeInfoData root; AXNodeInfoData root;
root.id = 1; root.id = 1;
SetProperty(&root, AXStringProperty::CLASS_NAME, ui::kAXSeekBarClassname); SetProperty(&root, AXStringProperty::CLASS_NAME, ui::kAXSeekBarClassname);
......
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