Skip to content
Snippets Groups Projects

Add mock for default weather

Merged Baljeet Singh requested to merge ct_wall_mock_default_weather into master
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -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;
Loading