#include "components/payments/content/android_payment_app.h"
#include <map>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/unguessable_token.h"
#include "components/payments/content/android_app_communication.h"
#include "components/payments/content/android_app_communication_test_support.h"
#include "components/payments/core/android_app_description.h"
#include "components/payments/core/method_strings.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_web_contents_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace payments {
namespace {
class AndroidPaymentAppTest : public testing::Test,
public PaymentApp::Delegate { … };
TEST_F(AndroidPaymentAppTest, BrowserShutdown) { … }
TEST_F(AndroidPaymentAppTest, UnableToCommunicateToAndroidApps) { … }
TEST_F(AndroidPaymentAppTest, OnInstrumentDetailsError) { … }
TEST_F(AndroidPaymentAppTest, OnInstrumentDetailsReady) { … }
TEST_F(AndroidPaymentAppTest, AbortWithPaymentAppOpen) { … }
TEST_F(AndroidPaymentAppTest, AbortWhenAppDestroyed) { … }
TEST_F(AndroidPaymentAppTest, NoAbortWhenDestroyedWithCompletedFlow) { … }
}
}