Commit 3e4bcadf authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

views: enable FocusManagerTest.WidgetFocusChangeListener for mus

It no longer fails.

BUG=664261
TEST=test only change

Change-Id: Id17c9b0950fd20e001b27f104912542daaf8bc8b
Reviewed-on: https://chromium-review.googlesource.com/1213931Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589603}
parent 20c1cb0a
...@@ -130,12 +130,6 @@ TEST_F(FocusManagerTest, FocusChangeListener) { ...@@ -130,12 +130,6 @@ TEST_F(FocusManagerTest, FocusChangeListener) {
} }
TEST_F(FocusManagerTest, WidgetFocusChangeListener) { TEST_F(FocusManagerTest, WidgetFocusChangeListener) {
// TODO: this test ends up calling focus on the aura::Window associated with
// the Widget and expecting that to change activation. This should work for
// aura-mus-client as well. http://crbug.com/664261.
if (IsMus())
return;
// First, ensure the simulator is aware of the Widget created in SetUp() being // First, ensure the simulator is aware of the Widget created in SetUp() being
// currently active. // currently active.
test::WidgetTest::SimulateNativeActivate(GetWidget()); test::WidgetTest::SimulateNativeActivate(GetWidget());
......
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