Sha256: 7d2d58e797a65e44698e30cdb79cac7e94fb96c8e95623c3ab8f9ec0f9078809
Contents?: true
Size: 611 Bytes
Versions: 27
Compression:
Stored size: 611 Bytes
Contents
#include "unity.h" #include "Types.h" #include "TimerConductor.h" #include "MockTimerHardware.h" #include "MockTimerModel.h" #include "MockTimerInterruptHandler.h" void setUp(void) { } void tearDown(void) { } void testInitShouldCallHardwareInit(void) { TimerHardware_Init_Expect(); TimerConductor_Init(); } void testRunShouldGetSystemTimeAndPassOnToModelForEventScheduling(void) { Timer_GetSystemTime_ExpectAndReturn(1230); TimerModel_UpdateTime_Expect(1230); TimerConductor_Run(); Timer_GetSystemTime_ExpectAndReturn(837460); TimerModel_UpdateTime_Expect(837460); TimerConductor_Run(); }
Version data entries
27 entries across 14 versions & 1 rubygems