#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) { … }
}
GetFileSystemSignalsCallback;
class FileSystemSignalsCollectorTest : public testing::Test { … };
TEST_F(FileSystemSignalsCollectorTest, SupportedSignalNames) { … }
TEST_F(FileSystemSignalsCollectorTest, GetSignal_Unsupported) { … }
TEST_F(FileSystemSignalsCollectorTest, GetSignal_File_MissingParameters) { … }
TEST_F(FileSystemSignalsCollectorTest,
GetSignal_File_MissingSystemSignalsService) { … }
TEST_F(FileSystemSignalsCollectorTest, GetSignal_FileSystemInfo) { … }
}