chromium/chrome/browser/ui/views/sharing/sharing_dialog_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/sharing/sharing_dialog_view.h"

#include <memory>
#include <string>

#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/views/controls/hover_button.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "components/sharing_message/fake_device_info.h"
#include "components/sharing_message/sharing_app.h"
#include "components/sharing_message/sharing_metrics.h"
#include "components/sharing_message/sharing_target_device_info.h"
#include "components/sync_device_info/device_info.h"
#include "components/url_formatter/elide_url.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_utils.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/styled_label.h"
#include "ui/views/test/button_test_api.h"
#include "url/gurl.h"
#include "url/origin.h"

Property;

MATCHER_P(AppEquals, app, "") {}

class SharingDialogViewTest : public TestWithBrowserView {};

TEST_F(SharingDialogViewTest, PopulateDialogView) {}

TEST_F(SharingDialogViewTest, DevicePressed) {}

TEST_F(SharingDialogViewTest, AppPressed) {}

TEST_F(SharingDialogViewTest, ThemeChangedEmptyList) {}

TEST_F(SharingDialogViewTest, FootnoteNoOrigin) {}

TEST_F(SharingDialogViewTest, FootnoteCurrentOrigin) {}

TEST_F(SharingDialogViewTest, FootnoteOtherOrigin) {}

TEST_F(SharingDialogViewTest, HelpTextNoOrigin) {}

TEST_F(SharingDialogViewTest, HelpTextCurrentOrigin) {}

TEST_F(SharingDialogViewTest, HelpTextOtherOrigin) {}