#include "components/segmentation_platform/internal/stats.h"
#include "base/functional/callback_forward.h"
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "components/segmentation_platform/internal/metadata/metadata_utils.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/internal/post_processor/post_processing_test_utils.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"
#include "components/segmentation_platform/public/proto/types.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace segmentation_platform {
SignalType;
namespace stats {
#define EXPECT_SEGMENTATION_UMA(count, name, value) …
class StatsTest : public testing::Test { … };
TEST_F(StatsTest, ModelExecutionZeroValuePercent) { … }
TEST_F(StatsTest, AdaptiveToolbarSegmentSwitch) { … }
TEST_F(StatsTest, SegmentSwitchWithMultiOutput) { … }
TEST_F(StatsTest, SegmentComputedWithMultiOutput) { … }
TEST_F(StatsTest, SignalsListeningCount) { … }
TEST_F(StatsTest, TrainingDataCollectionEvent) { … }
TEST_F(StatsTest, RecordModelExecutionResult) { … }
TEST_F(StatsTest, RecordModelExecutionResultForMultiOutput) { … }
TEST_F(StatsTest, SegmentIdToHistogramVariant) { … }
class BackgroundRecorderTest : public testing::Test { … };
TEST_F(BackgroundRecorderTest, DISABLED_Recording) { … }
}
}