Krzysztof Grobelny | d223819 | 2020-12-02 09:27:28 +0000 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Krzysztof Grobelny | 9f9ff90 | 2021-03-05 14:57:53 +0000 | [diff] [blame] | 3 | #include "interfaces/types.hpp" |
Krzysztof Grobelny | d223819 | 2020-12-02 09:27:28 +0000 | [diff] [blame] | 4 | |
| 5 | #include <ostream> |
| 6 | |
| 7 | #include <gmock/gmock.h> |
| 8 | |
| 9 | namespace utils |
| 10 | { |
| 11 | |
| 12 | inline void PrintTo(const LabeledSensorParameters& o, std::ostream* os) |
| 13 | { |
| 14 | using testing::PrintToString; |
| 15 | |
| 16 | (*os) << "{ "; |
| 17 | (*os) << utils::tstring::Service::str() << ": " |
| 18 | << PrintToString(o.at_label<utils::tstring::Service>()) << ", "; |
| 19 | (*os) << utils::tstring::Path::str() << ": " |
| 20 | << PrintToString(o.at_label<utils::tstring::Path>()); |
| 21 | (*os) << " }"; |
| 22 | } |
| 23 | |
| 24 | } // namespace utils |