chromium/chrome/browser/ui/views/extensions/settings_overridden_dialog_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 "chrome/browser/ui/views/extensions/settings_overridden_dialog.h"

#include <optional>

#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/extensions/extensions_dialogs.h"
#include "chrome/browser/ui/extensions/settings_overridden_dialog_controller.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "ui/views/test/widget_test.h"
#include "ui/views/widget/any_widget_observer.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"

DialogResult;

namespace {

struct DialogState {};

// A dialog controller that updates the provided DialogState when the dialog
// is interacted with.
class TestDialogController : public SettingsOverriddenDialogController {};

}  // namespace

class SettingsOverriddenDialogViewUnitTest : public TestWithBrowserView {};

TEST_F(SettingsOverriddenDialogViewUnitTest, DialogResult_ChangeSettingsBack) {}

TEST_F(SettingsOverriddenDialogViewUnitTest, DialogResult_KeepNewSettings) {}

TEST_F(SettingsOverriddenDialogViewUnitTest, DialogResult_DismissDialog) {}

TEST_F(SettingsOverriddenDialogViewUnitTest, DialogResult_CloseParentWidget) {}