标题: 测试test case 实例 [打印本页] 作者: microhard 时间: 2004-11-26 15:32 标题: 测试test case 实例 Actual Value Test Design Table
Procedure SET_ARINC_RESPONSE_BITS
Test Case: 1
ID Variable Initial Expected
1-1 NEW_COMMANDNEW_INHIBITNEW_COMPLETECMD_RESPONSEINH_RESPONSECMD_COMPLETE 0TRUETRUE1FALSEFALSE InitialInitialInitial0TRUETRUE
End procedure SET_ARINC_RESPONSE_BITS
Procedure SET_RESPONSE_BIT_DEFAULTS
Test Case: 2
ID Variable Initial Expected
2-1 --procedure SET_RESPONSE_BIT_DEFAULTS is called.CMD_RESPONSEINH_RESPONSECMD_COMPLETE 1FALSETRUE 0TRUEFALSE
End procedure SET_RESPONSE_BIT_DEFAULTS
.........................
Test Case: 52
ID Variable Initial Expected
31-2F=>F CLEAR_CAIMS_FLAG FASLE Initial
33-1TT=>T STUB ARINC_AIRCRAFT_DATA.GET_EQUIP_ID()128STUB ARINC_AIRCRAFT_DATA.GET_CAIMS_SDI()0 N/AN/A N/AN/A
34-3FTF=>T STUB ARINC_AIRCRAFT_DATA.- GET_CAIMS_COMMAND()4LATEST_COMMANDCAIMS_COMMAND N/A0NO_COMMAND N/A4POLL_MO-DE_REQ
35-1T=>T CAIMS_COMMAND –Inherit from 34-3PREV_COMMAND N/ARIG_SLAT_COMMAND N/APOLL_MO-DE_REQ
36-2F=>F PREV_COMMAND—inherit from 35-1 N/A N/A
37-1TFT=>T PREV_COMMAND –Inherit from 36-2PROCESS_COMPLETE_FLAGSTUB CAIMS_RIGGING.RESET_RIG_DATA() N/ATRUEN/A N/AFALSEN/A
38-1T=>T PROCESS_COMPLETE_FLAG –Inherit from 37-1--procedure DETERMINE_CAIMS_STATE is called.CAIMS_MODESTATE_FLAGPROCESS_COMPLETE_FLAGSTUB FIXED_TD_GENERIC2.RESET() N/ANORMAL NO_COMMANDN/AN/A N/ASFFSPOLL_MO-DE_REQN/AN/A
39-1T=>T STUB -DISCRETE_INPUT_DATA.COMPOSITE_WOW()trueSTUB ANALOG_INPUT_DATA.VALUE_OF()0STUB SURFACE_CONTROL.-SEQUENCE_IN_PROGRESS()FALSESTUB FIXED_TD_GENERIC2.RESET() N/AN/AN/AN/A N/AN/AN/AN/A
40-4TFF=>F PROCESS_COMPLETE_FLAG –Inherit from 37-1CAIMS_MODE –Inherit from 38-1CAIMS_COMMAND –Inherit from 34-3 N/AN/AN/A N/AN/AN/A
41-2F=>F CAIMS_COMMAND –Inherit from 34-3 N/A N/A
43-2F=>F CAIMS_MODE –Inherit from 38-1 N/A N/A
44-2FT=>F CAIMS_COMMAND –Inherit from 34-3PROCESS_COMPLETE_FLAG –Inherit from 37-1 N/AN/A N/AN/A
45-1T=>T STATE_FLAG—Inherit from 38-1stub CAIMS_FAULT_RETRIEVAL.-PERFORM_FAULT_SEARCH() N/AN/A N/AN/A