summaryrefslogtreecommitdiffstats
path: root/views/controls/progress_bar_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/progress_bar_unittest.cc')
-rw-r--r--views/controls/progress_bar_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/progress_bar_unittest.cc b/views/controls/progress_bar_unittest.cc
index 2966d56..2912744 100644
--- a/views/controls/progress_bar_unittest.cc
+++ b/views/controls/progress_bar_unittest.cc
@@ -50,7 +50,7 @@ TEST(ProgressBarTest, Accessibility) {
AccessibilityTypes::Role role;
EXPECT_TRUE(bar.GetAccessibleRole(&role));
- EXPECT_EQ(AccessibilityTypes::ROLE_TEXT, role);
+ EXPECT_EQ(AccessibilityTypes::ROLE_PROGRESSBAR, role);
std::wstring name;
EXPECT_FALSE(bar.GetAccessibleName(&name));
@@ -63,7 +63,7 @@ TEST(ProgressBarTest, Accessibility) {
AccessibilityTypes::State state;
EXPECT_TRUE(bar.GetAccessibleState(&state));
- EXPECT_EQ(AccessibilityTypes::STATE_READONLY, state);
+ EXPECT_TRUE(AccessibilityTypes::STATE_READONLY & state);
}
} // namespace views