chromium/ui/views/animation/ink_drop_unittest.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/animation/ink_drop.h"

#include <memory>

#include "base/task/single_thread_task_runner.h"
#include "base/test/test_mock_time_task_runner.h"
#include "base/timer/timer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/animation/ink_drop_host.h"
#include "ui/views/animation/ink_drop_impl.h"
#include "ui/views/animation/ink_drop_state.h"
#include "ui/views/animation/ink_drop_stub.h"
#include "ui/views/animation/test/test_ink_drop_host.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/flex_layout_types.h"
#include "ui/views/layout/layout_types.h"
#include "ui/views/test/test_views.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/view_class_properties.h"

namespace views::test {

// Enumeration of all the different InkDrop types.
enum InkDropType {};

class InkDropTest : public testing::TestWithParam<testing::tuple<InkDropType>> {};

InkDropTest::InkDropTest() :{}

InkDropTest::~InkDropTest() = default;

InkDropType InkDropTest::GetInkDropType() const {}

// Note: First argument is optional and intentionally left blank.
// (it's a prefix for the generated test cases)
INSTANTIATE_TEST_SUITE_P();

TEST_P(InkDropTest,
       VerifyInkDropLayersRemovedAfterDestructionWhenRippleIsActive) {}

TEST_P(InkDropTest, StateIsHiddenInitially) {}

TEST_P(InkDropTest, TypicalQuickAction) {}

TEST_P(InkDropTest, CancelQuickAction) {}

TEST_P(InkDropTest, TypicalSlowAction) {}

TEST_P(InkDropTest, CancelSlowAction) {}

TEST_P(InkDropTest, TypicalQuickActivated) {}

TEST_P(InkDropTest, TypicalSlowActivated) {}

InkDropContainerViewTest;

// Ensure that the inkdrop tracks its parent View's bounds, even if the parent
// has its own layout manager.
TEST_F(InkDropContainerViewTest, MatchesParentBounds) {}

}  // namespace views::test