chromium/chrome/browser/ui/views/download/bubble/download_bubble_row_view_unittest.cc

// Copyright 2022 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/download/bubble/download_bubble_row_view.h"

#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/download/bubble/download_bubble_ui_controller.h"
#include "chrome/browser/download/download_item_model.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "components/download/public/common/mock_download_item.h"
#include "components/vector_icons/vector_icons.h"
#include "content/public/browser/download_item_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/clipboard/test/test_clipboard.h"
#include "ui/events/test/test_event.h"
#include "ui/events/types/event_type.h"
#include "ui/views/input_event_activation_protector.h"
#include "ui/views/test/mock_input_event_activation_protector.h"

namespace {

_;
NiceMock;
Return;
ReturnRef;
ReturnRefOfCopy;

constexpr int kTimeSinceDownloadCompletedUpdateSeconds =;

class DownloadBubbleRowViewTest : public TestWithBrowserView {};

TEST_F(DownloadBubbleRowViewTest, CopyAcceleratorCopiesFile) {}

TEST_F(DownloadBubbleRowViewTest, UpdateTimeFromCompletedDownload) {}

TEST_F(DownloadBubbleRowViewTest, MainButtonPressed) {}

// Tests that only enabled quick actions that are in the `ui_info_` are visible
// on the row view.
TEST_F(DownloadBubbleRowViewTest, OnlyEnabledQuickActionsVisible) {}

// Test that the input protector can deny button clicks.
TEST_F(DownloadBubbleRowViewTest, InputProtectorDeniesClicks) {}

}  // namespace