#include "components/payments/content/service_worker_payment_app.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "content/public/browser/stored_payment_app.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_web_contents_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/payments/payment_request.mojom.h"
namespace payments {
class ServiceWorkerPaymentAppTest : public testing::Test,
public PaymentRequestSpec::Observer { … };
TEST_F(ServiceWorkerPaymentAppTest, AppInfo) { … }
TEST_F(ServiceWorkerPaymentAppTest, CreatePaymentRequestEventData) { … }
TEST_F(ServiceWorkerPaymentAppTest, CreateCanMakePaymentEvent) { … }
TEST_F(ServiceWorkerPaymentAppTest, ValidateCanMakePayment) { … }
TEST_F(ServiceWorkerPaymentAppTest, IsValidForModifier) { … }
}