xref: /openbmc/telemetry/tests/src/helpers/interfaces/json_storage_helpers.hpp (revision 405c1e4bf8b993cb3800adead546e91b030ecb9b)
1 #pragma once
2 
3 #include "interfaces/json_storage.hpp"
4 
5 #include <gmock/gmock.h>
6 
7 namespace interfaces
8 {
9 
10 inline void PrintTo(const JsonStorage::FilePath& o, std::ostream* os)
11 {
12     (*os) << static_cast<std::filesystem::path>(o);
13 }
14 inline void PrintTo(const JsonStorage::DirectoryPath& o, std::ostream* os)
15 {
16     (*os) << static_cast<std::filesystem::path>(o);
17 }
18 
19 } // namespace interfaces