blob: ef2eb6bbec12774c76e6808a5bcdd0d795d52ac2 [file] [log] [blame]
#pragma once
#include "interfaces/types.hpp"
#include <ostream>
#include <gmock/gmock.h>
namespace utils
{
inline void PrintTo(const LabeledSensorParameters& o, std::ostream* os)
{
using testing::PrintToString;
(*os) << "{ ";
(*os) << utils::tstring::Service::str() << ": "
<< PrintToString(o.at_label<utils::tstring::Service>()) << ", ";
(*os) << utils::tstring::Path::str() << ": "
<< PrintToString(o.at_label<utils::tstring::Path>());
(*os) << " }";
}
} // namespace utils