Sha256: f12d37e48e89d696d96a5fcee2e98a930130139d262224a94c0678802c22c7e8
Contents?: true
Size: 782 Bytes
Versions: 2
Compression:
Stored size: 782 Bytes
Contents
/* ========================================================================= Ceedling - Test-Centered Build System for C ThrowTheSwitch.org Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #include "unity.h" #include "Types.h" #include "MockExecutor.h" #include "Main.h" void setUp(void) { } void tearDown(void) { } void testMainShouldCallExecutorInitAndContinueToCallExecutorRunUntilHalted(void) { Executor_Init_Expect(); Executor_Run_ExpectAndReturn(TRUE); Executor_Run_ExpectAndReturn(TRUE); Executor_Run_ExpectAndReturn(TRUE); Executor_Run_ExpectAndReturn(TRUE); Executor_Run_ExpectAndReturn(FALSE); AppMain(); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | examples/temp_sensor/test/TestMain.c |
ceedling-1.0.0 | examples/temp_sensor/test/TestMain.c |