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

#include <array>
#include <utility>

#include "base/files/file_path.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "components/device_signals/core/browser/mock_system_signals_service_host.h"
#include "components/device_signals/core/browser/signals_types.h"
#include "components/device_signals/core/common/common_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_file_parameter = true) {}
}  // namespace

GetFileSystemSignalsCallback;

class FileSystemSignalsCollectorTest : 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(FileSystemSignalsCollectorTest, SupportedSignalNames) {}

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

// Tests that the request does not contain the required parameters for the
// File System signal.
TEST_F(FileSystemSignalsCollectorTest, GetSignal_File_MissingParameters) {}

// Tests that not being able to retrieve a pointer to the SystemSignalsService
// returns an error.
TEST_F(FileSystemSignalsCollectorTest,
       GetSignal_File_MissingSystemSignalsService) {}

// Tests a successful File System signal retrieval.
TEST_F(FileSystemSignalsCollectorTest, GetSignal_FileSystemInfo) {}

}  // namespace device_signals