This commit is contained in:
parent
d7dc3f34c7
commit
4acf66a020
@ -17,7 +17,7 @@
|
|||||||
#include <objects/systemObjectList.h>
|
#include <objects/systemObjectList.h>
|
||||||
|
|
||||||
// Enabling this should trigger a special event which in turn should trigger a system reaction.
|
// Enabling this should trigger a special event which in turn should trigger a system reaction.
|
||||||
#define LOWER_SYRLINKS_UPPER_LIMITS 0
|
#define LOWER_SYRLINKS_UPPER_LIMITS 1
|
||||||
#define LOWER_EBAND_UPPER_LIMITS 0
|
#define LOWER_EBAND_UPPER_LIMITS 0
|
||||||
#define LOWER_PLOC_UPPER_LIMITS 0
|
#define LOWER_PLOC_UPPER_LIMITS 0
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ TEST_CASE("Thermal Controller", "[ThermalController]") {
|
|||||||
CommandMessage modeMessage;
|
CommandMessage modeMessage;
|
||||||
|
|
||||||
ModeMessage::setModeMessage(&modeMessage, ModeMessage::CMD_MODE_COMMAND,
|
ModeMessage::setModeMessage(&modeMessage, ModeMessage::CMD_MODE_COMMAND,
|
||||||
ControllerBase::MODE_NORMAL, HasModesIF::SUBMODE_NONE);
|
HasModesIF::MODE_ON, HasModesIF::SUBMODE_NONE);
|
||||||
|
|
||||||
MessageQueueIF* commandQueue =
|
MessageQueueIF* commandQueue =
|
||||||
QueueFactory::instance()->createMessageQueue(5, MessageQueueMessage::MAX_MESSAGE_SIZE);
|
QueueFactory::instance()->createMessageQueue(5, MessageQueueMessage::MAX_MESSAGE_SIZE);
|
||||||
@ -57,7 +57,7 @@ TEST_CASE("Thermal Controller", "[ThermalController]") {
|
|||||||
REQUIRE(controller.performOperation(0) == returnvalue::OK);
|
REQUIRE(controller.performOperation(0) == returnvalue::OK);
|
||||||
|
|
||||||
REQUIRE(testEnvironment::eventManager->isEventInEventList(
|
REQUIRE(testEnvironment::eventManager->isEventInEventList(
|
||||||
THERMAL_CONTROLLER_ID, HasModesIF::MODE_INFO, ControllerBase::MODE_NORMAL,
|
THERMAL_CONTROLLER_ID, HasModesIF::MODE_INFO, HasModesIF::MODE_ON,
|
||||||
HasModesIF::SUBMODE_NONE) == true);
|
HasModesIF::SUBMODE_NONE) == true);
|
||||||
|
|
||||||
QueueFactory::instance()->deleteMessageQueue(commandQueue);
|
QueueFactory::instance()->deleteMessageQueue(commandQueue);
|
||||||
|
Loading…
Reference in New Issue
Block a user