This commit is contained in:
parent
c04936d0dc
commit
fddfa80f76
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
|
|
||||||
#include "../../dummies/TemperatureSensorInserter.h"
|
#include "dummies/TemperatureSensorInserter.h"
|
||||||
#include "../testEnvironment.h"
|
#include "../testEnvironment.h"
|
||||||
#include "mission/core/GenericFactory.h"
|
#include "mission/core/GenericFactory.h"
|
||||||
#include "test/gpio/DummyGpioIF.h"
|
#include "test/gpio/DummyGpioIF.h"
|
||||||
@ -15,7 +15,9 @@
|
|||||||
TEST_CASE("Thermal Controller", "[ThermalController]") {
|
TEST_CASE("Thermal Controller", "[ThermalController]") {
|
||||||
const object_id_t THERMAL_CONTROLLER_ID = 0x123;
|
const object_id_t THERMAL_CONTROLLER_ID = 0x123;
|
||||||
|
|
||||||
new TemperatureSensorInserter(objects::THERMAL_TEMP_INSERTER);
|
TemperatureSensorInserter::Max31865DummyMap map0;
|
||||||
|
TemperatureSensorInserter::Tmp1075DummyMap map1;
|
||||||
|
new TemperatureSensorInserter(objects::THERMAL_TEMP_INSERTER, map0, map1);
|
||||||
auto dummyGpioIF = new DummyGpioIF();
|
auto dummyGpioIF = new DummyGpioIF();
|
||||||
auto dummySwitcher = new DummyPowerSwitcher(objects::PCDU_HANDLER, 18, 0);
|
auto dummySwitcher = new DummyPowerSwitcher(objects::PCDU_HANDLER, 18, 0);
|
||||||
// TODO: Create dummy heater handler
|
// TODO: Create dummy heater handler
|
||||||
|
Loading…
Reference in New Issue
Block a user