Skip to content
Snippets Groups Projects
Commit 88ae37d3 authored by Baljeet Singh's avatar Baljeet Singh
Browse files

Add mock for default weather

Issue: CB-#5868635
parent 293d8cde
No related branches found
Tags v2.1.0
1 merge request!44Add mock for default weather
...@@ -434,6 +434,11 @@ public: ...@@ -434,6 +434,11 @@ public:
(std::uint64_t entity_id, mantle_api::ControlStrategyType type), (std::uint64_t entity_id, mantle_api::ControlStrategyType type),
(const, override)); (const, override));
MOCK_METHOD(void,
SetWeather,
(mantle_api::Weather weather),
(override));
const mantle_api::ILaneLocationQueryService& GetQueryService() const override { return query_service_; } const mantle_api::ILaneLocationQueryService& GetQueryService() const override { return query_service_; }
const mantle_api::ICoordConverter* GetConverter() const override { return &converter_; } const mantle_api::ICoordConverter* GetConverter() const override { return &converter_; }
...@@ -444,8 +449,6 @@ public: ...@@ -444,8 +449,6 @@ public:
MockControllerRepository& GetControllerRepository() override { return controller_repository_; } MockControllerRepository& GetControllerRepository() override { return controller_repository_; }
void SetWeather(mantle_api::Weather weather) override { std::ignore = weather; }
void SetRoadCondition(std::vector<mantle_api::FrictionPatch> friction_patches) override void SetRoadCondition(std::vector<mantle_api::FrictionPatch> friction_patches) override
{ {
std::ignore = friction_patches; std::ignore = friction_patches;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment