/*test case:test the reaction of the system called with an activation of a task*/ static void test_comerror_instance3(void) { StatusType result_inst_1, result_inst_2, result_inst_3; SCHEDULING_CHECK_INIT(27); result_inst_1 = COMErrorGetServiceId(); SCHEDULING_CHECK_AND_EQUAL_INT(27,COMServiceId_ReceiveMessage , result_inst_1); SCHEDULING_CHECK_INIT(28); result_inst_2 = (StatusType)(*COMError_ReceiveMessage_DataRef()); SCHEDULING_CHECK_AND_EQUAL_INT(28,(StatusType)('3') , result_inst_2); SCHEDULING_CHECK_INIT(29); result_inst_3 = (StatusType)COMError_ReceiveMessage_Message(); SCHEDULING_CHECK_AND_EQUAL_INT(29,rm , result_inst_3); }
/*test case:test the reaction of the system called with an activation of a task*/ static void test_comerror_instance4(void) { StatusType result_inst_1, result_inst_2, result_inst_3; SCHEDULING_CHECK_INIT(33); result_inst_1 = COMErrorGetServiceId(); SCHEDULING_CHECK_AND_EQUAL_INT(33,COMServiceId_ReceiveMessage , result_inst_1); SCHEDULING_CHECK_INIT(34); result_inst_2 = (StatusType)(*COMError_ReceiveMessage_DataRef()); SCHEDULING_CHECK_AND_EQUAL_INT(34,(StatusType)('3') , result_inst_2); SCHEDULING_CHECK_INIT(35); result_inst_3 = (StatusType)COMError_ReceiveMessage_Message(); SCHEDULING_CHECK_AND_EQUAL_INT(35,INVALID_MESSAGE , result_inst_3); }
/*test case:test the reaction of the system called with an activation of a task*/ static void test_comerror_instance5(void) { StatusType result_inst_1, result_inst_2, result_inst_3; SCHEDULING_CHECK_INIT(22); result_inst_1 = COMErrorGetServiceId(); SCHEDULING_CHECK_AND_EQUAL_INT(22,COMServiceId_SendMessage , result_inst_1); SCHEDULING_CHECK_INIT(23); result_inst_2 = (StatusType)(*COMError_ReceiveMessage_DataRef()); SCHEDULING_CHECK_AND_EQUAL_INT(23,(StatusType)('3') , result_inst_2); SCHEDULING_CHECK_INIT(24); result_inst_3 = (StatusType)COMError_ReceiveMessage_Message(); SCHEDULING_CHECK_AND_EQUAL_INT(24, (StatusType)(-1) , result_inst_3); }