chromium/chrome/browser/ui/views/autofill/address_editor_view_unittest.cc

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

#include <memory>
#include "chrome/browser/ui/autofill/address_editor_controller.h"

#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/ui/views/autofill/address_editor_view.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/test_personal_data_manager.h"
#include "components/autofill/core/common/autofill_prefs.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"

namespace autofill {

NiceMock;
Return;
ReturnRef;

// TODO(crbug.com/40277889): write interactive UI tests instead of unit tests.
class AddressEditorViewTest : public ChromeViewsTestBase {};

TEST_F(AddressEditorViewTest, FormValidation) {}

TEST_F(AddressEditorViewTest, NoValidatableFormValidation) {}

TEST_F(AddressEditorViewTest, CountryChangeValidity) {}

TEST_F(AddressEditorViewTest, CountryChangeValidity2) {}

TEST_F(AddressEditorViewTest, WholeFormValidationState) {}

TEST_F(AddressEditorViewTest, InitialFocusViewPointsToCountryCombobox) {}

TEST_F(AddressEditorViewTest, FocusIsNotLostAfterEditorContentChange) {}

}  // namespace autofill