chromium/chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc

// Copyright 2012 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/crypto_module_password_dialog_view.h"

#include <string>

#include "base/scoped_observation.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "chrome/browser/ui/crypto_module_password_dialog.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget_observer.h"
#include "ui/views/window/dialog_client_view.h"

CryptoModulePasswordDialogViewTest;

std::unique_ptr<CryptoModulePasswordDialogView> CreateCryptoDialog(
    CryptoModulePasswordCallback callback) {}

TEST_F(CryptoModulePasswordDialogViewTest, AcceptUsesPassword) {}

TEST_F(CryptoModulePasswordDialogViewTest, CancelDoesntUsePassword) {}

class WidgetCloseWaiter : public views::WidgetObserver {};

TEST_F(CryptoModulePasswordDialogViewTest, EscapeRunsCallback) {}