chromium/components/segmentation_platform/internal/execution/processing/custom_input_processor_unittest.cc

// Copyright 2022 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/execution/processing/custom_input_processor.h"
#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/simple_test_clock.h"
#include "base/test/task_environment.h"
#include "components/segmentation_platform/internal/database/ukm_types.h"
#include "components/segmentation_platform/internal/execution/processing/feature_processor_state.h"
#include "components/segmentation_platform/internal/execution/processing/processing_utils.h"
#include "components/segmentation_platform/internal/execution/processing/query_processor.h"
#include "components/segmentation_platform/public/input_delegate.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace segmentation_platform::processing {
namespace {

RunOnceCallback;
_;

class MockInputDelegate : public InputDelegate {};

}  // namespace

class CustomInputProcessorTest : public testing::Test {};

TEST_F(CustomInputProcessorTest, IntTypeIndex) {}

TEST_F(CustomInputProcessorTest, IntPairTypeIndex) {}

TEST_F(CustomInputProcessorTest, DefaultValueCustomInput) {}

TEST_F(CustomInputProcessorTest, PredictionTimeCustomInput) {}

TEST_F(CustomInputProcessorTest, FromInputContext) {}

TEST_F(CustomInputProcessorTest,
       FromInputContextUsesAdditionalArgNameIfPresent) {}

TEST_F(CustomInputProcessorTest, TimeRangeBeforePredictionCustomInput) {}

TEST_F(CustomInputProcessorTest, InvalidTimeRangeBeforePredictionCustomInput) {}

TEST_F(CustomInputProcessorTest, InputDelegateFailure) {}

TEST_F(CustomInputProcessorTest, InputDelegate) {}

TEST_F(CustomInputProcessorTest, MultipleFillTypesCustomInputs) {}

TEST_F(CustomInputProcessorTest, ProcessOsVersionString) {}

}  // namespace segmentation_platform::processing