#include "ui/views/repeat_controller.h"
#include "base/functional/bind.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace views {
namespace {
class RepeatControllerTest : public testing::Test { … };
constexpr base::TimeDelta RepeatControllerTest::kShortWait;
}
TEST_F(RepeatControllerTest, StartStop) { … }
TEST_F(RepeatControllerTest, StartShortWait) { … }
TEST_F(RepeatControllerTest, StartInitialWait) { … }
TEST_F(RepeatControllerTest, StartLongerWait) { … }
TEST_F(RepeatControllerTest, NoCallbacksAfterStop) { … }
}