chromium/ui/views/controls/scrollbar/scroll_bar_button_unittest.cc

// Copyright 2020 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/controls/scrollbar/scroll_bar_button.h"

#include <memory>

#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/test/test_screen.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/event.h"
#include "ui/views/repeat_controller.h"
#include "ui/views/test/view_metadata_test_utils.h"

namespace views {

namespace {

_;
AtLeast;
AtMost;

class MockButtonCallback {};

class ScrollBarButtonTest : public testing::Test {};

}  // namespace

TEST_F(ScrollBarButtonTest, Metadata) {}

TEST_F(ScrollBarButtonTest, FocusBehavior) {}

TEST_F(ScrollBarButtonTest, CallbackFiresOnMouseDown) {}

TEST_F(ScrollBarButtonTest, CallbackFiresMultipleTimesMouseHeldDown) {}

TEST_F(ScrollBarButtonTest, CallbackStopsFiringAfterMouseReleased) {}

TEST_F(ScrollBarButtonTest, CallbackStopsFiringAfterMouseCaptureReleased) {}

}  // namespace views