#include "chrome/browser/companion/core/companion_metrics_logger.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "chrome/browser/companion/core/mojom/companion.mojom.h"
#include "chrome/browser/ui/views/side_panel/side_panel_enums.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/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace companion {
class CompanionMetricsLoggerTest : public testing::Test { … };
TEST_F(CompanionMetricsLoggerTest, RecordOpenTrigger) { … }
TEST_F(CompanionMetricsLoggerTest, TextSearch) { … }
TEST_F(CompanionMetricsLoggerTest, TextSearchMaxClamp) { … }
TEST_F(CompanionMetricsLoggerTest, RegionSearchClicks) { … }
TEST_F(CompanionMetricsLoggerTest, RecordPhFeedback) { … }
TEST_F(CompanionMetricsLoggerTest, RecordVQSResultCount) { … }
TEST_F(CompanionMetricsLoggerTest, TwoSurfaces_PH_and_CQ) { … }
TEST_F(CompanionMetricsLoggerTest, VQ) { … }
TEST_F(CompanionMetricsLoggerTest, RelQr) { … }
TEST_F(CompanionMetricsLoggerTest, RelQs) { … }
TEST_F(CompanionMetricsLoggerTest, PageEntities) { … }
TEST_F(CompanionMetricsLoggerTest, ATX) { … }
TEST_F(CompanionMetricsLoggerTest, RecordPromoEvent) { … }
TEST_F(CompanionMetricsLoggerTest, PHShown) { … }
}