| Index: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
|
| diff --git a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
|
| index d5627a57d3297d90d6df1a570272c96f87878b48..4ac1ea63877a560bdea5dce71084640d69bc237d 100644
|
| --- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
|
| +++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller_unittest.cc
|
| @@ -55,7 +55,13 @@ class TouchCalibratorControllerTest : public ash::test::AshTestBase {
|
| TouchCalibratorView* target_calibrator_view =
|
| ctrl->touch_calibrator_views_[target_display.id()].get();
|
|
|
| - EXPECT_EQ(target_calibrator_view->state(), TouchCalibratorView::UNKNOWN);
|
| + // End the background fade in animation.
|
| + target_calibrator_view->SkipCurrentAnimationForTest();
|
| +
|
| + // TouchCalibratorView on the display being calibrated should be at the
|
| + // state where the first display point is visible.
|
| + EXPECT_EQ(target_calibrator_view->state(),
|
| + TouchCalibratorView::DISPLAY_POINT_1);
|
| }
|
|
|
| private:
|
|
|