chromium/components/device_signals/core/browser/settings_signals_collector_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/device_signals/core/browser/settings_signals_collector.h"

#include <array>
#include <utility>

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "components/device_signals/core/browser/mock_settings_client.h"
#include "components/device_signals/core/browser/signals_types.h"
#include "components/device_signals/core/common/signals_constants.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
ContainerEq;
Invoke;
Return;
StrictMock;

namespace device_signals {
namespace {

SignalsAggregationRequest CreateRequest(SignalName signal_name,
                                        bool with_settings_parameter = true) {}
}  // namespace

GetSettingsSignalsCallback;

class SettingsSignalsCollectorTest : public testing::Test {};

// Test that runs a sanity check on the set of signals supported by this
// collector. Will need to be updated if new signals become supported.
TEST_F(SettingsSignalsCollectorTest, SupportedSettingsSignalNames) {}

// Tests that an unsupported signal is marked as unsupported.
TEST_F(SettingsSignalsCollectorTest, GetSettingsSignal_Unsupported) {}

// Tests that the request does not contain the required parameters for the
// settings signal.
TEST_F(SettingsSignalsCollectorTest, GetSignal_Settings_MissingParameters) {}

// Tests a successful Settings signal retrieval.
TEST_F(SettingsSignalsCollectorTest, GetSignal_SettingsInfo) {}

}  // namespace device_signals