chromium/chrome/browser/ui/views/tabs/color_picker_view_unittest.cc

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

#include "chrome/browser/ui/views/tabs/color_picker_view.h"

#include <array>
#include <memory>
#include <string>
#include <utility>

#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/mock_callback.h"
#include "base/time/time.h"
#include "chrome/browser/ui/views/tabs/tab_group_editor_bubble_view.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/tab_groups/tab_group_color.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/events/event.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"
#include "ui/gfx/canvas.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/test/widget_test.h"
#include "ui/views/widget/widget.h"

namespace {

static const TabGroupEditorBubbleView::Colors kTestColors({});

}  // namespace

class ColorPickerViewTest : public ChromeViewsTestBase {};

TEST_F(ColorPickerViewTest, ColorSelectedByDefaultIfMatching) {}

TEST_F(ColorPickerViewTest, AccessibleCheckedState) {}

TEST_F(ColorPickerViewTest, ClickingSelectsColor) {}

TEST_F(ColorPickerViewTest, ColorNotDeselected) {}

TEST_F(ColorPickerViewTest, SelectingColorNotifiesCallback) {}

TEST_F(ColorPickerViewTest, CallbackNotifiedOnce) {}

TEST_F(ColorPickerViewTest, KeyboardFocusBehavesLikeRadioButtons) {}