#include "chrome/browser/ui/autofill/edit_address_profile_dialog_controller_impl.h"
#include "base/functional/callback_helpers.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/ui/autofill/test/test_autofill_bubble_handler.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
namespace autofill {
_;
AllOf;
Property;
profile_ref;
class EditAddressProfileDialogControllerImplTest
: public BrowserWithTestWindowTest { … };
TEST_F(EditAddressProfileDialogControllerImplTest,
CloseTab_CancelCallbackInvoked) { … }
TEST_F(EditAddressProfileDialogControllerImplTest,
IgnoreDialog_CancelCallbackInvoked) { … }
TEST_F(EditAddressProfileDialogControllerImplTest,
CancelEditing_CancelCallbackInvoked) { … }
TEST_F(EditAddressProfileDialogControllerImplTest,
SaveAddress_SaveCallbackInvoked) { … }
TEST_F(EditAddressProfileDialogControllerImplTest,
WindowTitleOverride_TitleUpdatedWhenParamIsPresent) { … }
}