#include "chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.h"
#include <memory>
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "base/memory/raw_ptr.h"
#include "base/values.h"
#include "chrome/browser/ui/autofill/payments/save_card_ui.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/payments/legal_message_line.h"
#include "components/autofill/core/browser/payments/payments_autofill_client.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
class SaveCardBubbleControllerImplTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest, InvokeUi_LocalSave) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest,
InvokeUi_LocalCvcSave) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest, InvokeUi_ServerSave) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest,
InvokeUi_ServerCvcSave) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest,
InvokeUi_ServerSave_WithCardholderNameTextfield) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest,
InvokeUi_ServerSave_WithCardExpirationDateDropDownBox) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest, InvokeUi_Manage) { … }
IN_PROC_BROWSER_TEST_F(SaveCardBubbleControllerImplTest, NewTabHidesDialog) { … }
}