chromium/components/segmentation_platform/internal/stats_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};

// TODO(ssid): This test may cause delay in the test framework, fix and re-enable the test.
// Tracking: b/299529800.
TEST_F(BackgroundRecorderTest, DISABLED_Recording) {}

}  // namespace stats
}  // namespace segmentation_platform