Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_BATTERY/INT_BATTERY.tst =================================================================== diff -u -r77766188c62664b440ddab729e06d5fbb596a3a0 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_BATTERY/INT_BATTERY.tst (.../INT_BATTERY.tst) (revision 77766188c62664b440ddab729e06d5fbb596a3a0) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_BATTERY/INT_BATTERY.tst (.../INT_BATTERY.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -27,7 +27,7 @@ TEST.VALUE:uut_prototype_stubs.getDGSubMode.return:0 TEST.VALUE:uut_prototype_stubs.isDGCommunicating.return:1 TEST.VALUE:uut_prototype_stubs.isPOSTPassed.return:1 -TEST.VALUE:uut_prototype_stubs.getDGVersion.return.compatibilityRev:14 +TEST.VALUE:uut_prototype_stubs.getDGVersion.return.compatibilityRev:15 TEST.VALUE:ModeStandby.<>.currentStandbyState:STANDBY_WAIT_FOR_TREATMENT_STATE TEST.VALUE:ModeStandby.signalUserInitiateTreatment.return:1 TEST.EXPECTED:ModeStandby.signalUserInitiateTreatment.return:0 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.env =================================================================== diff -u -re254c20e850be27e0f21c33bed1a80c8f0e62dd5 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.env (.../INT_BLOODLEAK.env) (revision e254c20e850be27e0f21c33bed1a80c8f0e62dd5) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.env (.../INT_BLOODLEAK.env) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -1,6 +1,7 @@ ENVIRO.NEW ENVIRO.NAME:INT_BLOODLEAK ENVIRO.UUT:BloodLeak +ENVIRO.STUB_BY_FUNCTION:Dialysis ENVIRO.STUB_BY_FUNCTION:ModeInitPOST ENVIRO.STUB_BY_FUNCTION:ModePostTreat ENVIRO.STUB_BY_FUNCTION:SelfTests Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.tst =================================================================== diff -u -rd42968295e43a4abc55e69df487151905adf79e5 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.tst (.../INT_BLOODLEAK.tst) (revision d42968295e43a4abc55e69df487151905adf79e5) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK.tst (.../INT_BLOODLEAK.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -2,7 +2,7 @@ -- Test Case Script -- -- Environment : INT_BLOODLEAK --- Unit(s) Under Test: BloodLeak ModeInitPOST ModePostTreat SelfTests SystemCommMessages TaskPriority sys_main +-- Unit(s) Under Test: BloodLeak Dialysis ModeInitPOST ModePostTreat SelfTests SystemCommMessages TaskPriority sys_main -- -- Script Features TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING @@ -13,6 +13,20 @@ TEST.SCRIPT_FEATURE:VCAST_MAIN_NOT_RENAMED -- +-- Unit: Dialysis + +-- Subprogram: execDialysis + +-- Test Case: execDialysis.001 +TEST.UNIT:Dialysis +TEST.SUBPROGRAM:execDialysis +TEST.NEW +TEST.NAME:execDialysis.001 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.zeroingRequestState:BLOOD_LEAK_ZEROING_RQST_READY +TEST.EXPECTED:Dialysis.<>.bloodLeakZeroingStatus.zeroingRequestState:BLOOD_LEAK_ZEROING_RQST_READY +TEST.END + -- Unit: ModeInitPOST -- Subprogram: execInitAndPOSTMode @@ -71,6 +85,100 @@ -- Unit: SystemCommMessages +-- Subprogram: handleBloodLeakEmbModeInfoValuesOverride + +-- Test Case: handleBloodLeakEmbModeInfoValuesOverride_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakEmbModeInfoValuesOverride +TEST.NEW +TEST.NAME:handleBloodLeakEmbModeInfoValuesOverride_reset +TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.ovInitData:50 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[4]:100 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[8]:5 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[11]:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.ovData:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.override:0x0 +TEST.END + +-- Test Case: handleBloodLeakEmbModeInfoValuesOverride_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakEmbModeInfoValuesOverride +TEST.NEW +TEST.NAME:handleBloodLeakEmbModeInfoValuesOverride_set +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[4]:100 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[8]:5 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[11]:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.ovData:100 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.override:0xCCC33C33 +TEST.END + +-- Subprogram: handleBloodLeakIntensityMovingAverageOverride + +-- Test Case: handleBloodLeakIntensityMovingAverageOverride_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakIntensityMovingAverageOverride +TEST.NEW +TEST.NAME:handleBloodLeakIntensityMovingAverageOverride_reset +TEST.VALUE:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.ovInitData:100.0 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[4]:00 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[5]:00 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[6]:0xC8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[7]:0x42 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.ovData:100.0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.override:0x0 +TEST.END + +-- Test Case: handleBloodLeakIntensityMovingAverageOverride_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakIntensityMovingAverageOverride +TEST.NEW +TEST.NAME:handleBloodLeakIntensityMovingAverageOverride_set +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[4]:00 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[5]:00 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[6]:0xC8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[7]:0x42 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.ovData:100.0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.override:0xCCC33C33 +TEST.END + -- Subprogram: handleBloodLeakZeroRequest -- Test Case: handleBloodLeakZeroRequest.001 @@ -107,6 +215,57 @@ TEST.EXPECTED:SystemCommMessages.handleBloodLeakZeroRequest.message[0].hdr.payloadLen:0 TEST.END +-- Subprogram: handleBloodLeakZeroingIntervalInMinutesOverride + +-- Test Case: handleBloodLeakZeroingIntervalInMinutesOverride_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakZeroingIntervalInMinutesOverride +TEST.NEW +TEST.NAME:handleBloodLeakZeroingIntervalInMinutesOverride_reset +TEST.VALUE:BloodLeak.<>.bloodLeakZeroingStatus.zeroingDriftIntervalTimeMS.ovInitData:150 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[4]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[8]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[11]:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingDriftIntervalTimeMS.ovData:150 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingDriftIntervalTimeMS.override:0 +TEST.END + +-- Test Case: handleBloodLeakZeroingIntervalInMinutesOverride_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakZeroingIntervalInMinutesOverride +TEST.NEW +TEST.NAME:handleBloodLeakZeroingIntervalInMinutesOverride_set +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[4]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[8]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[11]:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingUpperRangeIntervalTimeMS.ovData:60000 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingUpperRangeIntervalTimeMS.override:0xCCC33C33 +TEST.END + -- Subprogram: handleSetBloodLeak2EmbeddedMode -- Test Case: handleSetBloodLeak2EmbeddedMode.001 @@ -284,11 +443,33 @@ -- Subprogram: taskPriority --- Test Case: taskPriority.001 +-- Test Case: taskPriority_verify_intensity_after_zeroing TEST.UNIT:TaskPriority TEST.SUBPROGRAM:taskPriority TEST.NEW -TEST.NAME:taskPriority.001 +TEST.NAME:taskPriority_verify_intensity_after_zeroing +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == uiCommunicated()) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_VERIFY_INTENSITY_AFTER_ZEROING_STATE +TEST.VALUE:BloodLeak.<>.bloodLeakStatus.data:0 +TEST.VALUE:BloodLeak.<>.bloodLeakStatus.override:0 +TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[I_EMB_MODE_CMD].isCmdRespRdy:0 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA +TEST.VALUE:uut_prototype_stubs.getMeasuredDialInPumpSpeed.return:2.0 +TEST.VALUE:uut_prototype_stubs.getValvePosition.return:VALVE_POSITION_A_INSERT_EJECT +TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_VERIFY_INTENSITY_AFTER_ZEROING_STATE +TEST.END + +-- Test Case: taskPriority_wait_for_POST +TEST.UNIT:TaskPriority +TEST.SUBPROGRAM:taskPriority +TEST.NEW +TEST.NAME:taskPriority_wait_for_POST TEST.BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. @@ -299,6 +480,7 @@ TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_WAIT_FOR_POST_STATE TEST.VALUE:BloodLeak.<>.bloodLeakStatus.data:0 TEST.VALUE:BloodLeak.<>.bloodLeakStatus.override:0 +TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[I_EMB_MODE_CMD].isCmdRespRdy:1 TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA TEST.VALUE:uut_prototype_stubs.getMeasuredDialInPumpSpeed.return:2.0 TEST.VALUE:uut_prototype_stubs.getValvePosition.return:VALVE_POSITION_A_INSERT_EJECT Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK_cba.cvr =================================================================== diff -u -re254c20e850be27e0f21c33bed1a80c8f0e62dd5 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK_cba.cvr (.../INT_BLOODLEAK_cba.cvr) (revision e254c20e850be27e0f21c33bed1a80c8f0e62dd5) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_BLOODLEAK/INT_BLOODLEAK_cba.cvr (.../INT_BLOODLEAK_cba.cvr) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -45,7 +45,7 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:11 -IMPORT.SOURCE.ORIG_FILENAME:ModeInitPOST.c +IMPORT.SOURCE.ORIG_FILENAME:Dialysis.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE @@ -67,7 +67,7 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:12 -IMPORT.SOURCE.ORIG_FILENAME:ModePostTreat.c +IMPORT.SOURCE.ORIG_FILENAME:ModeInitPOST.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE @@ -89,7 +89,7 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:13 -IMPORT.SOURCE.ORIG_FILENAME:SelfTests.c +IMPORT.SOURCE.ORIG_FILENAME:ModePostTreat.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE @@ -111,7 +111,7 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:14 -IMPORT.SOURCE.ORIG_FILENAME:SystemCommMessages.c +IMPORT.SOURCE.ORIG_FILENAME:SelfTests.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE @@ -133,7 +133,7 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:15 -IMPORT.SOURCE.ORIG_FILENAME:TaskPriority.c +IMPORT.SOURCE.ORIG_FILENAME:SystemCommMessages.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE @@ -155,6 +155,28 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:16 +IMPORT.SOURCE.ORIG_FILENAME:TaskPriority.c +IMPORT.SOURCE.COVERAGE_STATUS:TRUE +IMPORT.SOURCE.COVERAGE_TYPE:Function +IMPORT.SOURCE.COVER_EMPTY_STATEMENTS:TRUE +IMPORT.SOURCE.HAS_EMPTY_STATEMENTS:FALSE +IMPORT.SOURCE.COVER_CATCH_AS_BRANCH:TRUE +IMPORT.SOURCE.HAS_CATCH_STATEMENTS:FALSE +IMPORT.SOURCE.EDG_COVERAGE:TRUE +IMPORT.SOURCE.COVER_FUNCTION_PARAMETERS:FALSE +IMPORT.SOURCE.HAS_LOGICAL_OPS_IN_PARAMETERS:FALSE +IMPORT.SOURCE.COVER_CONDITIONAL_OPERATOR:FALSE +IMPORT.SOURCE.HAS_CONDITIONAL_OPERATOR:FALSE +IMPORT.SOURCE.COVER_NESTED_CONDITIONAL_OPERATOR:FALSE +IMPORT.SOURCE.HAS_NESTED_CONDITIONAL_OPERATOR:FALSE +IMPORT.SOURCE.COVER_STATEMENTS_BY_BLOCK:FALSE +IMPORT.SOURCE.COVERAGE_FOR_DECLARATIONS:INSTRUMENT_VARIABLE_DECLARATIONS_INITIALIZATIONS +IMPORT.SOURCE.HAS_CONSTANT_BRANCH:FALSE +IMPORT.SOURCE.BASIS_PATHS_FOR_CONSTANT_BRANCHES:TRUE +IMPORT.SOURCE.COVERAGE_FOR_LAMBDAS:FALSE +IMPORT.SOURCE.END +IMPORT.SOURCE.BEGIN +IMPORT.SOURCE.UNIT:17 IMPORT.SOURCE.ORIG_FILENAME:sys_main.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_DIALYSIS/INT_DIALYSIS.tst =================================================================== diff -u -r976f618877c02e298d7e2291b12177d6dc219617 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_DIALYSIS/INT_DIALYSIS.tst (.../INT_DIALYSIS.tst) (revision 976f618877c02e298d7e2291b12177d6dc219617) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_DIALYSIS/INT_DIALYSIS.tst (.../INT_DIALYSIS.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -88,11 +88,85 @@ TEST.NEW TEST.NAME:handleTreatmentDialysisState_execDialysis TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_UF_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.zeroingRequestState:BLOOD_LEAK_ZEROING_RQST_REQUESTED TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.VALUE:Reservoirs.<>.hasReservoirBeenSwitched:1 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_complete +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_complete +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_COMPLETE_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_UF_STATE TEST.END +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_dpi_to_bld +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_dpi_to_bld +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_FLUSH_DPI_2_BLD_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_idle +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_idle +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_IDLE_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_rsrvr_to_dpi +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_rsrvr_to_dpi +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_FLUSH_RSRVR_2_DPI_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_verify_zero +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_verify_zero +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_VERIFY_ZEROING_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + +-- Test Case: handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_zero +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentDialysisState +TEST.NEW +TEST.NAME:handleTreatmentDialysisState_exec_dialysis_blood_leak_zeroing_zero +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.bloodLeakZeroingState:BLD_ZEROING_ZERO_STATE +TEST.VALUE:ModeTreatment.<>.presTreatmentTimeSecs:5 +TEST.VALUE:ModeTreatment.<>.treatmentTimeMS:3000 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.END + -- Test Case: handleTreatmentDialysisState_stopDialysis TEST.UNIT:ModeTreatment TEST.SUBPROGRAM:handleTreatmentDialysisState @@ -151,8 +225,8 @@ >>> >>> Unknown parameter/object name param >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterU32.return:60,200,300,60 TEST.VALUE:uut_prototype_stubs.getMeasuredDialInFlowRate.return:0.6 +TEST.VALUE:uut_prototype_stubs.getTreatmentParameterU32.return:60,200,300,60 TEST.VALUE:Dialysis.<>.refUFVolume:0.0 TEST.VALUE:Dialysis.<>.measUFVolume:0.0 TEST.VALUE:Dialysis.<>.lastUFTimeStamp:0 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS.tst =================================================================== diff -u -r7034ec1e752c8145ebb6a7afcd07e17378ddb807 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS.tst (.../INT_RESERVOIRS.tst) (revision 7034ec1e752c8145ebb6a7afcd07e17378ddb807) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS.tst (.../INT_RESERVOIRS.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -15,6 +15,20 @@ -- Unit: Dialysis +-- Subprogram: execDialysis + +-- Test Case: execDialysis_has_reserveroi_been_switched +TEST.UNIT:Dialysis +TEST.SUBPROGRAM:execDialysis +TEST.NEW +TEST.NAME:execDialysis_has_reserveroi_been_switched +TEST.VALUE:Dialysis.<>.currentDialysisState:DIALYSIS_UF_STATE +TEST.VALUE:Dialysis.<>.bloodLeakZeroingStatus.zeroingRequestState:BLOOD_LEAK_ZEROING_RQST_REQUESTED +TEST.VALUE:Reservoirs.<>.hasReservoirBeenSwitched:1 +TEST.EXPECTED:Dialysis.<>.currentDialysisState:DIALYSIS_BLOOD_LEAK_ZEROING_STATE +TEST.EXPECTED:Dialysis.<>.bloodLeakZeroingStatus.zeroingRequestState:BLOOD_LEAK_ZEROING_RQST_IN_PROGRESS +TEST.END + -- Subprogram: handleUFRunningState -- Test Case: handleUFRunningState.001 @@ -45,9 +59,10 @@ TEST.NEW TEST.NAME:setFinalReservoirVolume.001 TEST.IMPORT_FAILURES: -(E) @LINE: 51 TEST.EXPECTED:uut_prototype_stubs.sendRecordToDialin.event:HD_EVENT_RSRVR_UF_VOLUME_AND_TIME,HD_EVENT_RSRVR_UF_RATE,HD_EVENT_RSRVR_1_LOAD_CELL_END_VALUES - >>> Unknown parameter/object name event - >>> Value Line Error - Command Ignored +(E) Errors from previous script import(s) + >>> (E) @LINE: 51 TEST.EXPECTED:uut_prototype_stubs.sendRecordToDialin.event:HD_EVENT_RSRVR_UF_VOLUME_AND_TIME,HD_EVENT_RSRVR_UF_RATE,HD_EVENT_RSRVR_1_LOAD_CELL_END_VALUES + >>> >>> Unknown parameter/object name event + >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.BASIS_PATH:1 of 1 TEST.NOTES: @@ -127,7 +142,7 @@ TEST.SUBPROGRAM:handleTestHDRecirulationPctOverrideRequest TEST.NEW TEST.NAME:handleTestHDRecirulationPctOverrideRequest.001 -TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:TRUE +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:MACRO=TRUE TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message:<> TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message[0].hdr.payloadLen:8 TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message[0].payload[0]:0 @@ -146,7 +161,7 @@ TEST.SUBPROGRAM:handleTestHDRecirulationPctOverrideRequest TEST.NEW TEST.NAME:handleTestHDRecirulationPctOverrideRequest.002 -TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:TRUE +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:MACRO=TRUE TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message:<> TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message[0].hdr.payloadLen:8 TEST.VALUE:SystemCommMessages.handleTestHDRecirulationPctOverrideRequest.message[0].payload[0]:1 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS_cba.cvr =================================================================== diff -u -r7034ec1e752c8145ebb6a7afcd07e17378ddb807 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS_cba.cvr (.../INT_RESERVOIRS_cba.cvr) (revision 7034ec1e752c8145ebb6a7afcd07e17378ddb807) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_RESERVOIRS/INT_RESERVOIRS_cba.cvr (.../INT_RESERVOIRS_cba.cvr) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -189,7 +189,7 @@ 9)static U32 getTargetFillVolumeBasedOnDialysateFlowML( void ) Line # 729 RESULT.CBA.NOTES_END -RESULT.CBA.UNIT: /home/fw/wshd/hdfirmware/firmware/App/Services/Reservoirs.c +RESULT.CBA.UNIT: /home/fw/workspace_hd/hdfirmware/firmware/App/Services/Reservoirs.c RESULT.CBA.FUNCTION: getFillTimeMS RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_SYSTEMCOMMMESSAGES/INT_SYSTEMCOMMMESSAGES.tst =================================================================== diff -u -rf11de5fa7ea08d42fb74920a5430ae1d853c0c0d -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_SYSTEMCOMMMESSAGES/INT_SYSTEMCOMMMESSAGES.tst (.../INT_SYSTEMCOMMMESSAGES.tst) (revision f11de5fa7ea08d42fb74920a5430ae1d853c0c0d) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_SYSTEMCOMMMESSAGES/INT_SYSTEMCOMMMESSAGES.tst (.../INT_SYSTEMCOMMMESSAGES.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -81,11 +81,15 @@ TEST.NEW TEST.NAME:sendOffButtonMsgToUI TEST.IMPORT_FAILURES: -(I) @LINE: 231 +(I) @LINE: 235 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 234 +(I) @LINE: 238 >>> 'FALSE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 231 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 234 + >>> >>> 'FALSE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 227 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 230 @@ -426,9 +430,11 @@ TEST.NEW TEST.NAME:sendDGFillCommand TEST.IMPORT_FAILURES: -(I) @LINE: 488 +(I) @LINE: 494 >>> 'FALSE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 488 + >>> >>> 'FALSE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 482 >>> >>> 'FALSE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 476 @@ -1491,11 +1497,15 @@ TEST.NEW TEST.NAME:001C TEST.IMPORT_FAILURES: -(I) @LINE: 1545 +(I) @LINE: 1557 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1546 +(I) @LINE: 1558 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1545 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1546 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1534 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1535 @@ -2745,15 +2755,89 @@ TEST.EXPECTED:Buttons.<>.dataOffButtonState.override:0xCCC33C33 TEST.END +-- Test Case: 80A3_handleBloodLeakEmbModeInfoValuesOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A3_handleBloodLeakEmbModeInfoValuesOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A3 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[0]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[1]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[2]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[3]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[4]:00 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[5]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[6]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[7]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[8]:05 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[9]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[10]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[11]:0 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.ovData:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeIntensityOverride.override:0xCCC33C33 +TEST.END + +-- Test Case: 80A4_handleBloodLeakIntensityMovingAverageOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A4_handleBloodLeakIntensityMovingAverageOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A4 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[0]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[1]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[2]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[3]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[4]:00 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[5]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[6]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.ovData:0.0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.intensityMovingAverage.override:0xCCC33C33 +TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].payload[8]:INPUT_BASE=8 +TEST.END + +-- Test Case: 80A5_handleBloodLeakZeroingIntervalInMinutesOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A5_handleBloodLeakZeroingIntervalInMinutesOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A5 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[0]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[1]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[2]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[3]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[4]:01 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[5]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[6]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[7]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[8]:00 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[9]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[10]:0 +TEST.VALUE:SystemComm.processReceivedMessage.message[0].payload[11]:0 +TEST.VALUE:SystemCommMessages.<>.testerLoggedIn:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingDriftIntervalTimeMS.ovData:60000 +TEST.EXPECTED:BloodLeak.<>.bloodLeakZeroingStatus.zeroingDriftIntervalTimeMS.override:0xCCC33C33 +TEST.END + -- Test Case: handleAirPumpIntervalOverrideRequest TEST.UNIT:SystemComm TEST.SUBPROGRAM:processReceivedMessage TEST.NEW TEST.NAME:handleAirPumpIntervalOverrideRequest TEST.IMPORT_FAILURES: -(I) @LINE: 2823 +(I) @LINE: 2837 >>> 'MSG_ID_HD_AIR_PUMP_PUBLISH_INTERVAL_OVERRIDE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 2823 + >>> >>> 'MSG_ID_HD_AIR_PUMP_PUBLISH_INTERVAL_OVERRIDE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 2810 >>> >>> 'MSG_ID_HD_AIR_PUMP_PUBLISH_INTERVAL_OVERRIDE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 2784 @@ -4394,9 +4478,11 @@ TEST.NEW TEST.NAME:handleTestDialInPumpHomeRequest TEST.IMPORT_FAILURES: -(I) @LINE: 4442 +(I) @LINE: 4458 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4442 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4427 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4399 @@ -4751,9 +4837,11 @@ TEST.NEW TEST.NAME:handleTestDialOutPumpHomeRequest TEST.IMPORT_FAILURES: -(I) @LINE: 4797 +(I) @LINE: 4815 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4797 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4780 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4750 @@ -6118,11 +6206,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.011 TEST.IMPORT_FAILURES: -(I) @LINE: 6172 +(I) @LINE: 6194 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 6173 +(I) @LINE: 6195 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 6172 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 6173 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6151 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6152 @@ -6201,11 +6293,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.012 TEST.IMPORT_FAILURES: -(I) @LINE: 6251 +(I) @LINE: 6277 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 6252 +(I) @LINE: 6278 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 6251 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 6252 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6226 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6227 @@ -6284,11 +6380,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.013 TEST.IMPORT_FAILURES: -(I) @LINE: 6330 +(I) @LINE: 6360 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 6331 +(I) @LINE: 6361 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 6330 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 6331 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6301 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6302 @@ -6367,11 +6467,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.014 TEST.IMPORT_FAILURES: -(I) @LINE: 6409 +(I) @LINE: 6443 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 6410 +(I) @LINE: 6444 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 6409 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 6410 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6376 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6377 @@ -6894,11 +6998,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.030 TEST.IMPORT_FAILURES: -(I) @LINE: 6936 +(I) @LINE: 6974 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 6937 +(I) @LINE: 6975 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 6936 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 6937 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6899 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6900 @@ -6981,11 +7089,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.031 TEST.IMPORT_FAILURES: -(I) @LINE: 7019 +(I) @LINE: 7061 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7020 +(I) @LINE: 7062 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7019 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7020 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6978 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 6979 @@ -7068,11 +7180,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.032 TEST.IMPORT_FAILURES: -(I) @LINE: 7102 +(I) @LINE: 7148 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7103 +(I) @LINE: 7149 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7102 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7103 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7057 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7058 @@ -7155,11 +7271,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.033 TEST.IMPORT_FAILURES: -(I) @LINE: 7185 +(I) @LINE: 7235 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7186 +(I) @LINE: 7236 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7185 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7186 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7136 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7137 @@ -7861,11 +7981,15 @@ TEST.NEW TEST.NAME:processReceivedMessage.052 TEST.IMPORT_FAILURES: -(I) @LINE: 7894 +(I) @LINE: 7948 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7895 +(I) @LINE: 7949 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7894 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7895 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7841 >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7842 @@ -9365,10 +9489,13 @@ TEST.NEW TEST.NAME:sendACKMsg TEST.IMPORT_FAILURES: -(E) @LINE: 9481 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 9538 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 9481 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 9425 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP.tst =================================================================== diff -u -r2aa447597a0db65818307c47200caf6dde18ac61 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP.tst (.../INT_TREATMENTSTOP.tst) (revision 2aa447597a0db65818307c47200caf6dde18ac61) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP.tst (.../INT_TREATMENTSTOP.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -58,17 +58,20 @@ TEST.NEW TEST.NAME:handleTreatmentRinsebackState.001 TEST.IMPORT_FAILURES: -(E) @LINE: 60 TEST.VALUE:uut_prototype_stubs.<>.ptr_mibspiBase_t:<> - >>> Unknown parameter/object name ptr_mibspiBase_t - >>> Value Line Error - Command Ignored -(E) @LINE: 61 TEST.VALUE:uut_prototype_stubs.<>.ptr_etpwmBASE_t:<> - >>> Unknown parameter/object name ptr_etpwmBASE_t - >>> Value Line Error - Command Ignored -(E) @LINE: 62 TEST.VALUE:uut_prototype_stubs.<>.ptr_gioPORT_t:<> - >>> Unknown parameter/object name ptr_gioPORT_t - >>> Value Line Error - Command Ignored -(I) @LINE: 63 +(I) @LINE: 73 >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. +(E) Errors from previous script import(s) + >>> (E) @LINE: 60 TEST.VALUE:uut_prototype_stubs.<>.ptr_mibspiBase_t:<> + >>> >>> Unknown parameter/object name ptr_mibspiBase_t + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 61 TEST.VALUE:uut_prototype_stubs.<>.ptr_etpwmBASE_t:<> + >>> >>> Unknown parameter/object name ptr_etpwmBASE_t + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 62 TEST.VALUE:uut_prototype_stubs.<>.ptr_gioPORT_t:<> + >>> >>> Unknown parameter/object name ptr_gioPORT_t + >>> >>> Value Line Error - Command Ignored + >>> (I) @LINE: 63 + >>> >>> 'TRUE' was specified as a macro, but it is in the symbol dictionary. TEST.END_IMPORT_FAILURES: TEST.VALUE:ModeTreatment.<>.rinsebackToStoppedRequest:MACRO=TRUE TEST.EXPECTED:ModeTreatment.handleTreatmentRinsebackState.return:TREATMENT_STOP_STATE @@ -89,6 +92,15 @@ TEST.EXPECTED:ModeTreatment.<>.endTreatmentAlarmResponseRequest:0 TEST.END +-- Test Case: handleTreatmentStopState_recover_blood_detect_state +TEST.UNIT:ModeTreatment +TEST.SUBPROGRAM:handleTreatmentStopState +TEST.NEW +TEST.NAME:handleTreatmentStopState_recover_blood_detect_state +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE +TEST.END + -- Subprogram: transitionToTreatmentMode -- Test Case: transitionToTreatmentMode.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP_cba.cvr =================================================================== diff -u -r2aa447597a0db65818307c47200caf6dde18ac61 -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP_cba.cvr (.../INT_TREATMENTSTOP_cba.cvr) (revision 2aa447597a0db65818307c47200caf6dde18ac61) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_TREATMENTSTOP/INT_TREATMENTSTOP_cba.cvr (.../INT_TREATMENTSTOP_cba.cvr) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -124,8 +124,19 @@ line #149 11) + +--- Invalidated Analysis Lines --- + >>> Failed to find matching line for: + >>> Result: CBA_TreatmentStop + >>> Unit: 11 + >>> Function: handleTreatmentStopRecoverBloodDetectState + >>> Line Context: { + + >>> Context After: TREATMENT_STOP_STATE_T result = TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE; +// Keep reseting the blood sitting timer + RESULT.CBA.NOTES_END -RESULT.CBA.UNIT: /home/fw/wshd/hdfirmware/firmware/App/Modes/TreatmentStop.c +RESULT.CBA.UNIT: /home/fw/workspace_hd/hdfirmware/firmware/App/Modes/TreatmentStop.c RESULT.CBA.FUNCTION: handleTreatmentStopBloodRecircState RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 @@ -167,16 +178,6 @@ doorClosedRequired( RESULT.CBA.CONTEXT_AFTER_END RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: handleTreatmentStopRecoverBloodDetectState -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -TREATMENT_STOP_STATE_T result = TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE; -// Keep reseting the blood sitting timer -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END RESULT.CBA.FUNCTION: setupForBloodRecirculationState RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 Index: vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst =================================================================== diff -u -r9d99ba315aa663db2dbaf14674fe6747804f358a -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst (.../SYSTEMCOMM.tst) (revision 9d99ba315aa663db2dbaf14674fe6747804f358a) +++ vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst (.../SYSTEMCOMM.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -171,10 +171,13 @@ TEST.NEW TEST.NAME:checkForCommTimeouts_NoUIComm TEST.IMPORT_FAILURES: -(E) @LINE: 272 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 275 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 272 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 269 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -312,10 +315,13 @@ TEST.NEW TEST.NAME:checkForCommTimeouts_PreTx TEST.IMPORT_FAILURES: -(E) @LINE: 373 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 379 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 373 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 367 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -413,10 +419,13 @@ TEST.NEW TEST.NAME:checkForCommTimeouts_Tx TEST.IMPORT_FAILURES: -(E) @LINE: 471 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 480 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 471 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 462 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -487,10 +496,13 @@ TEST.NEW TEST.NAME:checkForCommTimeouts_UITimeout TEST.IMPORT_FAILURES: -(E) @LINE: 583 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 595 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 583 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 571 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -1185,10 +1197,13 @@ TEST.NEW TEST.NAME:InvalidCANBox TEST.IMPORT_FAILURES: -(E) @LINE: 1273 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 1288 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 1273 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 1258 TEST.ATTRIBUTES:SystemComm.processReceivedMessage.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -2136,10 +2151,13 @@ TEST.NEW TEST.NAME:0038_StartTreatmentFromUI TEST.IMPORT_FAILURES: -(E) @LINE: 2169 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 2187 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 2169 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 2151 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -2193,10 +2211,13 @@ TEST.NEW TEST.NAME:003C_StartPrimeRequest TEST.IMPORT_FAILURES: -(E) @LINE: 2223 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 2244 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 2223 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 2202 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -2685,9 +2706,13 @@ TEST.NEW TEST.NAME:00B9_UIHDResetInServiceMode TEST.IMPORT_FAILURES: -(E) @LINE: 2669 TEST.ATTRIBUTES:uut_prototype_stubs.handleHDUsageInfoRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 2695 TEST.ATTRIBUTES:uut_prototype_stubs.handleHDUsageInfoRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 +(E) Errors from previous script import(s) + >>> (E) @LINE: 2669 TEST.ATTRIBUTES:uut_prototype_stubs.handleHDUsageInfoRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 TEST.END_IMPORT_FAILURES: TEST.VALUE:SystemComm.processReceivedMessage.message:<> TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0xB9 @@ -2733,10 +2758,13 @@ TEST.NEW TEST.NAME:00CF_UIInstitutionalRecordRequest TEST.IMPORT_FAILURES: -(E) @LINE: 2724 TEST.ATTRIBUTES:uut_prototype_stubs.handleReceiveROPermeateSampleReadyToDispenseFromDG.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 2753 TEST.ATTRIBUTES:uut_prototype_stubs.handleReceiveROPermeateSampleReadyToDispenseFromDG.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 2724 TEST.ATTRIBUTES:uut_prototype_stubs.handleReceiveROPermeateSampleReadyToDispenseFromDG.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 2689 TEST.ATTRIBUTES:uut_prototype_stubs.handleReceiveROPermeateSampleReadyToDispenseFromDG.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -2855,10 +2883,13 @@ TEST.NEW TEST.NAME:8006_AlarmStateOverride TEST.IMPORT_FAILURES: -(E) @LINE: 2934 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 2966 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 2934 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 2896 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -2972,10 +3003,13 @@ TEST.NEW TEST.NAME:8007_AlarmTimeOverride TEST.IMPORT_FAILURES: -(E) @LINE: 3048 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 3083 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 3048 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 3007 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestOffButtonStateOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -3203,10 +3237,13 @@ TEST.NEW TEST.NAME:800D_TreatmentTimeRemainingOverride TEST.IMPORT_FAILURES: -(E) @LINE: 3217 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 3255 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 3217 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 3173 TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpRotorMeasuredSpeedOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -5504,10 +5541,13 @@ TEST.NEW TEST.NAME:809E_HDGetInstitutionalRecord TEST.IMPORT_FAILURES: -(E) @LINE: 5486 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 5527 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 5486 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 5439 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -5533,10 +5573,13 @@ TEST.NEW TEST.NAME:809F_HDSetInstitutionalRecord TEST.IMPORT_FAILURES: -(E) @LINE: 5513 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +(E) @LINE: 5557 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 5513 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::EXPECTED_BASE=16 >>> (E) @LINE: 5463 TEST.ATTRIBUTES:uut_prototype_stubs.handleSetRawAirTrapLevelSensorOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::EXPECTED_BASE=16 @@ -5563,6 +5606,11 @@ TEST.SUBPROGRAM:processReceivedMessage TEST.NEW TEST.NAME:80A1_HDPartialOcclusionBloodPumpOverride +TEST.IMPORT_FAILURES: +(E) @LINE: 5570 TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> Read: msgID::EXPECTED_BASE=16 +TEST.END_IMPORT_FAILURES: TEST.VALUE:SystemComm.processReceivedMessage.message:<> TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A1 TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 @@ -5575,6 +5623,11 @@ TEST.SUBPROGRAM:processReceivedMessage TEST.NEW TEST.NAME:80A2_HDPartialOcclusionBloodPumpBaselineOverride +TEST.IMPORT_FAILURES: +(E) @LINE: 5584 TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 + >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> Read: msgID::EXPECTED_BASE=16 +TEST.END_IMPORT_FAILURES: TEST.VALUE:SystemComm.processReceivedMessage.message:<> TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A2 TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 @@ -5584,6 +5637,54 @@ TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 TEST.END +-- Test Case: 80A3_handleBloodLeakEmbModeInfoValuesOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A3_handleBloodLeakEmbModeInfoValuesOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A3 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:uut_prototype_stubs.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:0x80A3 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestFilteredBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpOcclusionBaselineOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestPresOcclBroadcastIntervalOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +TEST.END + +-- Test Case: 80A4_handleBloodLeakIntensityMovingAverageOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A4_handleBloodLeakIntensityMovingAverageOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A4 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:uut_prototype_stubs.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.msgID:0x80A4 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestFilteredBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpOcclusionBaselineOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestPresOcclBroadcastIntervalOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.END + +-- Test Case: 80A5_handleBloodLeakZeroingIntervalInMinutesOverride +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:80A5_handleBloodLeakZeroingIntervalInMinutesOverride +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:0x80A5 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:uut_prototype_stubs.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.msgID:0x80A5 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestFilteredBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestBloodPumpOcclusionBaselineOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleTestPresOcclBroadcastIntervalOverrideRequest.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBatteryStatusOverrideRequest.message[0].hdr.msgID::EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.ATTRIBUTES:uut_prototype_stubs.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.msgID:EXPECTED_BASE=16 +TEST.END + -- Test Case: InvalidTestMessageIDInRange TEST.UNIT:SystemComm TEST.SUBPROGRAM:processReceivedMessage Index: vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst =================================================================== diff -u -r18bfc0638c91f525dbb394e62187e2d8f8d4e74c -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst (.../SYSTEMCOMMMESSAGES.tst) (revision 18bfc0638c91f525dbb394e62187e2d8f8d4e74c) +++ vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst (.../SYSTEMCOMMMESSAGES.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -80,10 +80,13 @@ TEST.NEW TEST.NAME:broadcastAlarmStatus_ComplimentaryFlags TEST.IMPORT_FAILURES: -(E) @LINE: 213 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 216 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 213 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 210 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -911,6 +914,134 @@ TEST.EXPECTED:SystemCommMessages.handleBatteryStatusOverrideRequest.message[0].hdr.payloadLen:8 TEST.END +-- Subprogram: handleBloodLeakEmbModeInfoValuesOverride + +-- Test Case: handleBloodLeakEmbModeInfoValuesOverride_invalid_length +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakEmbModeInfoValuesOverride +TEST.NEW +TEST.NAME:handleBloodLeakEmbModeInfoValuesOverride_invalid_length +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_EMB_MODE_INFO_VALUES_OVERRIDE +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:0x80A3 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.payloadLen:14 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:0 +TEST.END + +-- Test Case: handleBloodLeakEmbModeInfoValuesOverride_valid_length_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakEmbModeInfoValuesOverride +TEST.NEW +TEST.NAME:handleBloodLeakEmbModeInfoValuesOverride_valid_length_reset +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_EMB_MODE_INFO_VALUES_OVERRIDE +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:0x80A3 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[4]:25 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[8]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[11]:0 +TEST.VALUE:uut_prototype_stubs.testResetBloodLeakEmbeddedModeInfoOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + +-- Test Case: handleBloodLeakEmbModeInfoValuesOverride_valid_length_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakEmbModeInfoValuesOverride +TEST.NEW +TEST.NAME:handleBloodLeakEmbModeInfoValuesOverride_valid_length_set +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_EMB_MODE_INFO_VALUES_OVERRIDE +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.msgID:0x80A3 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[4]:25 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[8]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakEmbModeInfoValuesOverride.message[0].payload[11]:0 +TEST.VALUE:uut_prototype_stubs.testSetBloodLeakEmbeddedModeInfoOverride.command:5 +TEST.VALUE:uut_prototype_stubs.testSetBloodLeakEmbeddedModeInfoOverride.value:25 +TEST.VALUE:uut_prototype_stubs.testSetBloodLeakEmbeddedModeInfoOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + +-- Subprogram: handleBloodLeakIntensityMovingAverageOverride + +-- Test Case: handleBloodLeakIntensityMovingAverageOverride_invalid_length +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakIntensityMovingAverageOverride +TEST.NEW +TEST.NAME:handleBloodLeakIntensityMovingAverageOverride_invalid_length +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.msgID:0x80A4 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.payloadLen:9 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_INTENSITY_MVG_AVERAGE_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:0 +TEST.END + +-- Test Case: handleBloodLeakIntensityMovingAverageOverride_valid_length_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakIntensityMovingAverageOverride +TEST.NEW +TEST.NAME:handleBloodLeakIntensityMovingAverageOverride_valid_length_reset +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.msgID:0x80A4 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[4]:100 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[7]:0 +TEST.VALUE:uut_prototype_stubs.testResetBloodLeakIntensityMovingAverageOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_INTENSITY_MVG_AVERAGE_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + +-- Test Case: handleBloodLeakIntensityMovingAverageOverride_valid_length_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakIntensityMovingAverageOverride +TEST.NEW +TEST.NAME:handleBloodLeakIntensityMovingAverageOverride_valid_length_set +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.msgID:0x80A4 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[4]:100 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakIntensityMovingAverageOverride.message[0].payload[7]:0 +TEST.VALUE:uut_prototype_stubs.testSetBloodLeakIntensityMovingAverageOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_INTENSITY_MVG_AVERAGE_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + -- Subprogram: handleBloodLeakZeroRequest -- Test Case: handleBloodLeakZeroRequest.001 @@ -960,6 +1091,73 @@ TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:0 TEST.END +-- Subprogram: handleBloodLeakZeroingIntervalInMinutesOverride + +-- Test Case: handleBloodLeakZeroingIntervalInMinutesOverride_invalid_length +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakZeroingIntervalInMinutesOverride +TEST.NEW +TEST.NAME:handleBloodLeakZeroingIntervalInMinutesOverride_invalid_length +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.msgID:0x80A5 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.payloadLen:14 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_ZEROING_INTERVAL_IN_MINS_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:0 +TEST.END + +-- Test Case: handleBloodLeakZeroingIntervalInMinutesOverride_valid_length_reset +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakZeroingIntervalInMinutesOverride +TEST.NEW +TEST.NAME:handleBloodLeakZeroingIntervalInMinutesOverride_valid_length_reset +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.msgID:0x80A5 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[4]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[8]:60 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[11]:0 +TEST.VALUE:uut_prototype_stubs.testResetBloodLeakZeroingIntervalInMinsOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_ZEROING_INTERVAL_IN_MINS_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + +-- Test Case: handleBloodLeakZeroingIntervalInMinutesOverride_valid_length_set +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleBloodLeakZeroingIntervalInMinutesOverride +TEST.NEW +TEST.NAME:handleBloodLeakZeroingIntervalInMinutesOverride_valid_length_set +TEST.STUB:SystemCommMessages.sendTestAckResponseMsg +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message:<> +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.msgID:0x80A5 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[4]:1 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[8]:60 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleBloodLeakZeroingIntervalInMinutesOverride.message[0].payload[11]:0 +TEST.VALUE:uut_prototype_stubs.testSetBloodLeakZeroingIntervalInMinsOverride.return:1 +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.msgID:MSG_ID_HD_BLOOD_LEAK_ZEROING_INTERVAL_IN_MINS_OVERRIDE +TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 +TEST.END + -- Subprogram: handleBloodPrimeVolumeOverrideRequest -- Test Case: handleBloodPrimeVolumeOverrideRequest.001 @@ -1728,10 +1926,13 @@ TEST.NEW TEST.NAME:handleDGOpMode_InvalidPayloadLength TEST.IMPORT_FAILURES: -(E) @LINE: 1823 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 1829 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 1823 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 1817 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -3443,10 +3644,13 @@ TEST.NEW TEST.NAME:handleHomeHDValve_Home_VBA TEST.IMPORT_FAILURES: -(E) @LINE: 3562 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 3571 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 3562 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 3553 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -3577,10 +3781,13 @@ TEST.NEW TEST.NAME:handleHomeHDValve_Invalid_Payload_Len TEST.IMPORT_FAILURES: -(E) @LINE: 3701 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 3713 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 3701 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 3689 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -4620,10 +4827,13 @@ TEST.NEW TEST.NAME:handleSetAirTrapValve_Invalid_Payload_Len TEST.IMPORT_FAILURES: -(E) @LINE: 4740 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 4755 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 4740 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 4725 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -4761,10 +4971,13 @@ TEST.NEW TEST.NAME:handleSetAirTrapValve_Set_Valve TEST.IMPORT_FAILURES: -(E) @LINE: 4884 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 4902 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 4884 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 4866 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -7658,10 +7871,13 @@ TEST.NEW TEST.NAME:handleTestArterialPressureOverrideRequest_InvalidPayloadLen TEST.IMPORT_FAILURES: -(E) @LINE: 7751 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 7772 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 7751 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 7730 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -7782,10 +7998,13 @@ TEST.NEW TEST.NAME:handleTestArterialPressureOverrideRequest_Override TEST.IMPORT_FAILURES: -(E) @LINE: 7887 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 7911 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 7887 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 7863 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -7921,10 +8140,13 @@ TEST.NEW TEST.NAME:handleTestArterialPressureOverrideRequest_Reset TEST.IMPORT_FAILURES: -(E) @LINE: 7959 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 7986 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 7959 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 7932 TEST.ATTRIBUTES:SystemCommMessages.handleTestAlarmTimeOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -8602,10 +8824,13 @@ TEST.NEW TEST.NAME:handleTestBloodPumpMeasuredSpeedOverrideRequest_Override TEST.IMPORT_FAILURES: -(E) @LINE: 8704 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8734 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 8704 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 8674 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -8772,13 +8997,19 @@ TEST.NEW TEST.NAME:handleTestBloodPumpOcclusionBaselineOverrideRequest_Override TEST.IMPORT_FAILURES: -(E) @LINE: 8781 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8817 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 -(E) @LINE: 8782 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8818 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 8781 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 + >>> (E) @LINE: 8782 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 8745 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -8829,13 +9060,19 @@ TEST.NEW TEST.NAME:handleTestBloodPumpOcclusionBaselineOverrideRequest_Reset TEST.IMPORT_FAILURES: -(E) @LINE: 8831 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8873 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 -(E) @LINE: 8832 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8874 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 8831 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 + >>> (E) @LINE: 8832 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpMeasuredSpeedOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 8789 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodFlowMeasuredOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -8885,10 +9122,13 @@ TEST.NEW TEST.NAME:handleTestBloodPumpOcclusionBaselineOverrideRequest_invalid_payloadLen TEST.IMPORT_FAILURES: -(E) @LINE: 8861 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 8906 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 8861 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 8816 TEST.ATTRIBUTES:SystemCommMessages.handleTestBloodPumpOcclusionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -11807,10 +12047,13 @@ TEST.NEW TEST.NAME:handleTestHDValvesBroadcastIntervalOverrideRequest_Invalid_Payload_Len TEST.IMPORT_FAILURES: -(E) @LINE: 11894 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 11942 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 11894 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 11846 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -11948,10 +12191,13 @@ TEST.NEW TEST.NAME:handleTestHDValvesBroadcastIntervalOverrideRequest_Override TEST.IMPORT_FAILURES: -(E) @LINE: 12044 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 12095 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 12044 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 11993 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -12101,10 +12347,13 @@ TEST.NEW TEST.NAME:handleTestHDValvesBroadcastIntervalOverrideRequest_Reset TEST.IMPORT_FAILURES: -(E) @LINE: 12192 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 12246 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 12192 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 12138 TEST.ATTRIBUTES:SystemCommMessages.handleSetHDValvePositionOverrideRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -15850,10 +16099,13 @@ TEST.NEW TEST.NAME:handleUIHDResetInServiceModeRequest_invalid_payload_len TEST.IMPORT_FAILURES: -(E) @LINE: 15828 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 15885 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 15828 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 15771 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -15891,10 +16143,13 @@ TEST.NEW TEST.NAME:handleUIHDResetInServiceModeRequest_valid_len_in_service TEST.IMPORT_FAILURES: -(E) @LINE: 15864 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 15924 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 15864 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 15804 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -15930,10 +16185,13 @@ TEST.NEW TEST.NAME:handleUIHDResetInServiceModeRequest_valid_len_not_in_service TEST.IMPORT_FAILURES: -(E) @LINE: 15900 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 15963 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 15900 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 15837 TEST.ATTRIBUTES:SystemCommMessages.handleUFPauseResumeRequest.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 @@ -18073,10 +18331,13 @@ TEST.NEW TEST.NAME:sendUIRequestPOSTFinalResult.001 TEST.IMPORT_FAILURES: -(E) @LINE: 18092 TEST.ATTRIBUTES:SystemCommMessages.handleDGReservoirData.message[0].hdr.msgID::INPUT_BASE=16 +(E) @LINE: 18158 TEST.ATTRIBUTES:SystemCommMessages.handleDGReservoirData.message[0].hdr.msgID::INPUT_BASE=16 >>> Expected a field name from the record type MESSAGE_HEADER_T >>> Read: msgID::INPUT_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 18092 TEST.ATTRIBUTES:SystemCommMessages.handleDGReservoirData.message[0].hdr.msgID::INPUT_BASE=16 + >>> >>> Expected a field name from the record type MESSAGE_HEADER_T + >>> >>> Read: msgID::INPUT_BASE=16 >>> (E) @LINE: 18026 TEST.ATTRIBUTES:SystemCommMessages.handleDGReservoirData.message[0].hdr.msgID::INPUT_BASE=16 >>> >>> Expected a field name from the record type MESSAGE_HEADER_T >>> >>> Read: msgID::INPUT_BASE=16 Index: vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst =================================================================== diff -u -r21ba197508c6498ea0c39f495526f4acd947df1e -re6051a4d203f12f56632e252fc7fcb6bd781c635 --- vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst (.../TREATMENTSTOP.tst) (revision 21ba197508c6498ea0c39f495526f4acd947df1e) +++ vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst (.../TREATMENTSTOP.tst) (revision e6051a4d203f12f56632e252fc7fcb6bd781c635) @@ -17,171 +17,109 @@ -- Subprogram: execTreatmentStop --- Test Case: execTreatmentStop.001 +-- Test Case: execTreatmentStop_default TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.001 -TEST.MCDC_BASIS_PATH:1 of 6 +TEST.NAME:execTreatmentStop_default +TEST.BASIS_PATH:1 of 7 (template) TEST.NOTES: This is an automatically generated test case. Test Path 1 - (1) if (getRinsebackCompleted() != (1)) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "a". - Condition a ==> FALSE + (6) case currentTxStopState ==> default + (7) if (priorSubState != currentTxStopState) ==> FALSE Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( TreatmentStop.<>.currentTxStopState ) in branches 1/7 TEST.END_NOTES: -TEST.STUB:TreatmentStop.handleTreatmentStopRecircState -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE -TEST.VALUE:TreatmentStop.handleTreatmentStopRecircState.return:TREATMENT_STOP_RECIRC_STATE -TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:1 -TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE -TEST.END - --- Test Case: execTreatmentStop.002 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:execTreatmentStop -TEST.NEW -TEST.NAME:execTreatmentStop.002 -TEST.BASIS_PATH:3 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (2) case currentTxStopState ==> TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE -TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE -TEST.END - --- Test Case: execTreatmentStop.003 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:execTreatmentStop -TEST.NEW -TEST.NAME:execTreatmentStop.003 -TEST.BASIS_PATH:4 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (3) case currentTxStopState ==> TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE -TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE -TEST.END - --- Test Case: execTreatmentStop.004 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:execTreatmentStop -TEST.NEW -TEST.NAME:execTreatmentStop.004 -TEST.STUB:TreatmentStop.handleTreatmentStopNoRecircState -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_NO_RECIRC_STATE -TEST.VALUE:TreatmentStop.handleTreatmentStopNoRecircState.return:TREATMENT_STOP_NO_RECIRC_STATE -TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_NO_RECIRC_STATE -TEST.END - --- Test Case: execTreatmentStop.005 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:execTreatmentStop -TEST.NEW -TEST.NAME:execTreatmentStop.005 TEST.VALUE:TreatmentStop.<>.currentTxStopState:NUM_OF_TREATMENT_STOP_STATES -TEST.VALUE:uut_prototype_stubs.activateAlarm2Data.alarm:ALARM_ID_HD_SOFTWARE_FAULT -TEST.VALUE:uut_prototype_stubs.activateAlarm2Data.alarmData1.dataType:ALARM_DATA_TYPE_U32 -TEST.VALUE:uut_prototype_stubs.activateAlarm2Data.alarmData1.data.uInt.data:100 -TEST.VALUE:uut_prototype_stubs.activateAlarm2Data.alarmData2.dataType:ALARM_DATA_TYPE_U32 -TEST.VALUE:uut_prototype_stubs.activateAlarm2Data.alarmData2.data.uInt.data:2 -TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:NUM_OF_TREATMENT_STOP_STATES TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarm:ALARM_ID_HD_SOFTWARE_FAULT TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData1.dataType:ALARM_DATA_TYPE_U32 TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData1.data.uInt.data:100 TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData2.dataType:ALARM_DATA_TYPE_U32 TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData2.data.uInt.data:5 TEST.END --- Test Case: execTreatmentStop.006 +-- Test Case: execTreatmentStop_recover_blood_detect_state TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.006 -TEST.BASIS_PATH:1 of 7 (template) +TEST.NAME:execTreatmentStop_recover_blood_detect_state +TEST.BASIS_PATH:7 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 1 - (6) case currentTxStopState ==> default + Test Path 7 + (5) case currentTxStopState ==> TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE (7) if (priorSubState != currentTxStopState) ==> FALSE Test Case Generation Notes: - Conflict: Cannot resolve multiple comparisons ( TreatmentStop.<>.currentTxStopState ) in branches 1/7 TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:NUM_OF_TREATMENT_STOP_STATES +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE +TEST.VALUE:TreatmentStop.<>.stopPublishTimerCtr:500 +TEST.VALUE:uut_prototype_stubs.getU32OverrideValue.return:1000 +TEST.EXPECTED:TreatmentStop.<>.stopPublishTimerCtr:501 TEST.END --- Test Case: execTreatmentStop.007 +-- Test Case: execTreatmentStop_stop_no_recirc_state TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.007 -TEST.BASIS_PATH:2 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (6) case currentTxStopState ==> default - (7) if (priorSubState != currentTxStopState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:NUM_OF_TREATMENT_STOP_STATES +TEST.NAME:execTreatmentStop_stop_no_recirc_state +TEST.STUB:TreatmentStop.handleTreatmentStopNoRecircState +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_NO_RECIRC_STATE +TEST.VALUE:TreatmentStop.handleTreatmentStopNoRecircState.return:TREATMENT_STOP_NO_RECIRC_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_NO_RECIRC_STATE TEST.END --- Test Case: execTreatmentStop.008 +-- Test Case: execTreatmentStop_stop_recirc_blood_only_state TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.008 -TEST.BASIS_PATH:5 of 7 +TEST.NAME:execTreatmentStop_stop_recirc_blood_only_state +TEST.BASIS_PATH:4 of 5 TEST.NOTES: This is an automatically generated test case. - Test Path 5 + Test Path 4 (3) case currentTxStopState ==> TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE - (7) if (priorSubState != currentTxStopState) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE -TEST.VALUE:TreatmentStop.handleTreatmentStopRecircState.return:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE TEST.END --- Test Case: execTreatmentStop.009 +-- Test Case: execTreatmentStop_stop_recirc_dialysate_only_state TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.009 -TEST.BASIS_PATH:6 of 7 +TEST.NAME:execTreatmentStop_stop_recirc_dialysate_only_state +TEST.BASIS_PATH:3 of 5 TEST.NOTES: This is an automatically generated test case. - Test Path 6 - (4) case currentTxStopState ==> TREATMENT_STOP_NO_RECIRC_STATE - (7) if (priorSubState != currentTxStopState) ==> FALSE + Test Path 3 + (2) case currentTxStopState ==> TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE Test Case Generation Notes: TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_NO_RECIRC_STATE -TEST.VALUE:TreatmentStop.handleTreatmentStopRecircState.return:TREATMENT_STOP_NO_RECIRC_STATE +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE TEST.END --- Test Case: execTreatmentStop.010 +-- Test Case: execTreatmentStop_stop_recirc_state TEST.UNIT:TreatmentStop TEST.SUBPROGRAM:execTreatmentStop TEST.NEW -TEST.NAME:execTreatmentStop.010 -TEST.BASIS_PATH:7 of 7 +TEST.NAME:execTreatmentStop_stop_recirc_state +TEST.MCDC_BASIS_PATH:1 of 6 TEST.NOTES: This is an automatically generated test case. - Test Path 7 - (5) case currentTxStopState ==> TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE - (7) if (priorSubState != currentTxStopState) ==> FALSE + Test Path 1 + (1) if (getRinsebackCompleted() != (1)) ==> FALSE + Row number 2 forms a pair with Row 1 for Condition #1, subcondition "a". + Condition a ==> FALSE Test Case Generation Notes: TEST.END_NOTES: -TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE -TEST.VALUE:TreatmentStop.handleTreatmentStopRecircState.return:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE +TEST.STUB:TreatmentStop.handleTreatmentStopRecircState +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE +TEST.VALUE:TreatmentStop.handleTreatmentStopRecircState.return:TREATMENT_STOP_RECIRC_STATE +TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:1 +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE TEST.END -- Subprogram: getCurrentTreatmentStopState @@ -338,6 +276,28 @@ TEST.EXPECTED:TreatmentStop.handleTreatmentStopAlarmsAndSignals.return:TREATMENT_STOP_RECIRC_STATE TEST.END +-- Test Case: handleTreatmentStopAlarmsAndSignals_bld_alarms_blood_detect_state +TEST.UNIT:TreatmentStop +TEST.SUBPROGRAM:handleTreatmentStopAlarmsAndSignals +TEST.NEW +TEST.NAME:handleTreatmentStopAlarmsAndSignals_bld_alarms_blood_detect_state +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE +TEST.VALUE:uut_prototype_stubs.isAlarmActive.return:1,0 +TEST.VALUE:uut_prototype_stubs.isDialysateRecircBlocked.return:0 +TEST.EXPECTED:TreatmentStop.handleTreatmentStopAlarmsAndSignals.return:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE +TEST.END + +-- Test Case: handleTreatmentStopAlarmsAndSignals_bld_alarms_not_blood_detect_state +TEST.UNIT:TreatmentStop +TEST.SUBPROGRAM:handleTreatmentStopAlarmsAndSignals +TEST.NEW +TEST.NAME:handleTreatmentStopAlarmsAndSignals_bld_alarms_not_blood_detect_state +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.VALUE:uut_prototype_stubs.isAlarmActive.return:1,0 +TEST.VALUE:uut_prototype_stubs.isDialysateRecircBlocked.return:1 +TEST.EXPECTED:TreatmentStop.handleTreatmentStopAlarmsAndSignals.return:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.END + -- Subprogram: handleTreatmentStopBloodRecircState -- Test Case: handleTreatmentStopBloodRecircState.001 @@ -405,8 +365,10 @@ (2) if ((0) == doesAlarmStatusIndicateEndTxOnly()) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:TreatmentStop.<>.bloodSittingTimerCtr:5 TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateEndTxOnly.return:1 -TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:<> +TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:0 +TEST.EXPECTED:TreatmentStop.<>.bloodSittingTimerCtr:6 TEST.END -- Test Case: handleTreatmentStopBloodSittingTimer.005 @@ -425,50 +387,12 @@ Test Case Generation Notes: Cannot set bloodSittingTimerCtr due to assignment TEST.END_NOTES: +TEST.VALUE:TreatmentStop.<>.bloodSittingTimerCtr:5 TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateEndTxOnly.return:0 -TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:<> +TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:0 +TEST.EXPECTED:TreatmentStop.<>.bloodSittingTimerCtr:6 TEST.END --- Test Case: handleTreatmentStopBloodSittingTimer.006 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:handleTreatmentStopBloodSittingTimer -TEST.NEW -TEST.NAME:handleTreatmentStopBloodSittingTimer.006 -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (getRinsebackCompleted() != (1)) ==> TRUE - (2) if ((0) == doesAlarmStatusIndicateEndTxOnly()) ==> TRUE - (3) if (bloodSittingTimerCtr > ((4 * 60) * 1000) / 50) ==> FALSE - (4) if (bloodSittingTimerCtr > ((5 * 60) * 1000) / 50) ==> TRUE - Test Case Generation Notes: - Cannot set bloodSittingTimerCtr due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateEndTxOnly.return:0 -TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:<> -TEST.END - --- Test Case: handleTreatmentStopBloodSittingTimer.007 -TEST.UNIT:TreatmentStop -TEST.SUBPROGRAM:handleTreatmentStopBloodSittingTimer -TEST.NEW -TEST.NAME:handleTreatmentStopBloodSittingTimer.007 -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (getRinsebackCompleted() != (1)) ==> TRUE - (2) if ((0) == doesAlarmStatusIndicateEndTxOnly()) ==> TRUE - (3) if (bloodSittingTimerCtr > ((4 * 60) * 1000) / 50) ==> TRUE - (4) if (bloodSittingTimerCtr > ((5 * 60) * 1000) / 50) ==> FALSE - Test Case Generation Notes: - Cannot set bloodSittingTimerCtr due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateEndTxOnly.return:0 -TEST.VALUE:uut_prototype_stubs.getRinsebackCompleted.return:<> -TEST.END - -- Subprogram: handleTreatmentStopDialysateRecircState -- Test Case: handleTreatmentStopDialysateRecircState.001 @@ -530,6 +454,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.isAlarmActive.return:1,0 +TEST.EXPECTED:TreatmentStop.handleTreatmentStopRecoverBloodDetectState.return:TREATMENT_STOP_RECOVER_BLOOD_DETECT_STATE TEST.END -- Subprogram: initTreatmentStop @@ -745,6 +671,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE TEST.END -- Subprogram: setupForRecoverBloodDetectState @@ -758,6 +686,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE +TEST.EXPECTED:TreatmentStop.<>.currentTxStopState:TREATMENT_STOP_RECIRC_STATE TEST.END -- Subprogram: testResetTreatmentStopPublishIntervalOverride