| Index: ui/views/animation/ink_drop_animation_controller_factory_unittest.cc
|
| diff --git a/ui/views/animation/ink_drop_animation_controller_factory_unittest.cc b/ui/views/animation/ink_drop_animation_controller_factory_unittest.cc
|
| index 64df5fee3b10eb98db2d2dbd0c0627229f20e7d9..d611c6441ed5882f1e42a3989024559932227492 100644
|
| --- a/ui/views/animation/ink_drop_animation_controller_factory_unittest.cc
|
| +++ b/ui/views/animation/ink_drop_animation_controller_factory_unittest.cc
|
| @@ -102,12 +102,20 @@ INSTANTIATE_TEST_CASE_P(
|
| ui::MaterialDesignController::MATERIAL_HYBRID));
|
|
|
| TEST_P(InkDropAnimationControllerFactoryTest,
|
| - VerifyAllInkDropLayersRemovedAfterDestruction) {
|
| + VerifyInkDropLayersRemovedAfterDestructionWhenRippleIsActive) {
|
| ink_drop_animation_controller_->AnimateToState(InkDropState::ACTION_PENDING);
|
| ink_drop_animation_controller_.reset();
|
| EXPECT_EQ(0, test_ink_drop_host_.num_ink_drop_layers());
|
| }
|
|
|
| +TEST_P(InkDropAnimationControllerFactoryTest,
|
| + VerifyInkDropLayersRemovedAfterDestructionWhenHoverIsActive) {
|
| + test_ink_drop_host_.set_should_show_hover(true);
|
| + ink_drop_animation_controller_->SetHovered(true);
|
| + ink_drop_animation_controller_.reset();
|
| + EXPECT_EQ(0, test_ink_drop_host_.num_ink_drop_layers());
|
| +}
|
| +
|
| TEST_P(InkDropAnimationControllerFactoryTest, StateIsHiddenInitially) {
|
| EXPECT_EQ(InkDropState::HIDDEN,
|
| ink_drop_animation_controller_->GetTargetInkDropState());
|
|
|