chromium/components/segmentation_platform/internal/metrics/field_trial_recorder_unittest.cc

// Copyright 2023 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/metrics/field_trial_recorder.h"

#include <string_view>

#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/segmentation_platform/internal/constants.h"
#include "components/segmentation_platform/internal/database/cached_result_provider.h"
#include "components/segmentation_platform/internal/database/client_result_prefs.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/config.h"
#include "components/segmentation_platform/public/field_trial_register.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace segmentation_platform {

namespace {

NiceMock;

proto::ClientResult CreateClientResult(proto::PredictionResult pred_result) {}

class MockFieldTrialRegister : public FieldTrialRegister {};
}  // namespace

class FieldTrialRecorderTest : public testing::Test {};

TEST_F(FieldTrialRecorderTest, RecordUnselectedFieldTrial) {}

TEST_F(FieldTrialRecorderTest, RecordFieldTrial) {}

TEST_F(FieldTrialRecorderTest, RecordFieldTrialForNonClassification) {}

}  // namespace segmentation_platform