Sha256: 67944d7590384483ecb8b1c06cdc9426e4c78bdfa99886f4d24f9d07e2aa84c0

Contents?: true

Size: 448 Bytes

Versions: 27

Compression:

Stored size: 448 Bytes

Contents

#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

27 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.31.1 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.31.1 examples/temp_sensor/test/TestMain.c
ceedling-0.31.0 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.31.0 examples/temp_sensor/test/TestMain.c
ceedling-0.30.0 examples/temp_sensor/test/TestMain.c
ceedling-0.30.0 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.28.3 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.28.3 examples/temp_sensor/test/TestMain.c
ceedling-0.28.2 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.28.2 examples/temp_sensor/test/TestMain.c
ceedling-0.28.1 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.28.1 examples/temp_sensor/test/TestMain.c
ceedling-0.27.0 examples/temp_sensor/test/TestMain.c
ceedling-0.27.0 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.25.0 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.25.0 examples/temp_sensor/test/TestMain.c
ceedling-0.24.0 vendor/cmock/examples/temp_sensor/test/TestMain.c
ceedling-0.24.0 examples/temp_sensor/test/TestMain.c
ceedling-0.22.0 examples/temp_sensor/test/TestMain.c
ceedling-0.22.0 vendor/cmock/examples/temp_sensor/test/TestMain.c