#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) { … }
}
GetSettingsSignalsCallback;
class SettingsSignalsCollectorTest : public testing::Test { … };
TEST_F(SettingsSignalsCollectorTest, SupportedSettingsSignalNames) { … }
TEST_F(SettingsSignalsCollectorTest, GetSettingsSignal_Unsupported) { … }
TEST_F(SettingsSignalsCollectorTest, GetSignal_Settings_MissingParameters) { … }
TEST_F(SettingsSignalsCollectorTest, GetSignal_SettingsInfo) { … }
}