#include "ui/views/animation/ink_drop_ripple.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/animation/animation.h"
#include "ui/gfx/animation/animation_test_api.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop_ripple_observer.h"
#include "ui/views/animation/ink_drop_state.h"
#include "ui/views/animation/square_ink_drop_ripple.h"
#include "ui/views/animation/test/flood_fill_ink_drop_ripple_test_api.h"
#include "ui/views/animation/test/ink_drop_ripple_test_api.h"
#include "ui/views/animation/test/square_ink_drop_ripple_test_api.h"
#include "ui/views/animation/test/test_ink_drop_ripple_observer.h"
namespace views::test {
const float kVisibleOpacity = …;
enum InkDropRippleTestTypes { … };
class InkDropRippleTest
: public testing::TestWithParam<InkDropRippleTestTypes> { … };
InkDropRippleTest::InkDropRippleTest()
: … { … }
InkDropRippleTest::~InkDropRippleTest() { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(InkDropRippleTest, InitialStateAfterConstruction) { … }
TEST_P(InkDropRippleTest, AnimateToHiddenFromInvisibleState) { … }
TEST_P(InkDropRippleTest, AnimateToHiddenFromVisibleState) { … }
TEST_P(InkDropRippleTest, ActionPendingOpacity) { … }
TEST_P(InkDropRippleTest, QuickActionOpacity) { … }
TEST_P(InkDropRippleTest, SlowActionPendingOpacity) { … }
TEST_P(InkDropRippleTest, SlowActionOpacity) { … }
TEST_P(InkDropRippleTest, ActivatedOpacity) { … }
TEST_P(InkDropRippleTest, DeactivatedOpacity) { … }
TEST_P(InkDropRippleTest, AnimationsAbortedDuringDeletion) { … }
TEST_P(InkDropRippleTest, VerifyObserversAreNotified) { … }
TEST_P(InkDropRippleTest, VerifyObserversAreNotifiedOfSuccessfulAnimations) { … }
TEST_P(InkDropRippleTest, VerifyObserversAreNotifiedOfPreemptedAnimations) { … }
TEST_P(InkDropRippleTest, InkDropStatesPersistWhenCallingAnimateToState) { … }
TEST_P(InkDropRippleTest, SnapToHiddenWithoutActiveAnimations) { … }
TEST_P(InkDropRippleTest, SnapToHiddenWithActiveAnimations) { … }
TEST_P(InkDropRippleTest, SnapToActivatedWithoutActiveAnimations) { … }
TEST_P(InkDropRippleTest, SnapToActivatedWithActiveAnimations) { … }
TEST_P(InkDropRippleTest, AnimateToVisibleFromHidden) { … }
TEST_P(InkDropRippleTest, TargetInkDropStateOnAnimationStarted) { … }
TEST_P(InkDropRippleTest, TargetInkDropStateOnAnimationEnded) { … }
TEST_P(InkDropRippleTest, RipplePendingToActivatedObserverOrder) { … }
}