Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_RINSEBACK/INT_RINSEBACK_cba.cvr =================================================================== diff -u -r7034ec1e752c8145ebb6a7afcd07e17378ddb807 -r5cd07dbbd59e5a5d901dc620cdf2ae26e912444b --- vectorcast/Hercules_RM46_HD_Project/environment/INT_RINSEBACK/INT_RINSEBACK_cba.cvr (.../INT_RINSEBACK_cba.cvr) (revision 7034ec1e752c8145ebb6a7afcd07e17378ddb807) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_RINSEBACK/INT_RINSEBACK_cba.cvr (.../INT_RINSEBACK_cba.cvr) (revision 5cd07dbbd59e5a5d901dc620cdf2ae26e912444b) @@ -547,6 +547,7 @@ // Open VBA and VBV valves to allow flow from saline bag and to patient venous line setValvePosition( VBA, VALVE_POSITION_B_OPEN ); // patient will have removed arterial line from fistula and connected it to RB port to saline - so we will get saline from arterial line by opening RESULT.CBA.CONTEXT_AFTER_END +RESULT.CBA.MATCHING_LINE_INDEX: 1 RESULT.CBA.LINE.END RESULT.CBA.FUNCTION: setupForRinsebackStopOrPause RESULT.CBA.LINE.BEGIN Index: vectorcast/Hercules_RM46_HD_Project/environment/RINSEBACK/RINSEBACK.tst =================================================================== diff -u -r8c520fc7314794ea2e04303dcc1aa9311458dcca -r5cd07dbbd59e5a5d901dc620cdf2ae26e912444b --- vectorcast/Hercules_RM46_HD_Project/environment/RINSEBACK/RINSEBACK.tst (.../RINSEBACK.tst) (revision 8c520fc7314794ea2e04303dcc1aa9311458dcca) +++ vectorcast/Hercules_RM46_HD_Project/environment/RINSEBACK/RINSEBACK.tst (.../RINSEBACK.tst) (revision 5cd07dbbd59e5a5d901dc620cdf2ae26e912444b) @@ -1615,30 +1615,31 @@ TEST.NEW TEST.NAME:handleRinsebackStopInitState.001 TEST.IMPORT_FAILURES: -(E) @LINE: 1631 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.event:MID_TREATMENT_RINSE_BACK_EVENT - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored -(E) @LINE: 1632 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.oldValue:0.0 - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored -(E) @LINE: 1633 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.newValue:0.0 - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored -(E) @LINE: 1637 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.event:MID_TREATMENT_RINSE_BACK_EVENT - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored -(E) @LINE: 1638 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.oldValue:0.0 - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored -(E) @LINE: 1639 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.newValue:0.0 - >>> Could not find function sendTreatmentLogEventData - >>> in unit uut_prototype_stubs. - >>> Value Line Error - Command Ignored +(E) Errors from previous script import(s) + >>> (E) @LINE: 1631 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.event:MID_TREATMENT_RINSE_BACK_EVENT + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 1632 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.oldValue:0.0 + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 1633 TEST.VALUE:uut_prototype_stubs.sendTreatmentLogEventData.newValue:0.0 + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 1637 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.event:MID_TREATMENT_RINSE_BACK_EVENT + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 1638 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.oldValue:0.0 + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 1639 TEST.EXPECTED:uut_prototype_stubs.sendTreatmentLogEventData.newValue:0.0 + >>> >>> Could not find function sendTreatmentLogEventData + >>> >>> in unit uut_prototype_stubs. + >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:2 of 8 TEST.NOTES: @@ -2581,6 +2582,24 @@ TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(2)VALVE_POSITION_B_OPEN TEST.END +-- Test Case: setupForRinsebackDelivery.002 +TEST.UNIT:Rinseback +TEST.SUBPROGRAM:setupForRinsebackDelivery +TEST.NEW +TEST.NAME:setupForRinsebackDelivery.002 +TEST.VALUE:uut_prototype_stubs.setBloodPumpTargetFlowRate.flowRate:0 +TEST.VALUE:uut_prototype_stubs.setBloodPumpTargetFlowRate.dir:MOTOR_DIR_FORWARD +TEST.VALUE:uut_prototype_stubs.setBloodPumpTargetFlowRate.mode:PUMP_CONTROL_MODE_CLOSED_LOOP +TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_STAN +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_C_CLOSE,VALVE_POSITION_B_OPEN +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.flowRate:0 +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.dir:MOTOR_DIR_FORWARD +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.mode:PUMP_CONTROL_MODE_CLOSED_LOOP +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(2)VALVE_POSITION_B_OPEN +TEST.END + -- Subprogram: setupForRinsebackStopOrPause -- Test Case: setupForRinsebackStopOrPause.001