summaryrefslogtreecommitdiff
path: root/src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h')
-rw-r--r--src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h b/src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h
index f42a0b4a15..9a91a5d1f7 100644
--- a/src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h
+++ b/src/components/protocol_handler/test/include/protocol_handler/mock_telemetry_observer.h
@@ -35,6 +35,7 @@
#include "gmock/gmock.h"
#include "protocol_handler/time_metric_observer.h"
+#include "utils/shared_ptr.h"
namespace test {
namespace components {
@@ -42,7 +43,8 @@ namespace protocol_handler_test {
class MockPHTelemetryObserver : public ::protocol_handler::PHTelemetryObserver {
public:
- MOCK_METHOD2(StartMessageProcess, void(uint32_t, const TimevalStruct&));
+ MOCK_METHOD2(StartMessageProcess,
+ void(uint32_t, const date_time::TimeDuration&));
MOCK_METHOD2(EndMessageProcess, void(std::shared_ptr<MessageMetric>));
};