xref: /openbmc/telemetry/tests/src/helpers/trigger_helpers.hpp (revision b3e03d2d6b42298411d29329b5456d62da289461)
1 #pragma once
2 
3 #include "types/trigger_types.hpp"
4 
5 #include <ostream>
6 
7 #include <gmock/gmock.h>
8 
PrintTo(const TriggerAction & action,std::ostream * os)9 inline void PrintTo(const TriggerAction& action, std::ostream* os)
10 {
11     *os << actionToString(action);
12 }
13