#include "components/facilitated_payments/core/metrics/facilitated_payments_metrics.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "components/ukm/test_ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace payments::facilitated {
TEST(FacilitatedPaymentsMetricsTest, LogIsAvailableResult) { … }
TEST(FacilitatedPaymentsMetricsTest, LogLoadRiskDataResult) { … }
TEST(FacilitatedPaymentsMetricsTest, LogGetClientTokenResult) { … }
TEST(FacilitatedPaymentsMetricsTest, LogPaymentNotOfferedReason) { … }
TEST(FacilitatedPaymentsMetricsTest, LogInitiatePaymentResult) { … }
TEST(FacilitatedPaymentsMetricsTest, LogInitiatePurchaseActionResult) { … }
TEST(FacilitatedPaymentsMetricsTest, LogFopSelectorShown) { … }
TEST(FacilitatedPaymentsMetricsTest, LogTransactionResult_Success) { … }
TEST(FacilitatedPaymentsMetricsTest, LogTransactionResult_Failed) { … }
TEST(FacilitatedPaymentsMetricsTest, LogTransactionResult_Abandoned) { … }
class FacilitatedPaymentsMetricsUkmTest : public testing::Test { … };
TEST_F(FacilitatedPaymentsMetricsUkmTest, LogTransactionResult_UkmLogged) { … }
}