void mock_StringObject_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.stringCreate_IgnoreBool)
    Mock.stringCreate_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.stringCreate_CallInstance, cmock_line, "Function 'stringCreate' called less times than expected.");
  if (Mock.stringCreate_CallbackFunctionPointer != NULL)
    Mock.stringCreate_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.stringCopy_IgnoreBool)
    Mock.stringCopy_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.stringCopy_CallInstance, cmock_line, "Function 'stringCopy' called less times than expected.");
  if (Mock.stringCopy_CallbackFunctionPointer != NULL)
    Mock.stringCopy_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.stringLeftTrim_IgnoreBool)
    Mock.stringLeftTrim_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.stringLeftTrim_CallInstance, cmock_line, "Function 'stringLeftTrim' called less times than expected.");
  if (Mock.stringLeftTrim_CallbackFunctionPointer != NULL)
    Mock.stringLeftTrim_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.stringRightTrim_IgnoreBool)
    Mock.stringRightTrim_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.stringRightTrim_CallInstance, cmock_line, "Function 'stringRightTrim' called less times than expected.");
  if (Mock.stringRightTrim_CallbackFunctionPointer != NULL)
    Mock.stringRightTrim_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.getWordAndUpdate_IgnoreBool)
    Mock.getWordAndUpdate_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.getWordAndUpdate_CallInstance, cmock_line, "Function 'getWordAndUpdate' called less times than expected.");
  if (Mock.getWordAndUpdate_CallbackFunctionPointer != NULL)
    Mock.getWordAndUpdate_CallInstance = CMOCK_GUTS_NONE;
}
void MockAdcTemperatureSensor_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_StartTemperatureSensorConversion_CallInstance, cmock_line, "Function 'Adc_StartTemperatureSensorConversion' called less times than expected.");
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_TemperatureSensorSampleReady_CallInstance, cmock_line, "Function 'Adc_TemperatureSensorSampleReady' called less times than expected.");
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_ReadTemperatureSensor_CallInstance, cmock_line, "Function 'Adc_ReadTemperatureSensor' called less times than expected.");
}
void MockAdcHardwareConfigurator_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_Reset_CallInstance, cmock_line, "Function 'Adc_Reset' called less times than expected.");
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_ConfigureMode_CallInstance, cmock_line, "Function 'Adc_ConfigureMode' called less times than expected.");
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Adc_EnableTemperatureChannel_CallInstance, cmock_line, "Function 'Adc_EnableTemperatureChannel' called less times than expected.");
}
Ejemplo n.º 4
0
void MockLED_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.LED_Init_IgnoreBool)
    Mock.LED_Init_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.LED_Init_CallInstance, cmock_line, "Function 'LED_Init' called less times than expected.");
  if (Mock.LED_Toggle_IgnoreBool)
    Mock.LED_Toggle_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.LED_Toggle_CallInstance, cmock_line, "Function 'LED_Toggle' called less times than expected.");
}
void Mocksystem_memory_internals_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  UNITY_SET_DETAIL(CMockString_system_init);
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.system_init_CallInstance, cmock_line, CMockStringCalledLess);
  UNITY_SET_DETAIL(CMockString_system_write);
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.system_write_CallInstance, cmock_line, CMockStringCalledLess);
  UNITY_SET_DETAIL(CMockString_system_read);
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.system_read_CallInstance, cmock_line, CMockStringCalledLess);
}
Ejemplo n.º 6
0
void Mockremote_registration_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.qeo_remote_registration_init_IgnoreBool)
    Mock.qeo_remote_registration_init_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_init_CallInstance, cmock_line, "Function 'qeo_remote_registration_init' called less times than expected.");
  if (Mock.qeo_remote_registration_init_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_init_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_destroy_IgnoreBool)
    Mock.qeo_remote_registration_destroy_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_destroy_CallInstance, cmock_line, "Function 'qeo_remote_registration_destroy' called less times than expected.");
  if (Mock.qeo_remote_registration_destroy_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_destroy_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_construct_IgnoreBool)
    Mock.qeo_remote_registration_construct_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_construct_CallInstance, cmock_line, "Function 'qeo_remote_registration_construct' called less times than expected.");
  if (Mock.qeo_remote_registration_construct_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_construct_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_get_user_data_IgnoreBool)
    Mock.qeo_remote_registration_get_user_data_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_get_user_data_CallInstance, cmock_line, "Function 'qeo_remote_registration_get_user_data' called less times than expected.");
  if (Mock.qeo_remote_registration_get_user_data_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_get_user_data_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_destruct_IgnoreBool)
    Mock.qeo_remote_registration_destruct_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_destruct_CallInstance, cmock_line, "Function 'qeo_remote_registration_destruct' called less times than expected.");
  if (Mock.qeo_remote_registration_destruct_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_destruct_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_start_IgnoreBool)
    Mock.qeo_remote_registration_start_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_start_CallInstance, cmock_line, "Function 'qeo_remote_registration_start' called less times than expected.");
  if (Mock.qeo_remote_registration_start_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_start_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_update_registration_status_IgnoreBool)
    Mock.qeo_remote_registration_update_registration_status_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_update_registration_status_CallInstance, cmock_line, "Function 'qeo_remote_registration_update_registration_status' called less times than expected.");
  if (Mock.qeo_remote_registration_update_registration_status_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_update_registration_status_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_remote_registration_enable_using_new_registration_credentials_IgnoreBool)
    Mock.qeo_remote_registration_enable_using_new_registration_credentials_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_remote_registration_enable_using_new_registration_credentials_CallInstance, cmock_line, "Function 'qeo_remote_registration_enable_using_new_registration_credentials' called less times than expected.");
  if (Mock.qeo_remote_registration_enable_using_new_registration_credentials_CallbackFunctionPointer != NULL)
    Mock.qeo_remote_registration_enable_using_new_registration_credentials_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeocore_remote_registration_init_cond_IgnoreBool)
    Mock.qeocore_remote_registration_init_cond_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeocore_remote_registration_init_cond_CallInstance, cmock_line, "Function 'qeocore_remote_registration_init_cond' called less times than expected.");
  if (Mock.qeocore_remote_registration_init_cond_CallbackFunctionPointer != NULL)
    Mock.qeocore_remote_registration_init_cond_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeocore_remote_registration_set_key_IgnoreBool)
    Mock.qeocore_remote_registration_set_key_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeocore_remote_registration_set_key_CallInstance, cmock_line, "Function 'qeocore_remote_registration_set_key' called less times than expected.");
  if (Mock.qeocore_remote_registration_set_key_CallbackFunctionPointer != NULL)
    Mock.qeocore_remote_registration_set_key_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 7
0
void Mockdeviceinfo_writer_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.qeo_deviceinfo_publish_IgnoreBool)
    Mock.qeo_deviceinfo_publish_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_deviceinfo_publish_CallInstance, cmock_line, "Function 'qeo_deviceinfo_publish' called less times than expected.");
  if (Mock.qeo_deviceinfo_publish_CallbackFunctionPointer != NULL)
    Mock.qeo_deviceinfo_publish_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_deviceinfo_destruct_IgnoreBool)
    Mock.qeo_deviceinfo_destruct_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_deviceinfo_destruct_CallInstance, cmock_line, "Function 'qeo_deviceinfo_destruct' called less times than expected.");
  if (Mock.qeo_deviceinfo_destruct_CallbackFunctionPointer != NULL)
    Mock.qeo_deviceinfo_destruct_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 8
0
void mock_pca9548a_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.PCA9548A_Init_IgnoreBool)
    Mock.PCA9548A_Init_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.PCA9548A_Init_CallInstance, cmock_line, "Function 'PCA9548A_Init' called less times than expected.");
  if (Mock.PCA9548A_Init_CallbackFunctionPointer != NULL)
    Mock.PCA9548A_Init_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.PCA9548A_SetChannel_IgnoreBool)
    Mock.PCA9548A_SetChannel_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.PCA9548A_SetChannel_CallInstance, cmock_line, "Function 'PCA9548A_SetChannel' called less times than expected.");
  if (Mock.PCA9548A_SetChannel_CallbackFunctionPointer != NULL)
    Mock.PCA9548A_SetChannel_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 9
0
void mock_Stack_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.Stack_push_IgnoreBool)
    Mock.Stack_push_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Stack_push_CallInstance, cmock_line, "Function 'Stack_push' called less times than expected.");
  if (Mock.Stack_push_CallbackFunctionPointer != NULL)
    Mock.Stack_push_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.Stack_pop_IgnoreBool)
    Mock.Stack_pop_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Stack_pop_CallInstance, cmock_line, "Function 'Stack_pop' called less times than expected.");
  if (Mock.Stack_pop_CallbackFunctionPointer != NULL)
    Mock.Stack_pop_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 10
0
void Mockuser_data_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.reader_user_data_update_IgnoreBool)
    Mock.reader_user_data_update_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.reader_user_data_update_CallInstance, cmock_line, "Function 'reader_user_data_update' called less times than expected.");
  if (Mock.reader_user_data_update_CallbackFunctionPointer != NULL)
    Mock.reader_user_data_update_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.writer_user_data_update_IgnoreBool)
    Mock.writer_user_data_update_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.writer_user_data_update_CallInstance, cmock_line, "Function 'writer_user_data_update' called less times than expected.");
  if (Mock.writer_user_data_update_CallbackFunctionPointer != NULL)
    Mock.writer_user_data_update_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 11
0
void mock_i2c_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.InitI2C_IgnoreBool)
    Mock.InitI2C_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.InitI2C_CallInstance, cmock_line, "Function 'InitI2C' called less times than expected.");
  if (Mock.InitI2C_CallbackFunctionPointer != NULL)
    Mock.InitI2C_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.I2CWriteInit_IgnoreBool)
    Mock.I2CWriteInit_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.I2CWriteInit_CallInstance, cmock_line, "Function 'I2CWriteInit' called less times than expected.");
  if (Mock.I2CWriteInit_CallbackFunctionPointer != NULL)
    Mock.I2CWriteInit_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 12
0
void MockSystem_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.System_AbortRequested_IgnoreBool)
    Mock.System_AbortRequested_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.System_AbortRequested_CallInstance, cmock_line, "Function 'System_AbortRequested' called less times than expected.");
}
Ejemplo n.º 13
0
static void test_open(dummy_vfs_t* instance, const char* path,
        bool should_be_called, bool should_be_opened, int line)
{
    const int flags = O_CREAT | O_TRUNC | O_RDWR;
    instance->called = false;
    int fd = esp_vfs_open(__getreent(), path, flags, 0);
    UNITY_TEST_ASSERT_EQUAL_INT(should_be_called, instance->called, line,
            "should_be_called check failed");
    if (should_be_called) {
        if (should_be_opened) {
            UNITY_TEST_ASSERT(fd >= 0, line, "should be opened");
        } else {
            UNITY_TEST_ASSERT(fd < 0, line, "should not be opened");
        }
    }
    esp_vfs_close(__getreent(), fd);
}
Ejemplo n.º 14
0
static void test_opendir(dummy_vfs_t* instance, const char* path,
        bool should_be_called, bool should_be_opened, int line)
{
    instance->called = false;
    DIR* dir = opendir(path);
    UNITY_TEST_ASSERT_EQUAL_INT(should_be_called, instance->called, line,
            "should_be_called check failed");
    if (should_be_called) {
        if (should_be_opened) {
            UNITY_TEST_ASSERT(dir != NULL, line, "should be opened");
        } else {
            UNITY_TEST_ASSERT(dir == 0, line, "should not be opened");
        }
    }
    if (dir) {
        closedir(dir);
    }
}
void mock_initializeToken_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.initTokenizer_IgnoreBool)
    Mock.initTokenizer_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.initTokenizer_CallInstance, cmock_line, "Function 'initTokenizer' called less times than expected.");
  if (Mock.initTokenizer_CallbackFunctionPointer != NULL)
    Mock.initTokenizer_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 16
0
void Mockmgmt_cert_parser_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.qeo_mgmt_cert_parse_IgnoreBool)
    Mock.qeo_mgmt_cert_parse_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_mgmt_cert_parse_CallInstance, cmock_line, "Function 'qeo_mgmt_cert_parse' called less times than expected.");
  if (Mock.qeo_mgmt_cert_parse_CallbackFunctionPointer != NULL)
    Mock.qeo_mgmt_cert_parse_CallInstance = CMOCK_GUTS_NONE;
}
void mock_operatorEvaluate_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.operatorEvaluate_IgnoreBool)
    Mock.operatorEvaluate_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.operatorEvaluate_CallInstance, cmock_line, "Function 'operatorEvaluate' called less times than expected.");
  if (Mock.operatorEvaluate_CallbackFunctionPointer != NULL)
    Mock.operatorEvaluate_CallInstance = CMOCK_GUTS_NONE;
}
void mock_display_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.Draw_Int_IgnoreBool)
    Mock.Draw_Int_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.Draw_Int_CallInstance, cmock_line, "Function 'Draw_Int' called less times than expected.");
  if (Mock.Draw_Int_CallbackFunctionPointer != NULL)
    Mock.Draw_Int_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 19
0
void Mockpolicy_Verify(void)
{
    UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
    if (Mock.qeo_security_policy_init_IgnoreBool)
        Mock.qeo_security_policy_init_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_init_CallInstance, cmock_line, "Function 'qeo_security_policy_init' called less times than expected.");
    if (Mock.qeo_security_policy_init_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_init_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_destroy_IgnoreBool)
        Mock.qeo_security_policy_destroy_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_destroy_CallInstance, cmock_line, "Function 'qeo_security_policy_destroy' called less times than expected.");
    if (Mock.qeo_security_policy_destroy_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_destroy_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_construct_IgnoreBool)
        Mock.qeo_security_policy_construct_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_construct_CallInstance, cmock_line, "Function 'qeo_security_policy_construct' called less times than expected.");
    if (Mock.qeo_security_policy_construct_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_construct_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_get_config_IgnoreBool)
        Mock.qeo_security_policy_get_config_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_get_config_CallInstance, cmock_line, "Function 'qeo_security_policy_get_config' called less times than expected.");
    if (Mock.qeo_security_policy_get_config_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_get_config_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_get_sequence_number_IgnoreBool)
        Mock.qeo_security_policy_get_sequence_number_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_get_sequence_number_CallInstance, cmock_line, "Function 'qeo_security_policy_get_sequence_number' called less times than expected.");
    if (Mock.qeo_security_policy_get_sequence_number_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_get_sequence_number_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_destruct_IgnoreBool)
        Mock.qeo_security_policy_destruct_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_destruct_CallInstance, cmock_line, "Function 'qeo_security_policy_destruct' called less times than expected.");
    if (Mock.qeo_security_policy_destruct_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_destruct_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_start_redistribution_IgnoreBool)
        Mock.qeo_security_policy_start_redistribution_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_start_redistribution_CallInstance, cmock_line, "Function 'qeo_security_policy_start_redistribution' called less times than expected.");
    if (Mock.qeo_security_policy_start_redistribution_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_start_redistribution_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_refresh_IgnoreBool)
        Mock.qeo_security_policy_refresh_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_refresh_CallInstance, cmock_line, "Function 'qeo_security_policy_refresh' called less times than expected.");
    if (Mock.qeo_security_policy_refresh_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_refresh_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_security_policy_get_fine_grained_rules_IgnoreBool)
        Mock.qeo_security_policy_get_fine_grained_rules_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_security_policy_get_fine_grained_rules_CallInstance, cmock_line, "Function 'qeo_security_policy_get_fine_grained_rules' called less times than expected.");
    if (Mock.qeo_security_policy_get_fine_grained_rules_CallbackFunctionPointer != NULL)
        Mock.qeo_security_policy_get_fine_grained_rules_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 20
0
void Mockplatform_security_Verify(void)
{
    UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
    if (Mock.qeo_platform_security_registration_credentials_needed_IgnoreBool)
        Mock.qeo_platform_security_registration_credentials_needed_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_security_registration_credentials_needed_CallInstance, cmock_line, "Function 'qeo_platform_security_registration_credentials_needed' called less times than expected.");
    if (Mock.qeo_platform_security_registration_credentials_needed_CallbackFunctionPointer != NULL)
        Mock.qeo_platform_security_registration_credentials_needed_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_platform_security_update_state_IgnoreBool)
        Mock.qeo_platform_security_update_state_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_security_update_state_CallInstance, cmock_line, "Function 'qeo_platform_security_update_state' called less times than expected.");
    if (Mock.qeo_platform_security_update_state_CallbackFunctionPointer != NULL)
        Mock.qeo_platform_security_update_state_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.qeo_platform_security_remote_registration_confirmation_needed_IgnoreBool)
        Mock.qeo_platform_security_remote_registration_confirmation_needed_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_security_remote_registration_confirmation_needed_CallInstance, cmock_line, "Function 'qeo_platform_security_remote_registration_confirmation_needed' called less times than expected.");
    if (Mock.qeo_platform_security_remote_registration_confirmation_needed_CallbackFunctionPointer != NULL)
        Mock.qeo_platform_security_remote_registration_confirmation_needed_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 21
0
void Mockplatform_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.qeo_platform_get_device_storage_path_IgnoreBool)
    Mock.qeo_platform_get_device_storage_path_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_get_device_storage_path_CallInstance, cmock_line, "Function 'qeo_platform_get_device_storage_path' called less times than expected.");
  if (Mock.qeo_platform_get_device_storage_path_CallbackFunctionPointer != NULL)
    Mock.qeo_platform_get_device_storage_path_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_platform_set_key_value_IgnoreBool)
    Mock.qeo_platform_set_key_value_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_set_key_value_CallInstance, cmock_line, "Function 'qeo_platform_set_key_value' called less times than expected.");
  if (Mock.qeo_platform_set_key_value_CallbackFunctionPointer != NULL)
    Mock.qeo_platform_set_key_value_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.qeo_platform_get_key_value_IgnoreBool)
    Mock.qeo_platform_get_key_value_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.qeo_platform_get_key_value_CallInstance, cmock_line, "Function 'qeo_platform_get_key_value' called less times than expected.");
  if (Mock.qeo_platform_get_key_value_CallbackFunctionPointer != NULL)
    Mock.qeo_platform_get_key_value_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 22
0
void mock_nextToken_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.nextToken_IgnoreBool)
    Mock.nextToken_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.nextToken_CallInstance, cmock_line, "Function 'nextToken' called less times than expected.");
  if (Mock.nextToken_CallbackFunctionPointer != NULL)
    Mock.nextToken_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.isOperator_IgnoreBool)
    Mock.isOperator_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.isOperator_CallInstance, cmock_line, "Function 'isOperator' called less times than expected.");
  if (Mock.isOperator_CallbackFunctionPointer != NULL)
    Mock.isOperator_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.isNumber_IgnoreBool)
    Mock.isNumber_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.isNumber_CallInstance, cmock_line, "Function 'isNumber' called less times than expected.");
  if (Mock.isNumber_CallbackFunctionPointer != NULL)
    Mock.isNumber_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 23
0
void mock_List_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.ListNew_IgnoreBool)
    Mock.ListNew_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.ListNew_CallInstance, cmock_line, "Function 'ListNew' called less times than expected.");
  if (Mock.ListNew_CallbackFunctionPointer != NULL)
    Mock.ListNew_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.listAdd_IgnoreBool)
    Mock.listAdd_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.listAdd_CallInstance, cmock_line, "Function 'listAdd' called less times than expected.");
  if (Mock.listAdd_CallbackFunctionPointer != NULL)
    Mock.listAdd_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.ListDel_IgnoreBool)
    Mock.ListDel_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.ListDel_CallInstance, cmock_line, "Function 'ListDel' called less times than expected.");
  if (Mock.ListDel_CallbackFunctionPointer != NULL)
    Mock.ListDel_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.listRemove_IgnoreBool)
    Mock.listRemove_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.listRemove_CallInstance, cmock_line, "Function 'listRemove' called less times than expected.");
  if (Mock.listRemove_CallbackFunctionPointer != NULL)
    Mock.listRemove_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.listIsEmpty_IgnoreBool)
    Mock.listIsEmpty_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.listIsEmpty_CallInstance, cmock_line, "Function 'listIsEmpty' called less times than expected.");
  if (Mock.listIsEmpty_CallbackFunctionPointer != NULL)
    Mock.listIsEmpty_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.listIsFull_IgnoreBool)
    Mock.listIsFull_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.listIsFull_CallInstance, cmock_line, "Function 'listIsFull' called less times than expected.");
  if (Mock.listIsFull_CallbackFunctionPointer != NULL)
    Mock.listIsFull_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 24
0
void mock_ShuntingYard_Verify(void)
{
    UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
    if (Mock.evaluate_IgnoreBool)
        Mock.evaluate_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.evaluate_CallInstance, cmock_line, "Function 'evaluate' called less times than expected.");
    if (Mock.evaluate_CallbackFunctionPointer != NULL)
        Mock.evaluate_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.evaluate1_IgnoreBool)
        Mock.evaluate1_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.evaluate1_CallInstance, cmock_line, "Function 'evaluate1' called less times than expected.");
    if (Mock.evaluate1_CallbackFunctionPointer != NULL)
        Mock.evaluate1_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.evaluate2_IgnoreBool)
        Mock.evaluate2_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.evaluate2_CallInstance, cmock_line, "Function 'evaluate2' called less times than expected.");
    if (Mock.evaluate2_CallbackFunctionPointer != NULL)
        Mock.evaluate2_CallInstance = CMOCK_GUTS_NONE;
    if (Mock.evaluate3_IgnoreBool)
        Mock.evaluate3_CallInstance = CMOCK_GUTS_NONE;
    UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.evaluate3_CallInstance, cmock_line, "Function 'evaluate3' called less times than expected.");
    if (Mock.evaluate3_CallbackFunctionPointer != NULL)
        Mock.evaluate3_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 25
0
void Mocksamplesupport_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  if (Mock.data_alloc_IgnoreBool)
    Mock.data_alloc_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.data_alloc_CallInstance, cmock_line, "Function 'data_alloc' called less times than expected.");
  if (Mock.data_alloc_CallbackFunctionPointer != NULL)
    Mock.data_alloc_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.data_get_member_IgnoreBool)
    Mock.data_get_member_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.data_get_member_CallInstance, cmock_line, "Function 'data_get_member' called less times than expected.");
  if (Mock.data_get_member_CallbackFunctionPointer != NULL)
    Mock.data_get_member_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.data_set_member_IgnoreBool)
    Mock.data_set_member_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.data_set_member_CallInstance, cmock_line, "Function 'data_set_member' called less times than expected.");
  if (Mock.data_set_member_CallbackFunctionPointer != NULL)
    Mock.data_set_member_CallInstance = CMOCK_GUTS_NONE;
  if (Mock.sequence_member_accessor_IgnoreBool)
    Mock.sequence_member_accessor_CallInstance = CMOCK_GUTS_NONE;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.sequence_member_accessor_CallInstance, cmock_line, "Function 'sequence_member_accessor' called less times than expected.");
  if (Mock.sequence_member_accessor_CallbackFunctionPointer != NULL)
    Mock.sequence_member_accessor_CallInstance = CMOCK_GUTS_NONE;
}
Ejemplo n.º 26
0
void MockTimerConductor_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.TimerConductor_Init_CallInstance, cmock_line, "Function 'TimerConductor_Init' called less times than expected.");
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.TimerConductor_Run_CallInstance, cmock_line, "Function 'TimerConductor_Run' called less times than expected.");
}
Ejemplo n.º 27
0
void MockgetFileSystemsInfo_Verify(void)
{
  UNITY_LINE_TYPE cmock_line = TEST_LINE_NUM;
  UNITY_TEST_ASSERT(CMOCK_GUTS_NONE == Mock.getFileSystemsInfo_CallInstance, cmock_line, "Function 'getFileSystemsInfo' called less times than expected.");
}