#include "ui/views/animation/ink_drop_highlight.h"
#include <cmath>
#include <memory>
#include <utility>
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
#include "ui/gfx/animation/animation.h"
#include "ui/gfx/animation/animation_test_api.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/transform.h"
#include "ui/views/animation/test/ink_drop_highlight_test_api.h"
#include "ui/views/animation/test/test_ink_drop_highlight_observer.h"
namespace views::test {
class InkDropHighlightTest : public testing::Test { … };
InkDropHighlightTest::InkDropHighlightTest()
: … { … }
InkDropHighlightTest::~InkDropHighlightTest() { … }
void InkDropHighlightTest::InitHighlight(
std::unique_ptr<InkDropHighlight> new_highlight) { … }
void InkDropHighlightTest::DestroyHighlight() { … }
TEST_F(InkDropHighlightTest, InitialStateAfterConstruction) { … }
TEST_F(InkDropHighlightTest, IsHighlightedStateTransitions) { … }
TEST_F(InkDropHighlightTest, VerifyObserversAreNotified) { … }
TEST_F(InkDropHighlightTest,
VerifyObserversAreNotifiedWithCorrectAnimationType) { … }
TEST_F(InkDropHighlightTest, VerifyObserversAreNotifiedOfSuccessfulAnimations) { … }
TEST_F(InkDropHighlightTest, VerifyObserversAreNotifiedOfPreemptedAnimations) { … }
TEST_F(InkDropHighlightTest, NullObserverIsSafe) { … }
TEST_F(InkDropHighlightTest, AnimationsAbortedDuringDeletion) { … }
TEST_F(InkDropHighlightTest, AnimatingAZeroSizeHighlight) { … }
TEST_F(InkDropHighlightTest, TransformIsPixelAligned) { … }
}