v1.9.0 #175

Merged
muellerr merged 623 commits from develop into main 2022-03-08 10:32:41 +01:00
2 changed files with 31 additions and 0 deletions
Showing only changes of commit 0f42790aa1 - Show all commits

View File

@ -4,6 +4,10 @@
#include <fsfw/objectmanager.h>
#include <fsfw/storagemanager/PoolManager.h>
#include <fsfw/timemanager/TimeStamper.h>
#include <fsfw/events/EventManagerIF.h>
#include <mission/controller/ThermalController.h>
#include <catch2/catch_test_macros.hpp>

View File

@ -0,0 +1,27 @@
#ifndef EVENTMANAGERMOCK_H_
#define EVENTMANAGERMOCK_H_
#include <fsfw/events/EventManagerIF.h>
class EventManagerMock {
public:
virtual MessageQueueId_t getEventReportQueue() override;
virtual ReturnValue_t registerListener(MessageQueueId_t listener,
bool forwardAllButSelected = false) override;
virtual ReturnValue_t subscribeToEvent(MessageQueueId_t listener, EventId_t event) override;
virtual ReturnValue_t subscribeToAllEventsFrom(MessageQueueId_t listener,
object_id_t object) override;
virtual ReturnValue_t subscribeToEventRange(MessageQueueId_t listener, EventId_t idFrom = 0,
EventId_t idTo = 0, bool idInverted = false,
object_id_t reporterFrom = 0,
object_id_t reporterTo = 0,
bool reporterInverted = false) override;
virtual ReturnValue_t unsubscribeFromEventRange(MessageQueueId_t listener, EventId_t idFrom = 0,
EventId_t idTo = 0, bool idInverted = false,
object_id_t reporterFrom = 0,
object_id_t reporterTo = 0,
bool reporterInverted = false) override;
};
#endif /* EVENTMANAGERMOCK_H_ */