Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.env =================================================================== diff -u -rc8a1d0915907024f9ac6a8a4f689f3e0377c1f62 -r868300a9991ece5dfa2b54f555a8f36cbf4d40ae --- vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.env (.../INT_FPGA.env) (revision c8a1d0915907024f9ac6a8a4f689f3e0377c1f62) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.env (.../INT_FPGA.env) (revision 868300a9991ece5dfa2b54f555a8f36cbf4d40ae) @@ -24,14 +24,20 @@ ENVIRO.STUB_BY_FUNCTION:Valves ENVIRO.STUB_BY_FUNCTION:Voltages ENVIRO.STUB_BY_FUNCTION:WatchdogMgmt -ENVIRO.STUB_BY_FUNCTION:sci -ENVIRO.STUB_BY_FUNCTION:sys_dma ENVIRO.STUB_BY_FUNCTION:sys_main ENVIRO.MAX_VARY_RANGE: 20 ENVIRO.STUB: ALL_BY_PROTOTYPE ENVIRO.TYPE_HANDLED_DIRS_ALLOWED: ENVIRO.LIBRARY_STUBS: ENVIRO.UNIT_PREFIX_USER_CODE: +ENVIRO.UNIT_PREFIX_USER_CODE_FILE:AlarmMgmt +#include "reg_mibspi.h" + +mibspiBASE_t * mibspi_ptr; + +#undef mibspiREG3 +#define mibspiREG3 mibspi_ptr +ENVIRO.END_UNIT_PREFIX_USER_CODE_FILE: ENVIRO.UNIT_PREFIX_USER_CODE_FILE:BloodFlow #include "reg_can.h" #include "reg_etpwm.h" @@ -65,8 +71,20 @@ #define etpwmREG3 ptr_pwmREG3 ENVIRO.END_UNIT_PREFIX_USER_CODE_FILE: -ENVIRO.UNIT_PREFIX_USER_CODE_FILE:Interrupts +ENVIRO.UNIT_PREFIX_USER_CODE_FILE:FPGA +#include "reg_sci.h" +#include "reg_dma.h" + +sciBASE_t * ptr_sciBASE_t; +#undef scilinREG +#define scilinREG ptr_sciBASE_t + +dmaBASE_t *ptr_dmaBASE_t; +#undef dmaREG +#define dmaREG ptr_dmaBASE_t +ENVIRO.END_UNIT_PREFIX_USER_CODE_FILE: +ENVIRO.UNIT_PREFIX_USER_CODE_FILE:Interrupts #include "reg_can.h" #include "reg_sci.h" #include "reg_lin.h" @@ -86,6 +104,13 @@ #define hetREG1 ptr_hetREG1 ENVIRO.END_UNIT_PREFIX_USER_CODE_FILE: +ENVIRO.UNIT_PREFIX_USER_CODE_FILE:Valves +#include "reg_het.h" +gioPORT_t * ptr_gioPort; +#undef hetPORT1 +#define hetPORT1 ptr_gioPort + +ENVIRO.END_UNIT_PREFIX_USER_CODE_FILE: ENVIRO.END_UNIT_PREFIX_USER_CODE: ENVIRO.COVERAGE_TYPE: FUNCTION ENVIRO.WHITE_BOX: YES Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.tst =================================================================== diff -u -rbee4a17cf2dedb3a18483e2c05846785ed1b3da7 -r868300a9991ece5dfa2b54f555a8f36cbf4d40ae --- vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.tst (.../INT_FPGA.tst) (revision bee4a17cf2dedb3a18483e2c05846785ed1b3da7) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA.tst (.../INT_FPGA.tst) (revision 868300a9991ece5dfa2b54f555a8f36cbf4d40ae) @@ -2,7 +2,7 @@ -- Test Case Script -- -- Environment : INT_FPGA --- Unit(s) Under Test: Accel AirTrap AlarmMgmt BloodFlow BloodLeak Bubble Comm DialInFlow DialOutFlow FPGA Fans FluidLeak Interrupts ModeInitPOST PresOccl SafetyShutdown Switches SyringePump SystemCommMessages TaskPriority Temperatures Valves Voltages WatchdogMgmt sci sys_dma sys_main +-- Unit(s) Under Test: Accel AirTrap AlarmMgmt BloodFlow BloodLeak Bubble Comm DialInFlow DialOutFlow FPGA Fans FluidLeak Interrupts ModeInitPOST PresOccl SafetyShutdown Switches SyringePump SystemCommMessages TaskPriority Temperatures Valves Voltages WatchdogMgmt sys_main -- -- Script Features TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING @@ -53,211 +53,19 @@ -- Subprogram: execAirTrapMonitor --- Test Case: execAirTrapMonitor.001 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.001 -TEST.IMPORT_FAILURES: -(E) @LINE: 76 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:<> - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:1 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> FALSE - (6) if (airTrapIllegalLevelSensorsCtr > (0)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:NUM_OF_AIR_TRAP_LEVELS -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: execAirTrapMonitor.002 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.002 -TEST.IMPORT_FAILURES: -(E) @LINE: 101 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:<> - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:2 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> FALSE - (6) if (airTrapIllegalLevelSensorsCtr > (0)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:NUM_OF_AIR_TRAP_LEVELS -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: execAirTrapMonitor.003 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.003 -TEST.BASIS_PATH:3 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> TRUE - (5) if (++airTrapIllegalLevelSensorsCtr >= AIR_TRAP_ILLEGAL_LEVELS_PERSISTENCE) ==> FALSE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 - Conflict: Multiple equality operators with different values (AirTrap.getAirTrapLevel.return) in branch 4 - Conflict: Unable to control expression-to-expression comparison in branch 5 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:AIR_TRAP_LEVEL_AIR -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: execAirTrapMonitor.004 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.004 -TEST.BASIS_PATH:4 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> TRUE - (5) if (++airTrapIllegalLevelSensorsCtr >= AIR_TRAP_ILLEGAL_LEVELS_PERSISTENCE) ==> TRUE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 - Conflict: Multiple equality operators with different values (AirTrap.getAirTrapLevel.return) in branch 4 - Conflict: Unable to control expression-to-expression comparison in branch 5 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:AIR_TRAP_LEVEL_AIR -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: execAirTrapMonitor.005 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.005 -TEST.BASIS_PATH:5 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> TRUE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> FALSE - (6) if (airTrapIllegalLevelSensorsCtr > (0)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 - Cannot set airTrapIllegalLevelSensorsCtr due to assignment -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:NUM_OF_AIR_TRAP_LEVELS -TEST.VALUE:Switches.getSwitchStatus.return:STATE_OPEN -TEST.END - --- Test Case: execAirTrapMonitor.006 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.006 -TEST.IMPORT_FAILURES: -(E) @LINE: 203 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:<> - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:6 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == lower) ==> FALSE - (2) if ((1) == upper) ==> TRUE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> FALSE - (6) if (airTrapIllegalLevelSensorsCtr > (0)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:NUM_OF_AIR_TRAP_LEVELS -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: execAirTrapMonitor.007 -TEST.UNIT:AirTrap -TEST.SUBPROGRAM:execAirTrapMonitor -TEST.NEW -TEST.NAME:execAirTrapMonitor.007 -TEST.IMPORT_FAILURES: -(E) @LINE: 228 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:<> - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:7 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == lower) ==> TRUE - (2) if ((1) == upper) ==> FALSE - (3) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (4) if ((AIR_TRAP_LEVEL_AIR) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_LOWER) && (AIR_TRAP_LEVEL_FLUID) == getAirTrapLevel(AIR_TRAP_LEVEL_SENSOR_UPPER)) ==> FALSE - (6) if (airTrapIllegalLevelSensorsCtr > (0)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable lower in branch 1 - Cannot set local variable upper in branch 2 -TEST.END_NOTES: -TEST.STUB:AirTrap.getAirTrapLevel -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:AirTrap.getAirTrapLevel.return:NUM_OF_AIR_TRAP_LEVELS -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - -- Test Case: getFPGAAirTrapLevels TEST.UNIT:AirTrap TEST.SUBPROGRAM:execAirTrapMonitor TEST.NEW TEST.NAME:getFPGAAirTrapLevels TEST.IMPORT_FAILURES: -(E) @LINE: 240 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:1 - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored -(E) @LINE: 244 TEST.EXPECTED:AirTrap.<>.airTrapIllegalLevelSensorsCtr:0 - >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr - >>> Value Line Error - Command Ignored +(E) Errors from previous script import(s) + >>> (E) @LINE: 240 TEST.VALUE:AirTrap.<>.airTrapIllegalLevelSensorsCtr:1 + >>> >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 244 TEST.EXPECTED:AirTrap.<>.airTrapIllegalLevelSensorsCtr:0 + >>> >>> Unknown parameter/object name airTrapIllegalLevelSensorsCtr + >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.VALUE:AirTrap.<>.airTrapLevels[AIR_TRAP_LEVEL_SENSOR_LOWER].data:0 TEST.VALUE:AirTrap.<>.airTrapLevels[AIR_TRAP_LEVEL_SENSOR_UPPER].data:1 @@ -266,2748 +74,10 @@ TEST.EXPECTED:AirTrap.<>.airTrapLevels[AIR_TRAP_LEVEL_SENSOR_UPPER].data:0 TEST.END --- Unit: AlarmMgmt - --- Subprogram: monitorAlarms - --- Test Case: monitorAlarms.001 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:monitorAlarms -TEST.NEW -TEST.NAME:monitorAlarms.001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((CONFIRMATION_REQUEST_STATUS_ACCEPTED) == getConfirmationRequestStatus(GENERIC_CONFIRM_ID_TREATMENT_END)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getConfirmationRequestStatus.return:CONFIRMATION_REQUEST_STATUS_REJECTED -TEST.END - --- Test Case: monitorAlarms.002 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:monitorAlarms -TEST.NEW -TEST.NAME:monitorAlarms.002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((CONFIRMATION_REQUEST_STATUS_ACCEPTED) == getConfirmationRequestStatus(GENERIC_CONFIRM_ID_TREATMENT_END)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getConfirmationRequestStatus.return:CONFIRMATION_REQUEST_STATUS_ACCEPTED -TEST.END - --- Subprogram: setAlarmAudio - --- Test Case: setAlarmAudio.001 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:setAlarmAudio -TEST.NEW -TEST.NAME:setAlarmAudio.001 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 18 TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsState:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 1 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:1 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == alarmAudioTestToneRequested) ==> FALSE - (3) if ((ALARM_PRIORITY_NONE) == alarmStatus.alarmsState || (1) == alarmStatus.alarmsSilenced) ==> FALSE - (4) if (alarmStatus.alarmsState < (NUM_OF_ALARM_PRIORITIES)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsState:<> -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsSilenced:<> -TEST.VALUE:AlarmMgmt.<>.alarmAudioTestToneRequested:<> -TEST.END - --- Test Case: setAlarmAudio.002 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:setAlarmAudio -TEST.NEW -TEST.NAME:setAlarmAudio.002 -TEST.BASIS_PATH:2 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == alarmAudioTestToneRequested) ==> FALSE - (3) if ((ALARM_PRIORITY_NONE) == alarmStatus.alarmsState || (1) == alarmStatus.alarmsSilenced) ==> FALSE - (4) if (alarmStatus.alarmsState < (NUM_OF_ALARM_PRIORITIES)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsState:<> -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsSilenced:<> -TEST.VALUE:AlarmMgmt.<>.alarmAudioTestToneRequested:<> -TEST.END - --- Test Case: setAlarmAudio.003 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:setAlarmAudio -TEST.NEW -TEST.NAME:setAlarmAudio.003 -TEST.BASIS_PATH:3 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == alarmAudioTestToneRequested) ==> FALSE - (3) if ((ALARM_PRIORITY_NONE) == alarmStatus.alarmsState || (1) == alarmStatus.alarmsSilenced) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsState:ALARM_PRIORITY_NONE -TEST.VALUE:AlarmMgmt.<>.alarmStatus.alarmsSilenced:1 -TEST.VALUE:AlarmMgmt.<>.alarmAudioTestToneRequested:<> -TEST.END - --- Test Case: setAlarmAudio.004 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:setAlarmAudio -TEST.NEW -TEST.NAME:setAlarmAudio.004 -TEST.BASIS_PATH:4 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == alarmAudioTestToneRequested) ==> TRUE - (2) if ((MODE_FAUL) == getCurrentOperationMode()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV -TEST.VALUE:AlarmMgmt.<>.alarmAudioTestToneRequested:1 -TEST.END - --- Test Case: setAlarmAudio.005 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:setAlarmAudio -TEST.NEW -TEST.NAME:setAlarmAudio.005 -TEST.BASIS_PATH:5 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == alarmAudioTestToneRequested) ==> TRUE - (2) if ((MODE_FAUL) == getCurrentOperationMode()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:AlarmMgmt.<>.alarmAudioTestToneRequested:1 -TEST.END - --- Unit: BloodFlow - --- Subprogram: checkBloodPumpDirection - --- Test Case: checkBloodPumpDirection.001 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.001 -TEST.BASIS_PATH:1 of 9 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_OFF_STATE -TEST.END - --- Test Case: checkBloodPumpDirection.002 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.002 -TEST.BASIS_PATH:2 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.003 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.003 -TEST.BASIS_PATH:3 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> TRUE - (8) if (bloodPumpDirectionSet != bpDir) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 8 - Cannot set bpDir due to assignment -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.004 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.004 -TEST.BASIS_PATH:4 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> TRUE - (8) if (bloodPumpDirectionSet != bpDir) ==> TRUE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set bpDir due to assignment -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.<>.bloodPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.005 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.005 -TEST.BASIS_PATH:5 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> TRUE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.006 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.006 -TEST.BASIS_PATH:6 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> TRUE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.getMeasuredBloodPumpMCSpeed.return ) in branches 2/5 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.007 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.007 -TEST.BASIS_PATH:7 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> TRUE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:1 -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.008 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.008 -TEST.BASIS_PATH:8 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> TRUE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.<>.lastBloodPumpDirectionCount:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkBloodPumpDirection.009 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:checkBloodPumpDirection -TEST.NEW -TEST.NAME:checkBloodPumpDirection.009 -TEST.BASIS_PATH:9 of 9 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((BLOOD_PUMP_CONTROL_TO_TARGET_STATE) == bloodPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> TRUE - (3) if ((1) == minDirSpeed && lastBloodPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_BP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredBloodPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredBloodPumpSpeed() >= (0.0)) ==> FALSE - (7) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BLOOD_PUMP_MC_DIRECTION_CHECK, isDirIncorrect)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.getMeasuredBloodPumpMCSpeed.return ) in branches 2/5 -TEST.END_NOTES: -TEST.STUB:BloodFlow.getMeasuredBloodPumpSpeed -TEST.STUB:BloodFlow.getMeasuredBloodPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:BloodFlow.<>.bloodPumpState:BLOOD_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:BloodFlow.getMeasuredBloodPumpSpeed.return:<> -TEST.VALUE:BloodFlow.getMeasuredBloodPumpMCSpeed.return:<> -TEST.END - --- Subprogram: execBloodFlowMonitor - --- Test Case: execBloodFlowMonitor.001 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:execBloodFlowMonitor -TEST.NEW -TEST.NAME:execBloodFlowMonitor.001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (opMode != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:BloodFlow.calcBloodFlow -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.END - --- Test Case: execBloodFlowMonitor.002 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:execBloodFlowMonitor -TEST.NEW -TEST.NAME:execBloodFlowMonitor.002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (opMode != (MODE_INIT)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:BloodFlow.calcBloodFlow -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.END - --- Test Case: getFPGABloodFlow -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:execBloodFlowMonitor -TEST.NEW -TEST.NAME:getFPGABloodFlow -TEST.COMPOUND_ONLY -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 82 TEST.VALUE:FPGA.<>.fpgaSensorReadings.bloodFlowLast:-400.0 - >>> >>> Expected a field name from the record type FPGA_SENSORS_T - >>> >>> Read: bloodFlowLast -TEST.END_IMPORT_FAILURES: -TEST.VALUE:BloodFlow.<>.measuredBloodFlowRate.data:0.0 -TEST.VALUE:DialInFlow.<>.flowReadingsTotal:0.0 -TEST.VALUE:DialInFlow.<>.flowReadingsCount:0 -TEST.EXPECTED:BloodFlow.<>.measuredBloodFlowRate.data:400.0 -TEST.EXPECTED:DialInFlow.<>.flowReadingsTotal:400.0 -TEST.EXPECTED:DialInFlow.<>.flowReadingsCount:1 -TEST.END - --- Subprogram: initBloodFlow - --- Test Case: initBloodFlow.001 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:initBloodFlow -TEST.NEW -TEST.NAME:initBloodFlow.001 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:1 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (i < (1000 / (40 / 10)) / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: initBloodFlow.002 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:initBloodFlow -TEST.NEW -TEST.NAME:initBloodFlow.002 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (i < (1000 / (40 / 10)) / 10) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Subprogram: updateBloodPumpSpeedAndDirectionFromHallSensors - --- Test Case: getFPGABloodPumpHallSensorCount -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:getFPGABloodPumpHallSensorCount -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 98 TEST.VALUE:BloodFlow.<>.bpMotorDirectionFromHallSensors:MOTOR_DIR_REVERSE - >>> >>> Unknown parameter/object name bpMotorDirectionFromHallSensors - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 104 TEST.EXPECTED:BloodFlow.<>.bpMotorDirectionFromHallSensors:MOTOR_DIR_FORWARD - >>> >>> Unknown parameter/object name bpMotorDirectionFromHallSensors - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:BloodFlow.<>.bloodPumpSpeedRPM.data:0.0 -TEST.VALUE:BloodFlow.<>.bpLastMotorHallSensorCounts[1]:980 -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:0 -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcTimerCtr:3 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.bloodPumpHallSensorCount:1000 -TEST.EXPECTED:BloodFlow.<>.bloodPumpSpeedRPM.data:0.0 -TEST.EXPECTED:BloodFlow.<>.bpLastMotorHallSensorCounts[1]:1000 -TEST.EXPECTED:BloodFlow.<>.bpMotorSpeedCalcIdx:1 -TEST.EXPECTED:BloodFlow.<>.bpMotorSpeedCalcTimerCtr:0 -TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.bloodPumpHallSensorCount:1000 -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.001 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.001 -TEST.BASIS_PATH:1 of 6 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.002 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.002 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 33 TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 1 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:2 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (bpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (0 == incDelta) ==> FALSE - (4) if (incDelta < decDelta) ==> FALSE - (5) if (delta >= 0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.<>.bpMotorSpeedCalcIdx ) in branch 2 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> -TEST.VALUE:uut_prototype_stubs.u16BiDiffWithWrap.return:<> -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.003 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.003 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 58 TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 1 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:3 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (bpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (0 == incDelta) ==> FALSE - (4) if (incDelta < decDelta) ==> FALSE - (5) if (delta >= 0) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.<>.bpMotorSpeedCalcIdx ) in branch 2 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> -TEST.VALUE:uut_prototype_stubs.u16BiDiffWithWrap.return:<> -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.004 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.004 -TEST.BASIS_PATH:4 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (bpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (0 == incDelta) ==> FALSE - (4) if (incDelta < decDelta) ==> TRUE - (5) if (delta >= 0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.<>.bpMotorSpeedCalcIdx ) in branch 2 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> -TEST.VALUE:uut_prototype_stubs.u16BiDiffWithWrap.return:<> -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.005 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.005 -TEST.BASIS_PATH:5 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (bpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (0 == incDelta) ==> TRUE - (4) if (incDelta < decDelta) ==> FALSE - (5) if (delta >= 0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.<>.bpMotorSpeedCalcIdx ) in branch 2 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:0 -TEST.VALUE:uut_prototype_stubs.u16BiDiffWithWrap.return:<> -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateBloodPumpSpeedAndDirectionFromHallSensors.006 -TEST.UNIT:BloodFlow -TEST.SUBPROGRAM:updateBloodPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateBloodPumpSpeedAndDirectionFromHallSensors.006 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 131 TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 1 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:6 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (++bpMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (bpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> TRUE - (3) if (0 == incDelta) ==> FALSE - (4) if (incDelta < decDelta) ==> FALSE - (5) if (delta >= 0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Conflict: Cannot resolve multiple comparisons ( BloodFlow.<>.bpMotorSpeedCalcIdx ) in branch 2 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.u16DiffWithWrap.return:<> -TEST.VALUE:uut_prototype_stubs.u16BiDiffWithWrap.return:<> -TEST.VALUE:BloodFlow.<>.bpMotorSpeedCalcIdx:<> -TEST.END - --- Unit: BloodLeak - --- Subprogram: execBloodLeak - --- Test Case: execBloodLeak.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.001 -TEST.BASIS_PATH:1 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (7) case bloodLeakState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:NUM_OF_BLOOD_LEAK_STATES -TEST.END - --- Test Case: execBloodLeak.002 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.002 -TEST.BASIS_PATH:2 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) case bloodLeakState ==> BLOOD_LEAK_WAIT_FOR_POST_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_WAIT_FOR_POST_STATE -TEST.END - --- Test Case: execBloodLeak.003 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.003 -TEST.BASIS_PATH:3 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (3) case bloodLeakState ==> BLOOD_LEAK_CHECK_SET_POINT_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_CHECK_SET_POINT_STATE -TEST.END - --- Test Case: execBloodLeak.004 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.004 -TEST.BASIS_PATH:4 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (4) case bloodLeakState ==> BLOOD_LEAK_INIT_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_INIT_STATE -TEST.END - --- Test Case: execBloodLeak.005 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.005 -TEST.BASIS_PATH:5 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (5) case bloodLeakState ==> BLOOD_LEAK_CHECK_ZERO_AND_SELF_TEST_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_CHECK_ZERO_AND_SELF_TEST_STATE -TEST.END - --- Test Case: execBloodLeak.006 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.006 -TEST.BASIS_PATH:6 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (6) case bloodLeakState ==> BLOOD_LEAK_NORMAL_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakState:BLOOD_LEAK_NORMAL_STATE -TEST.END - --- Test Case: execBloodLeak.007 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:execBloodLeak -TEST.NEW -TEST.NAME:execBloodLeak.007 -TEST.BASIS_PATH:7 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> TRUE - (7) case bloodLeakState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:1 -TEST.VALUE:BloodLeak.<>.bloodLeakState:NUM_OF_BLOOD_LEAK_STATES -TEST.END - --- Subprogram: getBloodLeakRxBytesAvailable - --- Test Case: getBloodLeakRxBytesAvailable.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:getBloodLeakRxBytesAvailable -TEST.NEW -TEST.NAME:getBloodLeakRxBytesAvailable.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Subprogram: handleBloodLeakEmbModeSendCommandState - --- Test Case: BloodLeak_handleBloodLeakEmbModeSendCommandState_setFPGABloodLeakUARTControl -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:BloodLeak_handleBloodLeakEmbModeSendCommandState_setFPGABloodLeakUARTControl -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:C_EMB_MODE_CMD -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeqLength:<> -TEST.EXPECTED:BloodLeak.<>.bloodLeakUARTCmdIndex:1 -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:10 -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeqLength:4294967295 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.001 -TEST.BASIS_PATH:1 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRqstedCmd 'equal to' and 'not equal to' same value in branches 1/16 - Cannot set local variable isUARTCtrlDone in branch 18 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.002 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.002 -TEST.BASIS_PATH:2 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> TRUE - Test Case Generation Notes: - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRqstedCmd 'equal to' and 'not equal to' same value in branches 1/16 - Cannot set local variable isUARTCtrlDone in branch 18 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:12 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.003 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.003 -TEST.BASIS_PATH:3 of 20 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> TRUE - (19) if ((0) == isUARTCtrlCmd) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRqstedCmd 'equal to' and 'not equal to' same value in branches 1/16 - Cannot set local variable isUARTCtrlDone in branch 18 - Cannot set local variable isUARTCtrlCmd in branch 19 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.004 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.004 -TEST.BASIS_PATH:4 of 20 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> TRUE - (19) if ((0) == isUARTCtrlCmd) ==> TRUE - Test Case Generation Notes: - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRqstedCmd 'equal to' and 'not equal to' same value in branches 1/16 - Cannot set local variable isUARTCtrlDone in branch 18 - Cannot set local variable isUARTCtrlCmd in branch 19 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.005 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.005 -TEST.BASIS_PATH:5 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> TRUE - (17) if (0 == getBloodLeakRxBytesAvailable()) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 16 - Cannot set local variable isUARTCtrlDone in branch 18 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakRxBytesAvailable -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:1 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.006 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.006 -TEST.BASIS_PATH:6 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (15) case (bloodLeakEmbModeRqstedCmd) ==> default - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> TRUE - (17) if (0 == getBloodLeakRxBytesAvailable()) ==> TRUE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 16 - Cannot set local variable isUARTCtrlDone in branch 18 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakRxBytesAvailable -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:0 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.007 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.007 -TEST.BASIS_PATH:7 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) case (bloodLeakEmbModeRqstedCmd) ==> CS_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.008 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.008 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:8 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) case (bloodLeakEmbModeRqstedCmd) ==> CS_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> TRUE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.009 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.009 -TEST.BASIS_PATH:9 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (2) case (bloodLeakEmbModeRqstedCmd) ==> T_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 2/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:3 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.010 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.010 -TEST.BASIS_PATH:10 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (3) case (bloodLeakEmbModeRqstedCmd) ==> G_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 3/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:4 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.011 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.011 -TEST.BASIS_PATH:11 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (4) case (bloodLeakEmbModeRqstedCmd) ==> I_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 4/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:5 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.012 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.012 -TEST.BASIS_PATH:12 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (5) case (bloodLeakEmbModeRqstedCmd) ==> V_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 5/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:6 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.013 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.013 -TEST.BASIS_PATH:13 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (6) case (bloodLeakEmbModeRqstedCmd) ==> Z_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 6/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:7 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.014 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.014 -TEST.BASIS_PATH:14 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 14 - (7) case (bloodLeakEmbModeRqstedCmd) ==> Q_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 7/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:8 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.015 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.015 -TEST.BASIS_PATH:15 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 15 - (8) case (bloodLeakEmbModeRqstedCmd) ==> D_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 8/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:9 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.016 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.016 -TEST.BASIS_PATH:16 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 16 - (9) case (bloodLeakEmbModeRqstedCmd) ==> C_EMB_MODE_CMD - (10) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 9/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:10 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.017 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.017 -TEST.BASIS_PATH:17 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 17 - (11) case (bloodLeakEmbModeRqstedCmd) ==> SP_EMB_MODE_CMD - (12) if (12 == bloodLeakEmbModeCmdSeq[0][0]) ==> FALSE - (14) if (bloodLeakUARTCmdIndex > bloodLeakSetPointSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 11/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.018 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.018 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:18 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 18 - (11) case (bloodLeakEmbModeRqstedCmd) ==> SP_EMB_MODE_CMD - (12) if (12 == bloodLeakEmbModeCmdSeq[0][0]) ==> FALSE - (14) if (bloodLeakUARTCmdIndex > bloodLeakSetPointSeqLength - (1)) ==> TRUE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 11/16 - Cannot set isUARTCtrlDone due to assignment -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.019 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.019 -TEST.BASIS_PATH:19 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 19 - (11) case (bloodLeakEmbModeRqstedCmd) ==> SP_EMB_MODE_CMD - (12) if (12 == bloodLeakEmbModeCmdSeq[0][0]) ==> TRUE - (13) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> FALSE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 11/16 - Cannot set isUARTCtrlDone due to assignment - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0] 'equal to' and 'not equal to' same value in branches 12/20 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:1 -TEST.VALUE:BloodLeak.<>.bloodLeakSetPointSequence[1]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakSetPointSequence[1]:"TRUE" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:12 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.020 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.020 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:20 of 20 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 20 - (11) case (bloodLeakEmbModeRqstedCmd) ==> SP_EMB_MODE_CMD - (12) if (12 == bloodLeakEmbModeCmdSeq[0][0]) ==> TRUE - (13) if (bloodLeakUARTCmdIndex > bloodLeakEmbModeCmdSeqLength - (1)) ==> TRUE - (16) if ((bloodLeakEmbModeRqstedCmd != (CS_EMB_MODE_CMD) && bloodLeakUARTCmdIndex - (1) > (0)) && bloodLeakUARTCmdIndex - (1) <= 0 + 1) ==> FALSE - (18) if ((0) == isUARTCtrlDone) ==> FALSE - (20) if (12 == commandInIndex0) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (BloodLeak.<>.bloodLeakEmbModeRqstedCmd) in branches 11/16 - Cannot set isUARTCtrlDone due to assignment - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0] 'equal to' and 'not equal to' same value in branches 12/20 -TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0][0]:12 -TEST.END - --- Test Case: handleBloodLeakEmbModeSendCommandState.021 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeSendCommandState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeSendCommandState.021 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:"1" -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[0]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[1]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[2]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[3]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[4]:"1" -TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeCmdSeq[5]:"1" -TEST.END - --- Subprogram: handleBloodLeakEmbModeWaitForCommandResponseState - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.001 -TEST.BASIS_PATH:1 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.002 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.002 -TEST.BASIS_PATH:2 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.003 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.003 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 65 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:0 - >>> >>> Warning: Value already set - >>> >>> Previous value <> ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:3 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.004 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.004 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 100 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 0 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:4 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> TRUE - (10) if (passChar == data) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 - Conflict: Cannot resolve multiple comparisons ( BloodLeak.<>.bloodLeakEmbModeCmd[0].length ) in branches 3/9 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].expChar1:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.005 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.005 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 134 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 0 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:5 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> TRUE - (10) if (passChar == data) ==> TRUE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 - Conflict: Cannot resolve multiple comparisons ( BloodLeak.<>.bloodLeakEmbModeCmd[0].length ) in branches 3/9 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].expChar1:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.006 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.006 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 169 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:0 - >>> >>> Warning: Value already set - >>> >>> Previous value <> ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:6 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> TRUE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.007 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.007 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 200 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:0 - >>> >>> Warning: Value already set - >>> >>> Previous value <> ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:7 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> TRUE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.008 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.008 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 230 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[0].length:0 - >>> >>> Warning: Value already set - >>> >>> Previous value <> ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:8 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> TRUE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set local variable isNull in branch 7 - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRqstedCmd 'equal to' and 'not equal to' same value in branches 6/8 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.009 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.009 -TEST.BASIS_PATH:9 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> TRUE - (5) if (bloodLeakEmbModeRespBuffer[i] != (NU_EMB_MODE_CMD)) ==> FALSE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set i due to assignment - Conflict: Trying to set variable BloodLeak.<>.bloodLeakEmbModeRespBuffer[0] 'equal to' and 'not equal to' same value in branches 5/6 - Cannot set isNull due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:0 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.010 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.010 -TEST.BASIS_PATH:11 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> TRUE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:0 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.011 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.011 -TEST.BASIS_PATH:10 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (2) if (rxFIFOCount > 0 && (0) == bloodLeakEmbModeHasRxRqstBeenSent) ==> FALSE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> TRUE - (4) for (i < length) ==> TRUE - (5) if (bloodLeakEmbModeRespBuffer[i] != (NU_EMB_MODE_CMD)) ==> TRUE - (6) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd && (NU_EMB_MODE_CMD) == bloodLeakEmbModeRespBuffer[0]) ==> FALSE - (7) if ((1) == isNull) ==> FALSE - (8) if ((CS_EMB_MODE_CMD) == bloodLeakEmbModeRqstedCmd) ==> FALSE - (9) if ((1) == length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable hasCharBeenReceived in branch 3 - Cannot set i due to assignment - Cannot set isNull due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:2 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespBuffer[0]:1 -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:2 -TEST.VALUE:BloodLeak.getBloodLeakRxBytesAvailable.return:<> -TEST.END - --- Test Case: handleBloodLeakEmbModeWaitForCommandResponseState.012 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakEmbModeWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleBloodLeakEmbModeWaitForCommandResponseState.012 -TEST.BASIS_PATH:12 of 12 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (1) if ((1) == bloodLeakEmbModeHasRxRqstBeenSent) ==> TRUE - (3) if ((1) == hasCharBeenReceived && bloodLeakEmbModeRespIndex >= length) ==> FALSE - (11) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, commandTimeoutMS)) ==> FALSE - Test Case Generation Notes: - Cannot set hasCharBeenReceived due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeCmd[NU_EMB_MODE_CMD].length:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRespIndex:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasRxRqstBeenSent:1 -TEST.END - --- Subprogram: handleBloodLeakNormalState - --- Test Case: handleBloodLeakNormalState.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.001 -TEST.BASIS_PATH:1 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakPersistenceCtr:<> -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.002 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.002 -TEST.BASIS_PATH:2 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakPersistenceCtr:<> -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:1 -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.003 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.003 -TEST.BASIS_PATH:3 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakPersistenceCtr:<> -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:1 -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.004 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.004 -TEST.BASIS_PATH:4 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> TRUE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakPersistenceCtr:<> -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.005 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.005 -TEST.BASIS_PATH:5 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> TRUE - (4) if (++bloodLeakPersistenceCtr > (10 * 1000) / 10) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 - Conflict: Unable to control expression-to-expression comparison in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.006 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.006 -TEST.BASIS_PATH:6 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> TRUE - (4) if (++bloodLeakPersistenceCtr > (10 * 1000) / 10) ==> TRUE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 - Conflict: Unable to control expression-to-expression comparison in branch 4 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBloodLeakNormalState.007 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.007 -TEST.BASIS_PATH:7 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if (0 == getFPGABloodLeakStatus()) ==> FALSE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> TRUE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 - Cannot set bloodLeakPersistenceCtr due to assignment -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_OPEN -TEST.END - --- Test Case: handleBloodLeakNormalState.008 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleBloodLeakNormalState -TEST.NEW -TEST.NAME:handleBloodLeakNormalState.008 -TEST.BASIS_PATH:8 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if (0 == getFPGABloodLeakStatus()) ==> TRUE - (2) if ((STATE_OPEN) == getSwitchStatus(PUMP_TRACK_SWITCH)) ==> FALSE - (3) if ((BLOOD_LEAK_DETECTED) == getBloodLeakStatus()) ==> FALSE - (5) if (bloodLeakPersistenceCtr > (0)) ==> FALSE - (6) if ((1) == bloodLeakExitNormalRequested) ==> FALSE - (7) if ((1) == bloodLeakEmbModeHasZeroBeenRqustd) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function getFPGABloodLeakStatus in branch 1 -TEST.END_NOTES: -TEST.STUB:BloodLeak.getBloodLeakStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:BloodLeak.<>.bloodLeakPersistenceCtr:<> -TEST.VALUE:BloodLeak.<>.bloodLeakExitNormalRequested:<> -TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeHasZeroBeenRqustd:<> -TEST.VALUE:BloodLeak.getBloodLeakStatus.return:BLOOD_LEAK_NOT_DETECTED -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Subprogram: initBloodLeak - --- Test Case: initBloodLeak.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:initBloodLeak -TEST.NEW -TEST.NAME:initBloodLeak.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Unit: Bubble - --- Subprogram: handleBubbleNormalState - --- Test Case: handleBubbleNormalState.001 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleNormalState -TEST.NEW -TEST.NAME:handleBubbleNormalState.001 -TEST.BASIS_PATH:1 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Bubble.handleBubbleNormalState.bubble:<> -TEST.END - --- Test Case: handleBubbleNormalState.002 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleNormalState -TEST.NEW -TEST.NAME:handleBubbleNormalState.002 -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if (((BUBBLE_DETECTED) == getBubbleStatus(bubble) && (STATE_CLOSED) == getSwitchStatus(PUMP_TRACK_SWITCH)) && bubbleDetectionEnabled[ADV] != (0)) ==> FALSE - (4) if ((1) == bubblesSelfTestRequested[bubble]) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleNormalState.bubble ) in branches 1/4 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestRequested[ADV]:<> -TEST.VALUE:Bubble.<>.bubbleDetectionEnabled[ADV]:0 -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleNormalState.bubble:<> -TEST.VALUE:Switches.getSwitchStatus.return:STATE_OPEN -TEST.END - --- Test Case: handleBubbleNormalState.003 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleNormalState -TEST.NEW -TEST.NAME:handleBubbleNormalState.003 -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if (((BUBBLE_DETECTED) == getBubbleStatus(bubble) && (STATE_CLOSED) == getSwitchStatus(PUMP_TRACK_SWITCH)) && bubbleDetectionEnabled[ADV] != (0)) ==> FALSE - (4) if ((1) == bubblesSelfTestRequested[bubble]) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleNormalState.bubble ) in branches 1/4 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestRequested[ADV]:1 -TEST.VALUE:Bubble.<>.bubbleDetectionEnabled[ADV]:0 -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleNormalState.bubble:<> -TEST.VALUE:Switches.getSwitchStatus.return:STATE_OPEN -TEST.END - --- Test Case: handleBubbleNormalState.004 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleNormalState -TEST.NEW -TEST.NAME:handleBubbleNormalState.004 -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if (((BUBBLE_DETECTED) == getBubbleStatus(bubble) && (STATE_CLOSED) == getSwitchStatus(PUMP_TRACK_SWITCH)) && bubbleDetectionEnabled[ADV] != (0)) ==> TRUE - (4) if ((1) == bubblesSelfTestRequested[bubble]) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleNormalState.bubble ) in branches 1/4 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestRequested[ADV]:<> -TEST.VALUE:Bubble.<>.bubbleDetectionEnabled[ADV]:1 -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_DETECTED -TEST.VALUE:Bubble.handleBubbleNormalState.bubble:<> -TEST.VALUE:Switches.getSwitchStatus.return:STATE_CLOSED -TEST.END - --- Test Case: handleBubbleNormalState.005 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleNormalState -TEST.NEW -TEST.NAME:handleBubbleNormalState.005 -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> TRUE - (3) if (((BUBBLE_DETECTED) == getBubbleStatus(bubble) && (STATE_CLOSED) == getSwitchStatus(PUMP_TRACK_SWITCH)) && bubbleDetectionEnabled[ADV] != (0)) ==> FALSE - (4) if ((1) == bubblesSelfTestRequested[bubble]) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleNormalState.bubble ) in branches 1/4 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.STUB:Switches.getSwitchStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestRequested[ADV]:<> -TEST.VALUE:Bubble.<>.bubbleDetectionEnabled[ADV]:0 -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleNormalState.bubble:<> -TEST.VALUE:Switches.getSwitchStatus.return:STATE_OPEN -TEST.END - --- Subprogram: handleBubbleSelfTestState - --- Test Case: handleBubbleSelfTestState.001 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.001 -TEST.BASIS_PATH:1 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.002 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.002 -TEST.BASIS_PATH:2 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> FALSE - (6) if ((BUBBLE_NOT_DETECTED) == getBubbleStatus(bubble)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_PASSED -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.003 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.003 -TEST.BASIS_PATH:3 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> FALSE - (6) if ((BUBBLE_NOT_DETECTED) == getBubbleStatus(bubble)) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_PASSED -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.004 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.004 -TEST.BASIS_PATH:4 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> TRUE - (4) if ((BUBBLE_DETECTED) == getBubbleStatus(bubble)) ==> FALSE - (5) if ((1) == didTimeout(bubblesSelfTestStartTime[bubble], 500)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_IN_PROGRESS -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.005 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.005 -TEST.BASIS_PATH:5 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> TRUE - (4) if ((BUBBLE_DETECTED) == getBubbleStatus(bubble)) ==> FALSE - (5) if ((1) == didTimeout(bubblesSelfTestStartTime[bubble], 500)) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_IN_PROGRESS -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_NOT_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.006 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.006 -TEST.BASIS_PATH:6 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> FALSE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> TRUE - (4) if ((BUBBLE_DETECTED) == getBubbleStatus(bubble)) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_IN_PROGRESS -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - --- Test Case: handleBubbleSelfTestState.007 -TEST.UNIT:Bubble -TEST.SUBPROGRAM:handleBubbleSelfTestState -TEST.NEW -TEST.NAME:handleBubbleSelfTestState.007 -TEST.BASIS_PATH:7 of 7 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if (bubble < (NUM_OF_BUBBLES)) ==> TRUE - (2) if ((1) == noFPGABubbleDetected(bubble)) ==> TRUE - (3) if ((SELF_TEST_STATUS_IN_PROGRESS) == bubblesSelfTestStatus[bubble]) ==> FALSE - (6) if ((BUBBLE_NOT_DETECTED) == getBubbleStatus(bubble)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function noFPGABubbleDetected in branch 2 - Conflict: Cannot resolve multiple comparisons ( Bubble.handleBubbleSelfTestState.bubble ) in branches 1/3 -TEST.END_NOTES: -TEST.STUB:Bubble.getBubbleStatus -TEST.VALUE:Bubble.<>.bubblesSelfTestStatus[ADV]:SELF_TEST_STATUS_PASSED -TEST.VALUE:Bubble.getBubbleStatus.return:BUBBLE_DETECTED -TEST.VALUE:Bubble.handleBubbleSelfTestState.bubble:<> -TEST.END - -- Unit: DialInFlow --- Subprogram: checkDialInPumpDirection - --- Test Case: checkDialInPumpDirection.001 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.001 -TEST.BASIS_PATH:1 of 11 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_OFF_STATE -TEST.END - --- Test Case: checkDialInPumpDirection.002 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.002 -TEST.BASIS_PATH:2 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.003 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.003 -TEST.BASIS_PATH:3 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> TRUE - (10) if (++errorDialInPumpDirectionPersistTimerCtr >= DIP_DIRECTION_ERROR_PERSIST) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 - Conflict: Unable to control expression-to-expression comparison in branch 10 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.<>.dialInPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.004 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.004 -TEST.BASIS_PATH:4 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> TRUE - (10) if (++errorDialInPumpDirectionPersistTimerCtr >= DIP_DIRECTION_ERROR_PERSIST) ==> TRUE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 - Conflict: Unable to control expression-to-expression comparison in branch 10 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.<>.dialInPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.005 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.005 -TEST.BASIS_PATH:5 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> TRUE - (8) if (++errorDialInPumpDirectionPersistTimerCtr >= DIP_DIRECTION_ERROR_PERSIST) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Conflict: Unable to control expression-to-expression comparison in branch 8 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.<>.dialInPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.006 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.006 -TEST.BASIS_PATH:6 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> TRUE - (8) if (++errorDialInPumpDirectionPersistTimerCtr >= DIP_DIRECTION_ERROR_PERSIST) ==> TRUE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Conflict: Unable to control expression-to-expression comparison in branch 8 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.<>.dialInPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.007 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.007 -TEST.BASIS_PATH:7 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> TRUE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.008 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.008 -TEST.BASIS_PATH:8 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> TRUE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( DialInFlow.getMeasuredDialInPumpMCSpeed.return ) in branches 2/5 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.009 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.009 -TEST.BASIS_PATH:9 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> TRUE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:1 -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.010 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.010 -TEST.BASIS_PATH:10 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> TRUE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.<>.lastDialInPumpDirectionCount:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialInPumpDirection.011 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:checkDialInPumpDirection -TEST.NEW -TEST.NAME:checkDialInPumpDirection.011 -TEST.BASIS_PATH:11 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE) == dialInPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> TRUE - (3) if ((1) == minDirSpeed && lastDialInPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DIP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialInPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialInPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialInPumpDirectionSet != dipDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialInPumpDirectionSet != dipMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( DialInFlow.getMeasuredDialInPumpMCSpeed.return ) in branches 2/5 - Cannot set variable to unknown value in branch 7 - Cannot set dipDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dipMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialInFlow.getMeasuredDialInPumpSpeed -TEST.STUB:DialInFlow.getMeasuredDialInPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialInFlow.<>.dialInPumpState:DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialInFlow.getMeasuredDialInPumpSpeed.return:<> -TEST.VALUE:DialInFlow.getMeasuredDialInPumpMCSpeed.return:<> -TEST.END - -- Subprogram: execDialInFlowMonitor --- Test Case: execDialInFlowMonitor.001 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:execDialInFlowMonitor -TEST.NEW -TEST.NAME:execDialInFlowMonitor.001 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 2814 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:1 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:1 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == getDialysateFlowDataFreshFlag()) ==> FALSE - (2) if ((1) == isDGCommunicating() && isACPowerLost() != (1)) ==> FALSE - (4) if (opMode != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.VALUE:uut_prototype_stubs.getDialysateFlowDataFreshFlag.return:<> -TEST.VALUE:uut_prototype_stubs.isDGCommunicating.return:<> -TEST.END - --- Test Case: execDialInFlowMonitor.002 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:execDialInFlowMonitor -TEST.NEW -TEST.NAME:execDialInFlowMonitor.002 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 2834 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:1 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:2 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == getDialysateFlowDataFreshFlag()) ==> FALSE - (2) if ((1) == isDGCommunicating() && isACPowerLost() != (1)) ==> FALSE - (4) if (opMode != (MODE_INIT)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.getDialysateFlowDataFreshFlag.return:<> -TEST.VALUE:uut_prototype_stubs.isDGCommunicating.return:<> -TEST.END - --- Test Case: execDialInFlowMonitor.003 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:execDialInFlowMonitor -TEST.NEW -TEST.NAME:execDialInFlowMonitor.003 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 2856 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:<> - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == getDialysateFlowDataFreshFlag()) ==> FALSE - (2) if ((1) == isDGCommunicating() && isACPowerLost() != (1)) ==> TRUE - (3) if (++dialysateFlowDataFreshStatusCounter > DIP_DIALYSATE_FLOW_DATA_ALARM_THRESHOLD) ==> FALSE - (4) if (opMode != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 3 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.VALUE:uut_prototype_stubs.getDialysateFlowDataFreshFlag.return:<> -TEST.VALUE:uut_prototype_stubs.isDGCommunicating.return:1 -TEST.END - --- Test Case: execDialInFlowMonitor.004 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:execDialInFlowMonitor -TEST.NEW -TEST.NAME:execDialInFlowMonitor.004 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 2878 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:<> - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == getDialysateFlowDataFreshFlag()) ==> FALSE - (2) if ((1) == isDGCommunicating() && isACPowerLost() != (1)) ==> TRUE - (3) if (++dialysateFlowDataFreshStatusCounter > DIP_DIALYSATE_FLOW_DATA_ALARM_THRESHOLD) ==> TRUE - (4) if (opMode != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 3 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.VALUE:uut_prototype_stubs.getDialysateFlowDataFreshFlag.return:<> -TEST.VALUE:uut_prototype_stubs.isDGCommunicating.return:1 -TEST.END - --- Test Case: execDialInFlowMonitor.005 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:execDialInFlowMonitor -TEST.NEW -TEST.NAME:execDialInFlowMonitor.005 -TEST.BASIS_PATH:5 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == getDialysateFlowDataFreshFlag()) ==> TRUE - (4) if (opMode != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.VALUE:uut_prototype_stubs.getDialysateFlowDataFreshFlag.return:1 -TEST.END - -- Test Case: getFPGADialysateFlow TEST.UNIT:DialInFlow TEST.SUBPROGRAM:execDialInFlowMonitor @@ -3027,40 +97,6 @@ TEST.EXPECTED:DialInFlow.<>.flowReadingsCount:0 TEST.END --- Subprogram: initDialInFlow - --- Test Case: initDialInFlow.001 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:initDialInFlow -TEST.NEW -TEST.NAME:initDialInFlow.001 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:1 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (i < (1000 / (40 / 10)) / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: initDialInFlow.002 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:initDialInFlow -TEST.NEW -TEST.NAME:initDialInFlow.002 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (i < (1000 / (40 / 10)) / 10) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - -- Subprogram: updateDialInPumpSpeedAndDirectionFromHallSensors -- Test Case: getFPGADialInPumpHallSensorCount @@ -3079,949 +115,6 @@ TEST.EXPECTED:DialInFlow.<>.dipMotorSpeedCalcTimerCtr:0 TEST.END --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.001 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.001 -TEST.BASIS_PATH:1 of 6 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.002 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.002 -TEST.BASIS_PATH:2 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dipMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dipMotorHallSensorCount >= dipLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dipLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialInFlow.<>.dipMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.003 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.003 -TEST.BASIS_PATH:3 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dipMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dipMotorHallSensorCount >= dipLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dipLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialInFlow.<>.dipMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.004 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.004 -TEST.BASIS_PATH:4 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dipMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dipMotorHallSensorCount >= dipLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> TRUE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dipLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialInFlow.<>.dipMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.005 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.005 -TEST.BASIS_PATH:5 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dipMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dipMotorHallSensorCount >= dipLastMotorHallSensorCounts[nextIdx]) ==> TRUE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dipLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialInFlow.<>.dipMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialInPumpSpeedAndDirectionFromHallSensors.006 -TEST.UNIT:DialInFlow -TEST.SUBPROGRAM:updateDialInPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialInPumpSpeedAndDirectionFromHallSensors.006 -TEST.BASIS_PATH:6 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (++dipMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dipMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> TRUE - (3) if (dipMotorHallSensorCount >= dipLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialInFlow.<>.dipLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialInFlow.<>.dipMotorSpeedCalcIdx:<> -TEST.END - --- Unit: DialOutFlow - --- Subprogram: checkDialOutPumpDirection - --- Test Case: checkDialOutPumpDirection.001 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.001 -TEST.BASIS_PATH:1 of 11 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_OFF_STATE -TEST.END - --- Test Case: checkDialOutPumpDirection.002 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.002 -TEST.BASIS_PATH:2 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.003 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.003 -TEST.BASIS_PATH:3 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> TRUE - (10) if (++errorDialOutPumpDirectionPersistTimerCtr >= DOP_DIRECTION_ERROR_PERSIST) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 - Conflict: Unable to control expression-to-expression comparison in branch 10 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.<>.dialOutPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.004 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.004 -TEST.BASIS_PATH:4 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> TRUE - (10) if (++errorDialOutPumpDirectionPersistTimerCtr >= DOP_DIRECTION_ERROR_PERSIST) ==> TRUE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 - Conflict: Unable to control expression-to-expression comparison in branch 10 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.<>.dialOutPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.005 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.005 -TEST.BASIS_PATH:5 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> TRUE - (8) if (++errorDialOutPumpDirectionPersistTimerCtr >= DOP_DIRECTION_ERROR_PERSIST) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Conflict: Unable to control expression-to-expression comparison in branch 8 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.<>.dialOutPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.006 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.006 -TEST.BASIS_PATH:6 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> TRUE - (8) if (++errorDialOutPumpDirectionPersistTimerCtr >= DOP_DIRECTION_ERROR_PERSIST) ==> TRUE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Conflict: Unable to control expression-to-expression comparison in branch 8 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.<>.dialOutPumpDirectionSet:MOTOR_DIR_FORWARD -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.007 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.007 -TEST.BASIS_PATH:7 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> TRUE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.008 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.008 -TEST.BASIS_PATH:8 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> TRUE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( DialOutFlow.getMeasuredDialOutPumpMCSpeed.return ) in branches 2/5 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.009 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.009 -TEST.BASIS_PATH:9 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> TRUE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:1 -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.010 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.010 -TEST.BASIS_PATH:10 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> FALSE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> TRUE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.<>.lastDialOutPumpDirectionCount:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Test Case: checkDialOutPumpDirection.011 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:checkDialOutPumpDirection -TEST.NEW -TEST.NAME:checkDialOutPumpDirection.011 -TEST.BASIS_PATH:11 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE) == dialOutPumpState) ==> TRUE - (2) if (measMCSpeed >= (10.0F)) ==> TRUE - (3) if ((1) == minDirSpeed && lastDialOutPumpDirectionCount != dirErrorCnt) ==> FALSE - (4) if ((1) == isHallSensorFailed && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_DOP_COMMUTATION_ERROR)) ==> FALSE - (5) if (getMeasuredDialOutPumpMCSpeed() >= (0.0)) ==> FALSE - (6) if (getMeasuredDialOutPumpSpeed() >= (0.0)) ==> FALSE - (7) if (dialOutPumpDirectionSet != dopDir && (1) == minDirSpeed) ==> FALSE - (9) if (dialOutPumpDirectionSet != dopMCDir && (1) == minDirSpeed) ==> FALSE - Test Case Generation Notes: - Cannot set local variable minDirSpeed in branch 3 - Cannot set variable to unknown value in branch 3 - Cannot set local variable dirErrorCnt in branch 3 - Cannot set local variable isHallSensorFailed in branch 4 - Conflict: Cannot resolve multiple comparisons ( DialOutFlow.getMeasuredDialOutPumpMCSpeed.return ) in branches 2/5 - Cannot set variable to unknown value in branch 7 - Cannot set dopDir due to assignment - Cannot set local variable minDirSpeed in branch 7 - Cannot set variable to unknown value in branch 9 - Cannot set dopMCDir due to assignment - Cannot set local variable minDirSpeed in branch 9 -TEST.END_NOTES: -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpSpeed -TEST.STUB:DialOutFlow.getMeasuredDialOutPumpMCSpeed -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:DialOutFlow.<>.dialOutPumpState:DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpSpeed.return:<> -TEST.VALUE:DialOutFlow.getMeasuredDialOutPumpMCSpeed.return:<> -TEST.END - --- Subprogram: execDialOutFlowMonitor - --- Test Case: execDialOutFlowMonitor.001 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:execDialOutFlowMonitor -TEST.NEW -TEST.NAME:execDialOutFlowMonitor.001 -TEST.BASIS_PATH:1 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++flowFilterTimerCtr >= 100 / 10) ==> FALSE - (2) if (getCurrentOperationMode() != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.END - --- Test Case: execDialOutFlowMonitor.002 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:execDialOutFlowMonitor -TEST.NEW -TEST.NAME:execDialOutFlowMonitor.002 -TEST.BASIS_PATH:2 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++flowFilterTimerCtr >= 100 / 10) ==> FALSE - (2) if (getCurrentOperationMode() != (MODE_INIT)) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.END - --- Test Case: execDialOutFlowMonitor.003 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:execDialOutFlowMonitor -TEST.NEW -TEST.NAME:execDialOutFlowMonitor.003 -TEST.BASIS_PATH:3 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (++flowFilterTimerCtr >= 100 / 10) ==> TRUE - (2) if (getCurrentOperationMode() != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.END - --- Subprogram: initDialOutFlow - --- Test Case: initDialOutFlow.001 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:initDialOutFlow -TEST.NEW -TEST.NAME:initDialOutFlow.001 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:1 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (i < (1000 / (40 / 10)) / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: initDialOutFlow.002 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:initDialOutFlow -TEST.NEW -TEST.NAME:initDialOutFlow.002 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (i < (1000 / (40 / 10)) / 10) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Subprogram: updateDialOutPumpSpeedAndDirectionFromHallSensors - --- Test Case: getFPGADialOutPumpHallSensorCount -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:getFPGADialOutPumpHallSensorCount -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 156 TEST.VALUE:DialOutFlow.<>.dopMotorDirectionFromHallSensors:MOTOR_DIR_REVERSE - >>> >>> Unknown parameter/object name dopMotorDirectionFromHallSensors - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 162 TEST.EXPECTED:DialOutFlow.<>.dopMotorDirectionFromHallSensors:MOTOR_DIR_FORWARD - >>> >>> Unknown parameter/object name dopMotorDirectionFromHallSensors - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:DialOutFlow.<>.dialOutPumpSpeedRPM.data:0.0 -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[1]:980 -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:0 -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcTimerCtr:3 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.dialOutPumpHallSensorCount:1000 -TEST.EXPECTED:DialOutFlow.<>.dialOutPumpSpeedRPM.data:25.0 -TEST.EXPECTED:DialOutFlow.<>.dopLastMotorHallSensorCounts[1]:1000 -TEST.EXPECTED:DialOutFlow.<>.dopMotorSpeedCalcIdx:1 -TEST.EXPECTED:DialOutFlow.<>.dopMotorSpeedCalcTimerCtr:0 -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.001 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.001 -TEST.BASIS_PATH:1 of 6 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.002 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.002 -TEST.BASIS_PATH:2 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dopMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dopMotorHallSensorCount >= dopLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.003 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.003 -TEST.BASIS_PATH:3 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dopMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dopMotorHallSensorCount >= dopLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.004 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.004 -TEST.BASIS_PATH:4 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dopMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dopMotorHallSensorCount >= dopLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> TRUE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.005 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.005 -TEST.BASIS_PATH:5 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dopMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - (3) if (dopMotorHallSensorCount >= dopLastMotorHallSensorCounts[nextIdx]) ==> TRUE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: updateDialOutPumpSpeedAndDirectionFromHallSensors.006 -TEST.UNIT:DialOutFlow -TEST.SUBPROGRAM:updateDialOutPumpSpeedAndDirectionFromHallSensors -TEST.NEW -TEST.NAME:updateDialOutPumpSpeedAndDirectionFromHallSensors.006 -TEST.BASIS_PATH:6 of 6 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (++dopMotorSpeedCalcTimerCtr >= 40 / 10) ==> TRUE - (2) if (dopMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> TRUE - (3) if (dopMotorHallSensorCount >= dopLastMotorHallSensorCounts[nextIdx]) ==> FALSE - (4) if (0 == incDelta) ==> FALSE - (5) if (incDelta < decDelta) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable nextIdx in branch 3 - Cannot set local variable incDelta in branch 4 - Cannot set local variable incDelta in branch 5 - Cannot set local variable decDelta in branch 5 -TEST.END_NOTES: -TEST.VALUE:DialOutFlow.<>.dopLastMotorHallSensorCounts[0]:<> -TEST.VALUE:DialOutFlow.<>.dopMotorSpeedCalcIdx:<> -TEST.END - --- Unit: Fans - --- Subprogram: convertTogglePeriod2RPM - --- Test Case: convertTogglePeriod2RPM.001 -TEST.UNIT:Fans -TEST.SUBPROGRAM:convertTogglePeriod2RPM -TEST.NEW -TEST.NAME:convertTogglePeriod2RPM.001 -TEST.BASIS_PATH:1 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (fan < (NUM_OF_FANS_NAMES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: convertTogglePeriod2RPM.002 -TEST.UNIT:Fans -TEST.SUBPROGRAM:convertTogglePeriod2RPM -TEST.NEW -TEST.NAME:convertTogglePeriod2RPM.002 -TEST.BASIS_PATH:2 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (fan < (NUM_OF_FANS_NAMES)) ==> TRUE - (2) if ((0xffff) == togglePeriods[fan]) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set return value of function getFPGAInletFan1TogglePeriod in branch 1 - Cannot set fan due to assignment -TEST.END_NOTES: -TEST.END - --- Test Case: convertTogglePeriod2RPM.003 -TEST.UNIT:Fans -TEST.SUBPROGRAM:convertTogglePeriod2RPM -TEST.NEW -TEST.NAME:convertTogglePeriod2RPM.003 -TEST.BASIS_PATH:3 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) for (fan < (NUM_OF_FANS_NAMES)) ==> TRUE - (2) if ((0xffff) == togglePeriods[fan]) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set return value of function getFPGAInletFan1TogglePeriod in branch 1 - Cannot set fan due to assignment -TEST.END_NOTES: -TEST.END - --- Unit: FluidLeak - --- Subprogram: execFluidLeak - --- Test Case: execFluidLeak.001 -TEST.UNIT:FluidLeak -TEST.SUBPROGRAM:execFluidLeak -TEST.NEW -TEST.NAME:execFluidLeak.001 -TEST.BASIS_PATH:1 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (getCurrentOperationMode() != (MODE_INIT)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_INIT -TEST.END - --- Test Case: execFluidLeak.002 -TEST.UNIT:FluidLeak -TEST.SUBPROGRAM:execFluidLeak -TEST.NEW -TEST.NAME:execFluidLeak.002 -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (getCurrentOperationMode() != (MODE_INIT)) ==> TRUE - (2) if ((1) == noFluidLeakDetected) ==> FALSE - (3) if ((FLUID_LEAK_STATE_WET) == getFluidLeakState()) ==> FALSE - Test Case Generation Notes: - Cannot set local variable noFluidLeakDetected in branch 2 -TEST.END_NOTES: -TEST.STUB:FluidLeak.getFluidLeakState -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:FluidLeak.getFluidLeakState.return:FLUID_LEAK_STATE_DRY -TEST.END - --- Test Case: execFluidLeak.003 -TEST.UNIT:FluidLeak -TEST.SUBPROGRAM:execFluidLeak -TEST.NEW -TEST.NAME:execFluidLeak.003 -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (getCurrentOperationMode() != (MODE_INIT)) ==> TRUE - (2) if ((1) == noFluidLeakDetected) ==> FALSE - (3) if ((FLUID_LEAK_STATE_WET) == getFluidLeakState()) ==> TRUE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_FLUID_LEAK_DETECTED, 1)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable noFluidLeakDetected in branch 2 -TEST.END_NOTES: -TEST.STUB:FluidLeak.getFluidLeakState -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:FluidLeak.getFluidLeakState.return:FLUID_LEAK_STATE_WET -TEST.END - --- Test Case: execFluidLeak.004 -TEST.UNIT:FluidLeak -TEST.SUBPROGRAM:execFluidLeak -TEST.NEW -TEST.NAME:execFluidLeak.004 -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (getCurrentOperationMode() != (MODE_INIT)) ==> TRUE - (2) if ((1) == noFluidLeakDetected) ==> FALSE - (3) if ((FLUID_LEAK_STATE_WET) == getFluidLeakState()) ==> TRUE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_FLUID_LEAK_DETECTED, 1)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable noFluidLeakDetected in branch 2 -TEST.END_NOTES: -TEST.STUB:FluidLeak.getFluidLeakState -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.VALUE:FluidLeak.getFluidLeakState.return:FLUID_LEAK_STATE_WET -TEST.END - --- Test Case: execFluidLeak.005 -TEST.UNIT:FluidLeak -TEST.SUBPROGRAM:execFluidLeak -TEST.NEW -TEST.NAME:execFluidLeak.005 -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (getCurrentOperationMode() != (MODE_INIT)) ==> TRUE - (2) if ((1) == noFluidLeakDetected) ==> TRUE - (3) if ((FLUID_LEAK_STATE_WET) == getFluidLeakState()) ==> FALSE - Test Case Generation Notes: - Cannot set local variable noFluidLeakDetected in branch 2 -TEST.END_NOTES: -TEST.STUB:FluidLeak.getFluidLeakState -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:FluidLeak.getFluidLeakState.return:FLUID_LEAK_STATE_DRY -TEST.END - -- Unit: Interrupts -- Subprogram: dmaGroupANotification @@ -4033,9 +126,9 @@ TEST.NAME:Interrupts_dmaGroupANotification_signalFPGAReceiptCompleted TEST.STUB:Comm.clearSCI2DMAReceiveInterrupt TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:DMA_CH0 +TEST.VALUE:Interrupts.dmaGroupANotification.channel:MACRO=DMA_CH0 TEST.EXPECTED:Interrupts.dmaGroupANotification.inttype:BTC -TEST.EXPECTED:Interrupts.dmaGroupANotification.channel:DMA_CH0 +TEST.EXPECTED:Interrupts.dmaGroupANotification.channel:MACRO=DMA_CH0 TEST.END -- Test Case: Interrupts_dmaGroupANotification_signalFPGATransmitCompleted @@ -4045,108 +138,11 @@ TEST.NAME:Interrupts_dmaGroupANotification_signalFPGATransmitCompleted TEST.STUB:Comm.clearSCI2DMATransmitInterrupt TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:DMA_CH2 +TEST.VALUE:Interrupts.dmaGroupANotification.channel:MACRO=DMA_CH2 TEST.EXPECTED:Interrupts.dmaGroupANotification.inttype:BTC -TEST.EXPECTED:Interrupts.dmaGroupANotification.channel:DMA_CH2 +TEST.EXPECTED:Interrupts.dmaGroupANotification.channel:MACRO=DMA_CH2 TEST.END --- Test Case: dmaGroupANotification.001 -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:dmaGroupANotification.001 -TEST.BASIS_PATH:1 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (inttype == (BTC)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:FTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:<> -TEST.END - --- Test Case: dmaGroupANotification.002 -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:dmaGroupANotification.002 -TEST.BASIS_PATH:2 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (inttype == (BTC)) ==> TRUE - (4) case channel ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:1 -TEST.END - --- Test Case: dmaGroupANotification.003 -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:dmaGroupANotification.003 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:3 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (inttype == (BTC)) ==> TRUE - (2) case channel ==> DMA_CH0 - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:0 -TEST.END - --- Test Case: dmaGroupANotification.004 -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:dmaGroupANotification.004 -TEST.COMPOUND_ONLY -TEST.BASIS_PATH:4 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (inttype == (BTC)) ==> TRUE - (3) case channel ==> DMA_CH2 - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:2 -TEST.END - --- Test Case: signalFPGAReceiptCompleted -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:signalFPGAReceiptCompleted -TEST.COMPOUND_ONLY -TEST.VALUE:FPGA.<>.fpgaReceiptCounter:0 -TEST.VALUE:FPGA.<>.fpgaReadCommandInProgress:1 -TEST.VALUE:FPGA.<>.fpgaReadCommandResponseReceived:0 -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:0 -TEST.EXPECTED:FPGA.<>.fpgaReceiptCounter:1 -TEST.EXPECTED:FPGA.<>.fpgaReadCommandInProgress:0 -TEST.EXPECTED:FPGA.<>.fpgaReadCommandResponseReceived:1 -TEST.END - --- Test Case: signalFPGATransmitCompleted -TEST.UNIT:Interrupts -TEST.SUBPROGRAM:dmaGroupANotification -TEST.NEW -TEST.NAME:signalFPGATransmitCompleted -TEST.COMPOUND_ONLY -TEST.VALUE:FPGA.<>.fpgaTransmitCounter:0 -TEST.VALUE:Interrupts.dmaGroupANotification.inttype:BTC -TEST.VALUE:Interrupts.dmaGroupANotification.channel:2 -TEST.EXPECTED:FPGA.<>.fpgaTransmitCounter:1 -TEST.END - -- Unit: ModeInitPOST -- Subprogram: execInitAndPOSTMode @@ -4176,2697 +172,10 @@ TEST.EXPECTED:ModeInitPOST.<>.tempPOSTPassed:0 TEST.END --- Test Case: execInitAndPOSTMode.001 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.001 -TEST.BASIS_PATH:1 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == stop) ==> FALSE - (29) case postState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:NUM_OF_POST_STATES -TEST.END - --- Test Case: execInitAndPOSTMode.002 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.002 -TEST.BASIS_PATH:2 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == stop) ==> FALSE - (2) case postState ==> POST_STATE_START - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_START -TEST.END - --- Test Case: execInitAndPOSTMode.003 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.003 -TEST.BASIS_PATH:3 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == stop) ==> FALSE - (3) case postState ==> POST_STATE_FW_INTEGRITY - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FW_INTEGRITY -TEST.END - --- Test Case: execInitAndPOSTMode.004 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.004 -TEST.BASIS_PATH:4 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == stop) ==> FALSE - (4) case postState ==> POST_STATE_RTC - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_RTC -TEST.END - --- Test Case: execInitAndPOSTMode.005 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.005 -TEST.BASIS_PATH:5 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == stop) ==> FALSE - (5) case postState ==> POST_STATE_NVDATAMGMT - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_NVDATAMGMT -TEST.END - --- Test Case: execInitAndPOSTMode.006 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.006 -TEST.BASIS_PATH:6 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == stop) ==> FALSE - (6) case postState ==> POST_STATE_WATCHDOG - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_WATCHDOG -TEST.END - --- Test Case: execInitAndPOSTMode.007 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.007 -TEST.BASIS_PATH:7 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == stop) ==> FALSE - (7) case postState ==> POST_STATE_SAFETY_SHUTDOWN - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_SAFETY_SHUTDOWN -TEST.END - --- Test Case: execInitAndPOSTMode.008 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.008 -TEST.BASIS_PATH:8 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((1) == stop) ==> FALSE - (8) case postState ==> POST_STATE_BLOOD_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_BLOOD_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.009 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.009 -TEST.BASIS_PATH:9 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((1) == stop) ==> FALSE - (9) case postState ==> POST_STATE_DIALYSATE_INLET_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_DIALYSATE_INLET_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.010 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.010 -TEST.BASIS_PATH:10 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((1) == stop) ==> FALSE - (10) case postState ==> POST_STATE_DIALYSATE_OUTLET_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_DIALYSATE_OUTLET_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.011 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.011 -TEST.BASIS_PATH:11 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((1) == stop) ==> FALSE - (11) case postState ==> POST_STATE_BLOOD_LEAK - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_BLOOD_LEAK -TEST.END - --- Test Case: execInitAndPOSTMode.012 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.012 -TEST.BASIS_PATH:12 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (1) if ((1) == stop) ==> FALSE - (12) case postState ==> POST_STATE_VALVES - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_VALVES -TEST.END - --- Test Case: execInitAndPOSTMode.013 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.013 -TEST.BASIS_PATH:13 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (1) if ((1) == stop) ==> FALSE - (13) case postState ==> POST_STATE_SYRINGE_PUMP - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_SYRINGE_PUMP -TEST.END - --- Test Case: execInitAndPOSTMode.014 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.014 -TEST.BASIS_PATH:14 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 14 - (1) if ((1) == stop) ==> FALSE - (14) case postState ==> POST_STATE_PRES_OCCL - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_PRES_OCCL -TEST.END - --- Test Case: execInitAndPOSTMode.015 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.015 -TEST.BASIS_PATH:15 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 15 - (1) if ((1) == stop) ==> FALSE - (15) case postState ==> POST_STATE_ALARM_AUDIO - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ALARM_AUDIO -TEST.END - --- Test Case: execInitAndPOSTMode.016 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.016 -TEST.BASIS_PATH:16 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 16 - (1) if ((1) == stop) ==> FALSE - (16) case postState ==> POST_STATE_ALARM_LAMP - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ALARM_LAMP -TEST.END - --- Test Case: execInitAndPOSTMode.017 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.017 -TEST.BASIS_PATH:17 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 17 - (1) if ((1) == stop) ==> FALSE - (17) case postState ==> POST_STATE_ACCELEROMETER - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ACCELEROMETER -TEST.END - --- Test Case: execInitAndPOSTMode.018 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.018 -TEST.BASIS_PATH:18 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 18 - (1) if ((1) == stop) ==> FALSE - (18) case postState ==> POST_STATE_TEMPERATURES - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_TEMPERATURES -TEST.END - --- Test Case: execInitAndPOSTMode.019 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.019 -TEST.BASIS_PATH:19 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 19 - (1) if ((1) == stop) ==> FALSE - (19) case postState ==> POST_STATE_FANS - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FANS -TEST.END - --- Test Case: execInitAndPOSTMode.020 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.020 -TEST.BASIS_PATH:20 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 20 - (1) if ((1) == stop) ==> FALSE - (20) case postState ==> POST_STATE_STUCK_BUTTON - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_STUCK_BUTTON -TEST.END - --- Test Case: execInitAndPOSTMode.021 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.021 -TEST.BASIS_PATH:21 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 21 - (1) if ((1) == stop) ==> FALSE - (21) case postState ==> POST_STATE_UI_POST - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_UI_POST -TEST.END - --- Test Case: execInitAndPOSTMode.022 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.022 -TEST.BASIS_PATH:22 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 22 - (1) if ((1) == stop) ==> FALSE - (22) case postState ==> POST_STATE_FW_COMPATIBILITY - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FW_COMPATIBILITY -TEST.END - --- Test Case: execInitAndPOSTMode.023 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.023 -TEST.BASIS_PATH:23 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 23 - (1) if ((1) == stop) ==> FALSE - (23) case postState ==> POST_STATE_FPGA - (24) if ((1) == tempPOSTPassed) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FPGA -TEST.VALUE:ModeInitPOST.<>.tempPOSTPassed:<> -TEST.END - --- Test Case: execInitAndPOSTMode.024 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.024 -TEST.BASIS_PATH:24 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 24 - (1) if ((1) == stop) ==> FALSE - (23) case postState ==> POST_STATE_FPGA - (24) if ((1) == tempPOSTPassed) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FPGA -TEST.VALUE:ModeInitPOST.<>.tempPOSTPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.025 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.025 -TEST.BASIS_PATH:25 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 25 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> FALSE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.026 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.026 -TEST.BASIS_PATH:26 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 26 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> FALSE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.027 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.027 -TEST.BASIS_PATH:27 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 27 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> TRUE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:0 -TEST.END - --- Test Case: execInitAndPOSTMode.028 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.028 -TEST.BASIS_PATH:28 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 28 - (1) if ((1) == stop) ==> FALSE - (28) case postState ==> POST_STATE_FAILED - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FAILED -TEST.END - --- Test Case: execInitAndPOSTMode.029 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.029 -TEST.BASIS_PATH:29 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 29 - (1) if ((1) == stop) ==> TRUE - (29) case postState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:1 -TEST.VALUE:ModeInitPOST.<>.postState:NUM_OF_POST_STATES -TEST.END - --- Unit: PresOccl - --- Subprogram: checkOcclusions - --- Test Case: checkOcclusions.001 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.001 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 20 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:1 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.002 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.002 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 50 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:2 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> TRUE - (13) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_LINE_OCCLUSION, 1)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.003 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.003 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 80 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:3 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> TRUE - (13) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_LINE_OCCLUSION, 1)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 - Conflict: Trying to set variable uut_prototype_stubs.isPersistentAlarmTriggered.return 'equal to' and 'not equal to' same value in branches 4/13 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.004 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.004 -TEST.BASIS_PATH:4 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> TRUE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Cannot resolve multiple comparisons ( PresOccl.getMeasuredBloodPumpOcclusion.return ) in branches 1/11 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:2000 -TEST.END - --- Test Case: checkOcclusions.005 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.005 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 148 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:5 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (9) if ((1) == isBloodPumpRunning()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/8 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.006 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.006 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 184 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:6 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (9) if ((1) == isBloodPumpRunning()) ==> TRUE - (10) if (bpOccl > (5500) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/8 - Conflict: Cannot resolve multiple comparisons ( PresOccl.getMeasuredBloodPumpOcclusion.return ) in branches 1/10 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:1 -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.007 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.007 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 221 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:7 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (9) if ((1) == isBloodPumpRunning()) ==> TRUE - (10) if (bpOccl > (5500) + bloodPumpOcclusionAfterCartridgeInstall) ==> TRUE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/8 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:1 -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.008 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.008 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 259 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:8 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> TRUE - (6) if (((1) == isBloodPumpRunning() && getPreTreatmentSubState() > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) && getDrySelfTestsState() > (DRY_SELF_TESTS_START_STATE)) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/5 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:uut_prototype_stubs.getPreTreatmentSubState.return:<> -TEST.VALUE:uut_prototype_stubs.getDrySelfTestsState.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.009 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.009 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 296 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:9 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> TRUE - (6) if (((1) == isBloodPumpRunning() && getPreTreatmentSubState() > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) && getDrySelfTestsState() > (DRY_SELF_TESTS_START_STATE)) ==> TRUE - (7) if (bpOccl > (5500) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/5 - Conflict: Cannot resolve multiple comparisons ( PresOccl.getMeasuredBloodPumpOcclusion.return ) in branches 1/7 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:uut_prototype_stubs.getPreTreatmentSubState.return:<> -TEST.VALUE:uut_prototype_stubs.getDrySelfTestsState.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:1 -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.010 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.010 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 334 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:10 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> TRUE - (6) if (((1) == isBloodPumpRunning() && getPreTreatmentSubState() > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) && getDrySelfTestsState() > (DRY_SELF_TESTS_START_STATE)) ==> TRUE - (7) if (bpOccl > (5500) + bloodPumpOcclusionAfterCartridgeInstall) ==> TRUE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/5 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:BloodFlow.isBloodPumpRunning -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:uut_prototype_stubs.getPreTreatmentSubState.return:<> -TEST.VALUE:uut_prototype_stubs.getDrySelfTestsState.return:<> -TEST.VALUE:BloodFlow.isBloodPumpRunning.return:1 -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.011 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.011 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 366 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:11 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> TRUE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.012 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.012 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 397 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:12 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> TRUE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 3/5 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_PRET -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.013 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.013 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 429 TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 2000 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:13 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> FALSE - (2) if ((MODE_TREA) == hdMode) ==> TRUE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getCurrentOperationMode.return 'equal to' and 'not equal to' same value in branches 2/8 - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:<> -TEST.END - --- Test Case: checkOcclusions.014 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:checkOcclusions -TEST.NEW -TEST.NAME:checkOcclusions.014 -TEST.BASIS_PATH:14 of 14 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 14 - (1) if (bpOccl < (2000) || bpOccl > (32766)) ==> TRUE - (2) if ((MODE_TREA) == hdMode) ==> FALSE - (3) if ((MODE_PRET) == hdMode && hdSubMode > (HD_PRE_TREATMENT_CART_INSTALL_STATE)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_BP_OCCLUSION_OUT_OF_RANGE, outOfRange)) ==> FALSE - (5) if ((MODE_PRET) == getCurrentOperationMode()) ==> FALSE - (8) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - (11) if (bpOccl <= (5000) + bloodPumpOcclusionAfterCartridgeInstall) ==> FALSE - (12) if (((1) == txMode || (1) == ptxMode) && venPres > getS32TreatmentParamUpperRangeLimit(TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT) + (50.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable txMode in branch 12 - Cannot set local variable ptxMode in branch 12 -TEST.END_NOTES: -TEST.STUB:PresOccl.getMeasuredBloodPumpOcclusion -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentSubMode.return:<> -TEST.VALUE:PresOccl.getMeasuredVenousPressure.return:<> -TEST.VALUE:PresOccl.getMeasuredBloodPumpOcclusion.return:1999 -TEST.END - --- Subprogram: convertInlinePressures - --- Test Case: convertInlinePressures.001 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:convertInlinePressures -TEST.NEW -TEST.NAME:convertInlinePressures.001 -TEST.BASIS_PATH:1 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (0 == artPresStatus) ==> FALSE - (2) if (0 == venPresStatus) ==> FALSE - Test Case Generation Notes: - Cannot set local variable artPresStatus in branch 1 - Cannot set local variable venPresStatus in branch 2 -TEST.END_NOTES: -TEST.END - --- Test Case: convertInlinePressures.002 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:convertInlinePressures -TEST.NEW -TEST.NAME:convertInlinePressures.002 -TEST.BASIS_PATH:2 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (0 == artPresStatus) ==> FALSE - (2) if (0 == venPresStatus) ==> TRUE - Test Case Generation Notes: - Cannot set local variable artPresStatus in branch 1 - Cannot set local variable venPresStatus in branch 2 -TEST.END_NOTES: -TEST.END - --- Test Case: convertInlinePressures.003 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:convertInlinePressures -TEST.NEW -TEST.NAME:convertInlinePressures.003 -TEST.BASIS_PATH:3 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (0 == artPresStatus) ==> TRUE - (2) if (0 == venPresStatus) ==> FALSE - Test Case Generation Notes: - Cannot set local variable artPresStatus in branch 1 - Cannot set local variable venPresStatus in branch 2 -TEST.END_NOTES: -TEST.END - --- Subprogram: convertOcclusionPressures - --- Test Case: convertOcclusionPressures.001 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:convertOcclusionPressures -TEST.NEW -TEST.NAME:convertOcclusionPressures.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Subprogram: execPresOccl - --- Test Case: execPresOccl_GetPressures -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:execPresOccl -TEST.NEW -TEST.NAME:execPresOccl_GetPressures -TEST.COMPOUND_ONLY -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 228 TEST.VALUE:PresOccl.<>.dialInPumpOcclusion.data:0 - >>> >>> Unknown parameter/object name dialInPumpOcclusion - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 229 TEST.VALUE:PresOccl.<>.dialOutPumpOcclusion.data:0 - >>> >>> Unknown parameter/object name dialOutPumpOcclusion - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 231 TEST.VALUE:FPGA.<>.fpgaSensorReadings.dialysateInOcclusionData:300 - >>> >>> Expected a field name from the record type FPGA_SENSORS_T - >>> >>> Read: dialysateInOcclusionData - >>> (E) @LINE: 232 TEST.VALUE:FPGA.<>.fpgaSensorReadings.dialysateOutOcclusionData:400 - >>> >>> Expected a field name from the record type FPGA_SENSORS_T - >>> >>> Read: dialysateOutOcclusionData - >>> (E) @LINE: 239 TEST.EXPECTED:PresOccl.<>.dialInPumpOcclusion.data:300 - >>> >>> Unknown parameter/object name dialInPumpOcclusion - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 240 TEST.EXPECTED:PresOccl.<>.dialOutPumpOcclusion.data:400 - >>> >>> Unknown parameter/object name dialOutPumpOcclusion - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 242 TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.dialysateInOcclusionData:300 - >>> >>> Expected a field name from the record type FPGA_SENSORS_T - >>> >>> Read: dialysateInOcclusionData - >>> (E) @LINE: 243 TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.dialysateOutOcclusionData:400 - >>> >>> Expected a field name from the record type FPGA_SENSORS_T - >>> >>> Read: dialysateOutOcclusionData -TEST.END_IMPORT_FAILURES: -TEST.VALUE:PresOccl.<>.presOcclState:PRESSURE_CONTINUOUS_READ_STATE -TEST.VALUE:PresOccl.<>.arterialPressure.data:0.0 -TEST.VALUE:PresOccl.<>.venousPressure.data:0.0 -TEST.VALUE:PresOccl.<>.bloodPumpOcclusion.data:0 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.bloodOcclusionData:200 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.adc1Channel0:0x801000 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.venousPressure:9000 -TEST.EXPECTED:PresOccl.<>.presOcclState:PRESSURE_CONTINUOUS_READ_STATE -TEST.EXPECTED:PresOccl.<>.arterialPressure.data:97.6562 -TEST.EXPECTED:PresOccl.<>.venousPressure.data:191.401 -TEST.EXPECTED:PresOccl.<>.bloodPumpOcclusion.data:200 -TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.bloodOcclusionData:200 -TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.adc1Channel0:0x801000 -TEST.EXPECTED:FPGA.<>.fpgaSensorReadings.venousPressure:9000 -TEST.END - --- Subprogram: initPresOccl - --- Test Case: initPresOccl.001 -TEST.UNIT:PresOccl -TEST.SUBPROGRAM:initPresOccl -TEST.NEW -TEST.NAME:initPresOccl.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Unit: SafetyShutdown - --- Subprogram: execSafetyShutdownTest - --- Test Case: execSafetyShutdownTest.001 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.001 -TEST.BASIS_PATH:1 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (10) case safetyShutdownSelfTestState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:NUM_OF_SAFETY_SHUTDOWN_SELF_TEST_STATES -TEST.END - --- Test Case: execSafetyShutdownTest.002 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.002 -TEST.BASIS_PATH:2 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_START - (2) if (v24 < (22.60000038F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_START -TEST.END - --- Test Case: execSafetyShutdownTest.003 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.003 -TEST.BASIS_PATH:3 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_START - (2) if (v24 < (22.60000038F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_START -TEST.END - --- Test Case: execSafetyShutdownTest.004 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.004 -TEST.BASIS_PATH:4 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (3) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS - (4) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS -TEST.END - --- Test Case: execSafetyShutdownTest.005 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.005 -TEST.BASIS_PATH:5 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (3) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS - (4) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> TRUE - (5) if (v24 > (5.0F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS -TEST.END - --- Test Case: execSafetyShutdownTest.006 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.006 -TEST.BASIS_PATH:6 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (3) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS - (4) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> TRUE - (5) if (v24 > (5.0F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_IN_PROGRESS -TEST.END - --- Test Case: execSafetyShutdownTest.007 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.007 -TEST.BASIS_PATH:7 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (6) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER - (7) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execSafetyShutdownTest.008 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.008 -TEST.BASIS_PATH:8 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (6) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER - (7) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> TRUE - (8) if (v24 < (22.60000038F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execSafetyShutdownTest.009 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.009 -TEST.BASIS_PATH:9 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (6) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER - (7) if ((1) == didTimeout(safetyShutdownSelfTestTimerCount, 500)) ==> TRUE - (8) if (v24 < (22.60000038F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execSafetyShutdownTest.010 -TEST.UNIT:SafetyShutdown -TEST.SUBPROGRAM:execSafetyShutdownTest -TEST.NEW -TEST.NAME:execSafetyShutdownTest.010 -TEST.BASIS_PATH:10 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (9) case safetyShutdownSelfTestState ==> SAFETY_SHUTDOWN_SELF_TEST_STATE_COMPLETE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SafetyShutdown.<>.safetyShutdownSelfTestState:SAFETY_SHUTDOWN_SELF_TEST_STATE_COMPLETE -TEST.END - --- Unit: Switches - --- Subprogram: execSwitches - --- Test Case: execSwitches.001 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.001 -TEST.BASIS_PATH:1 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: execSwitches.002 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.002 -TEST.BASIS_PATH:2 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.END - --- Test Case: execSwitches.003 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.003 -TEST.BASIS_PATH:3 of 10 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> TRUE - (7) if ((0) == (switchesStatus[i]).debounceStartTime) ==> FALSE - (8) if ((1) == didTimeout((switchesStatus[i]).debounceStartTime, 1000 / 4)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:Switches.<>.switchesStatus[FRONT_DOOR].debounceStartTime:1 -TEST.END - --- Test Case: execSwitches.004 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.004 -TEST.BASIS_PATH:4 of 10 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> TRUE - (7) if ((0) == (switchesStatus[i]).debounceStartTime) ==> FALSE - (8) if ((1) == didTimeout((switchesStatus[i]).debounceStartTime, 1000 / 4)) ==> TRUE - (9) if ((FRONT_DOOR) == i) ==> FALSE - (10) if ((PUMP_TRACK_SWITCH) == i) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:Switches.<>.switchesStatus[FRONT_DOOR].debounceStartTime:1 -TEST.END - --- Test Case: execSwitches.005 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.005 -TEST.BASIS_PATH:5 of 10 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> TRUE - (7) if ((0) == (switchesStatus[i]).debounceStartTime) ==> FALSE - (8) if ((1) == didTimeout((switchesStatus[i]).debounceStartTime, 1000 / 4)) ==> TRUE - (9) if ((FRONT_DOOR) == i) ==> FALSE - (10) if ((PUMP_TRACK_SWITCH) == i) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:Switches.<>.switchesStatus[FRONT_DOOR].debounceStartTime:1 -TEST.END - --- Test Case: execSwitches.006 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.006 -TEST.BASIS_PATH:6 of 10 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> TRUE - (7) if ((0) == (switchesStatus[i]).debounceStartTime) ==> FALSE - (8) if ((1) == didTimeout((switchesStatus[i]).debounceStartTime, 1000 / 4)) ==> TRUE - (9) if ((FRONT_DOOR) == i) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:Switches.<>.switchesStatus[FRONT_DOOR].debounceStartTime:1 -TEST.END - --- Test Case: execSwitches.007 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.007 -TEST.BASIS_PATH:7 of 10 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> TRUE - (7) if ((0) == (switchesStatus[i]).debounceStartTime) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.VALUE:Switches.<>.switchesStatus[FRONT_DOOR].debounceStartTime:0 -TEST.END - --- Test Case: execSwitches.008 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.008 -TEST.BASIS_PATH:8 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (4) case (i) ==> PUMP_TRACK_SWITCH - (5) if (0x20 == getFPGAPumpTrackSwitchStatus()) ==> TRUE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAPumpTrackSwitchStatus in branch 5 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.END - --- Test Case: execSwitches.009 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.009 -TEST.BASIS_PATH:9 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (2) case (i) ==> FRONT_DOOR - (3) if (0x10 == getFPGAFrontDoorStatus()) ==> FALSE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAFrontDoorStatus in branch 3 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.END - --- Test Case: execSwitches.010 -TEST.UNIT:Switches -TEST.SUBPROGRAM:execSwitches -TEST.NEW -TEST.NAME:execSwitches.010 -TEST.BASIS_PATH:10 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) for (i < (NUM_OF_DOORS_AND_SWITCHES)) ==> TRUE - (2) case (i) ==> FRONT_DOOR - (3) if (0x10 == getFPGAFrontDoorStatus()) ==> TRUE - (6) if (currentSwitchStatus != ((switchesStatus[i]).status).data) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set i due to assignment - Cannot set return value of function getFPGAFrontDoorStatus in branch 3 - Cannot set currentSwitchStatus due to assignment -TEST.END_NOTES: -TEST.END - --- Unit: SyringePump - --- Subprogram: execSyringePumpMonitor - --- Test Case: execSyringePumpMonitor.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.001 -TEST.BASIS_PATH:1 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.002 -TEST.BASIS_PATH:2 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> TRUE - (12) if (getSyringePumpStatus() != 0) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpStatus -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:0 -TEST.VALUE:SyringePump.getSyringePumpStatus.return:0 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.003 -TEST.BASIS_PATH:3 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> TRUE - (12) if (getSyringePumpStatus() != 0) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpStatus -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:0 -TEST.VALUE:SyringePump.getSyringePumpStatus.return:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.004 -TEST.BASIS_PATH:4 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> TRUE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.005 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.005 -TEST.BASIS_PATH:5 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> TRUE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.006 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.006 -TEST.BASIS_PATH:6 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> TRUE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:128 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.007 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.007 -TEST.BASIS_PATH:7 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> TRUE - (4) if (prevSyringeDetected != (1) && (1) == isSyringeDetected() || requireSyringeDetection != (1)) ==> FALSE - (5) if ((0) == isSyringeDetected() && (1) == requireSyringeDetection) ==> FALSE - (6) if ((1) == prevSyringeDetected && isSyringeDetected() != (1)) ==> FALSE - (7) if ((1) == isSyringeDetected() && (1) == isAlarmActive(ALARM_ID_HD_SYRINGE_DETECTED)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable SyringePump.<>.requireSyringeDetection 'equal to' and 'not equal to' same value in branches 4/5 - Conflict: Multiple equality operators with different values (SyringePump.<>.prevSyringeDetected) in branches 2/4 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/5 - Conflict: Trying to set variable SyringePump.<>.prevSyringeDetected 'equal to' and 'not equal to' same value in branches 2/6 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/7 - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.STUB:AlarmMgmt.isAlarmActive -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.requireSyringeDetection:1 -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.VALUE:AlarmMgmt.isAlarmActive.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.008 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.008 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 265 TEST.VALUE:SyringePump.isSyringeDetected.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 1 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:8 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> TRUE - (4) if (prevSyringeDetected != (1) && (1) == isSyringeDetected() || requireSyringeDetection != (1)) ==> FALSE - (5) if ((0) == isSyringeDetected() && (1) == requireSyringeDetection) ==> FALSE - (6) if ((1) == prevSyringeDetected && isSyringeDetected() != (1)) ==> FALSE - (7) if ((1) == isSyringeDetected() && (1) == isAlarmActive(ALARM_ID_HD_SYRINGE_DETECTED)) ==> TRUE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable SyringePump.<>.requireSyringeDetection 'equal to' and 'not equal to' same value in branches 4/5 - Conflict: Multiple equality operators with different values (SyringePump.<>.prevSyringeDetected) in branches 2/4 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/5 - Conflict: Trying to set variable SyringePump.<>.prevSyringeDetected 'equal to' and 'not equal to' same value in branches 2/6 - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.STUB:AlarmMgmt.isAlarmActive -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.requireSyringeDetection:1 -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.VALUE:AlarmMgmt.isAlarmActive.return:1 -TEST.END - --- Test Case: execSyringePumpMonitor.009 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.009 -TEST.BASIS_PATH:9 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> TRUE - (4) if (prevSyringeDetected != (1) && (1) == isSyringeDetected() || requireSyringeDetection != (1)) ==> FALSE - (5) if ((0) == isSyringeDetected() && (1) == requireSyringeDetection) ==> FALSE - (6) if ((1) == prevSyringeDetected && isSyringeDetected() != (1)) ==> TRUE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable SyringePump.<>.requireSyringeDetection 'equal to' and 'not equal to' same value in branches 4/5 - Conflict: Multiple equality operators with different values (SyringePump.<>.prevSyringeDetected) in branches 2/4 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/5 - Conflict: Multiple equality operators with different values (SyringePump.<>.prevSyringeDetected) in branches 2/6 - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.requireSyringeDetection:1 -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.010 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.010 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 357 TEST.VALUE:SyringePump.isSyringeDetected.return:<> - >>> >>> Warning: Value already set - >>> >>> Previous value 0 ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:10 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> TRUE - (4) if (prevSyringeDetected != (1) && (1) == isSyringeDetected() || requireSyringeDetection != (1)) ==> FALSE - (5) if ((0) == isSyringeDetected() && (1) == requireSyringeDetection) ==> TRUE - (6) if ((1) == prevSyringeDetected && isSyringeDetected() != (1)) ==> FALSE - (7) if ((1) == isSyringeDetected() && (1) == isAlarmActive(ALARM_ID_HD_SYRINGE_DETECTED)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.isSyringeDetected.return) in branches 5/6 - Conflict: Multiple equality operators with different values (SyringePump.<>.prevSyringeDetected) in branches 2/4 - Conflict: Trying to set variable SyringePump.<>.prevSyringeDetected 'equal to' and 'not equal to' same value in branches 2/6 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/7 - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.STUB:AlarmMgmt.isAlarmActive -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.requireSyringeDetection:1 -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.VALUE:AlarmMgmt.isAlarmActive.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.011 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.011 -TEST.BASIS_PATH:11 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> TRUE - (4) if (prevSyringeDetected != (1) && (1) == isSyringeDetected() || requireSyringeDetection != (1)) ==> TRUE - (6) if ((1) == prevSyringeDetected && isSyringeDetected() != (1)) ==> FALSE - (7) if ((1) == isSyringeDetected() && (1) == isAlarmActive(ALARM_ID_HD_SYRINGE_DETECTED)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable SyringePump.<>.prevSyringeDetected 'equal to' and 'not equal to' same value in branches 2/4 - Conflict: Trying to set variable SyringePump.<>.prevSyringeDetected 'equal to' and 'not equal to' same value in branches 2/6 - Conflict: Trying to set variable SyringePump.isSyringeDetected.return 'equal to' and 'not equal to' same value in branches 2/7 - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.STUB:AlarmMgmt.isAlarmActive -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.requireSyringeDetection:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.VALUE:AlarmMgmt.isAlarmActive.return:<> -TEST.END - --- Test Case: execSyringePumpMonitor.012 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.012 -TEST.BASIS_PATH:12 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> FALSE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> TRUE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:1 -TEST.END - --- Test Case: execSyringePumpMonitor.013 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePumpMonitor -TEST.NEW -TEST.NAME:execSyringePumpMonitor.013 -TEST.BASIS_PATH:13 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (1) if ((1) == isNewCalibrationRecordAvailable()) ==> TRUE - (2) if (prevSyringeDetected != isSyringeDetected()) ==> FALSE - (3) if (bolusVol > (9.999999939e-09F) || hepRate > (9.999999939e-09F)) ==> FALSE - (8) if ((getSyringePumpEncoderStatus() & 0x80) != 0) ==> FALSE - (9) if (getSyringePumpPosition() - syringePumpLastPosition >= 0) ==> FALSE - (10) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_RUNNING_WHILE_BP_OFF_ERROR, runWhileOff)) ==> FALSE - (11) if ((0) == syringePumpDACVrefWriteInProgress && getCurrentOperationMode() > (MODE_INIT)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpEncoderStatus -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:uut_prototype_stubs.isNewCalibrationRecordAvailable.return:1 -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.VALUE:SyringePump.<>.prevSyringeDetected:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefWriteInProgress:1 -TEST.VALUE:SyringePump.getSyringePumpEncoderStatus.return:0 -TEST.VALUE:SyringePump.isSyringeDetected.return:<> -TEST.END - --- Subprogram: handleSyringePumpCalibrateForceSensorState - --- Test Case: handleSyringePumpCalibrateForceSensorState.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:handleSyringePumpCalibrateForceSensorState.001 -TEST.BASIS_PATH:1 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((adcDACStatus & 0x40) != 0) ==> FALSE - (3) if ((adcDACStatus & 0x80) != 0) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:0 -TEST.END - --- Test Case: handleSyringePumpCalibrateForceSensorState.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:handleSyringePumpCalibrateForceSensorState.002 -TEST.BASIS_PATH:2 of 4 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((adcDACStatus & 0x40) != 0) ==> FALSE - (3) if ((adcDACStatus & 0x80) != 0) ==> TRUE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.getSyringePumpADCandDACStatus.return) in branches 1/3 -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:0 -TEST.END - --- Test Case: handleSyringePumpCalibrateForceSensorState.003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:handleSyringePumpCalibrateForceSensorState.003 -TEST.BASIS_PATH:3 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((adcDACStatus & 0x40) != 0) ==> TRUE - (2) if (syringePumpDACRetryCount > (5)) ==> FALSE - Test Case Generation Notes: - Cannot set syringePumpDACRetryCount due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:64 -TEST.END - --- Test Case: handleSyringePumpCalibrateForceSensorState.004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:handleSyringePumpCalibrateForceSensorState.004 -TEST.BASIS_PATH:4 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((adcDACStatus & 0x40) != 0) ==> TRUE - (2) if (syringePumpDACRetryCount > (5)) ==> TRUE - Test Case Generation Notes: - Cannot set syringePumpDACRetryCount due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:64 -TEST.END - --- Subprogram: handleSyringePumpInitState - --- Test Case: handleSyringePumpInitState.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpInitState -TEST.NEW -TEST.NAME:handleSyringePumpInitState.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Subprogram: handleSyringePumpOffState - --- Test Case: handleSyringePumpOffState.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.001 -TEST.BASIS_PATH:1 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> FALSE - (8) if ((1) == syringePumpDACVrefSetRequested || syringePumpDACRetryCount > (0) && syringePumpDACRetryTimer > 200 / 10) ==> FALSE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable result in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefSetRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryCount:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryTimer:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.002 -TEST.BASIS_PATH:2 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> FALSE - (8) if ((1) == syringePumpDACVrefSetRequested || syringePumpDACRetryCount > (0) && syringePumpDACRetryTimer > 200 / 10) ==> FALSE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> TRUE - (10) if ((SYRINGE_PUMP_RETRACT_STATE) == result) ==> FALSE - Test Case Generation Notes: - Cannot set local variable result in branch 9 - Cannot set local variable result in branch 10 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefSetRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryCount:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryTimer:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.003 -TEST.BASIS_PATH:3 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> FALSE - (8) if ((1) == syringePumpDACVrefSetRequested || syringePumpDACRetryCount > (0) && syringePumpDACRetryTimer > 200 / 10) ==> FALSE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> TRUE - (10) if ((SYRINGE_PUMP_RETRACT_STATE) == result) ==> TRUE - Test Case Generation Notes: - Cannot set local variable result in branch 9 - Cannot set local variable result in branch 10 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefSetRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryCount:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryTimer:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.004 -TEST.BASIS_PATH:4 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> FALSE - (8) if ((1) == syringePumpDACVrefSetRequested || syringePumpDACRetryCount > (0) && syringePumpDACRetryTimer > 200 / 10) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefSetRequested:1 -TEST.VALUE:SyringePump.<>.syringePumpDACRetryCount:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryTimer:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.005 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.005 -TEST.BASIS_PATH:5 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.006 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.006 -TEST.BASIS_PATH:6 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.007 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.007 -TEST.BASIS_PATH:7 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.008 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.008 -TEST.BASIS_PATH:8 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.009 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.009 -TEST.BASIS_PATH:9 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.010 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.010 -TEST.BASIS_PATH:10 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> FALSE - (2) if ((1) == syringePumpRetractRequested) ==> TRUE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set result due to assignment -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:<> -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.END - --- Test Case: handleSyringePumpOffState.011 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpOffState -TEST.NEW -TEST.NAME:handleSyringePumpOffState.011 -TEST.BASIS_PATH:11 of 11 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if (syringePumpLastPosition != getSyringePumpPosition() && (1) == incTimeWindowedCount(TIME_WINDOWED_COUNT_SYRINGE_PUMP_OFF_ERROR)) ==> TRUE - (2) if ((1) == syringePumpRetractRequested) ==> FALSE - (3) if ((1) == syringePumpPreloadRequested) ==> FALSE - (4) if ((1) == syringePumpSeekRequested) ==> FALSE - (5) if ((1) == syringePumpPrimeRequested) ==> FALSE - (6) if ((1) == syringePumpBolusRequested) ==> FALSE - (7) if ((1) == syringePumpContinuousRequested) ==> FALSE - (8) if ((1) == syringePumpDACVrefSetRequested || syringePumpDACRetryCount > (0) && syringePumpDACRetryTimer > 200 / 10) ==> FALSE - (9) if (result != (SYRINGE_PUMP_OFF_STATE) && result != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable result in branch 9 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:uut_prototype_stubs.incTimeWindowedCount.return:1 -TEST.VALUE:SyringePump.<>.syringePumpLastPosition:<> -TEST.VALUE:SyringePump.<>.syringePumpRetractRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPreloadRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpSeekRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpPrimeRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpBolusRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpContinuousRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACVrefSetRequested:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryCount:<> -TEST.VALUE:SyringePump.<>.syringePumpDACRetryTimer:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:-2147483647 -TEST.END - --- Subprogram: initSyringePump - --- Test Case: initSyringePump.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:initSyringePump -TEST.NEW -TEST.NAME:initSyringePump.001 -TEST.BASIS_PATH:1 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (i < (1000 / (40 / 10)) / 10) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: initSyringePump.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:initSyringePump -TEST.NEW -TEST.NAME:initSyringePump.002 -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (i < (1000 / (40 / 10)) / 10) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Subprogram: rampSyringePump - --- Test Case: rampSyringePump.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:rampSyringePump -TEST.NEW -TEST.NAME:rampSyringePump.001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (syringePumpRampUpToggleTime > syringePumpSetToggleTime) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpSetToggleTime:<> -TEST.VALUE:SyringePump.<>.syringePumpRampUpToggleTime:<> -TEST.END - --- Test Case: rampSyringePump.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:rampSyringePump -TEST.NEW -TEST.NAME:rampSyringePump.002 -TEST.BASIS_PATH:2 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (syringePumpRampUpToggleTime > syringePumpSetToggleTime) ==> TRUE - (2) if (syringePumpRampUpToggleTime > syringePumpSetToggleTime) ==> FALSE - Test Case Generation Notes: - Cannot set syringePumpRampUpToggleTime due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpSetToggleTime:<> -TEST.VALUE:SyringePump.<>.syringePumpRampUpToggleTime:<> -TEST.END - --- Test Case: rampSyringePump.003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:rampSyringePump -TEST.NEW -TEST.NAME:rampSyringePump.003 -TEST.BASIS_PATH:3 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (syringePumpRampUpToggleTime > syringePumpSetToggleTime) ==> TRUE - (2) if (syringePumpRampUpToggleTime > syringePumpSetToggleTime) ==> TRUE - Test Case Generation Notes: - Cannot set syringePumpRampUpToggleTime due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpSetToggleTime:<> -TEST.VALUE:SyringePump.<>.syringePumpRampUpToggleTime:<> -TEST.END - --- Subprogram: stopSyringePump - --- Test Case: stopSyringePump.001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:stopSyringePump -TEST.NEW -TEST.NAME:stopSyringePump.001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (syringePumpState != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE) && syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (2) if ((HEPARIN_STATE_INITIAL_BOLUS) == heparinDeliveryState || (HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF -TEST.END - --- Test Case: stopSyringePump.002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:stopSyringePump -TEST.NEW -TEST.NAME:stopSyringePump.002 -TEST.BASIS_PATH:2 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (syringePumpState != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE) && syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (2) if ((HEPARIN_STATE_INITIAL_BOLUS) == heparinDeliveryState || (HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_INITIAL_BOLUS -TEST.END - --- Test Case: stopSyringePump.003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:stopSyringePump -TEST.NEW -TEST.NAME:stopSyringePump.003 -TEST.BASIS_PATH:3 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (syringePumpState != (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE) && syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> TRUE - (2) if ((HEPARIN_STATE_INITIAL_BOLUS) == heparinDeliveryState || (HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_INIT_STATE -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF -TEST.END - --- Unit: SystemCommMessages - --- Subprogram: handleFWVersionRequest - --- Test Case: getFPGAVersions -TEST.UNIT:SystemCommMessages -TEST.SUBPROGRAM:handleFWVersionRequest -TEST.NEW -TEST.NAME:getFPGAVersions -TEST.COMPOUND_ONLY -TEST.VALUE:uut_prototype_stubs.addToCommBuffer.return:1 -TEST.VALUE:uut_prototype_stubs.addMsgToPendingACKList.return:1 -TEST.VALUE:FPGA.<>.fpgaHeader.fpgaId:0x5A -TEST.VALUE:FPGA.<>.fpgaHeader.fpgaRev:2 -TEST.VALUE:FPGA.<>.fpgaHeader.fpgaRevMajor:1 -TEST.VALUE:FPGA.<>.fpgaHeader.fpgaRevLab:3 -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message:<> -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message[0].hdr.payloadLen:0 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.buffer:COMM_BUFFER_OUT_CAN_HD_2_UI -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[0]:0xA5 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[3]:0x1D -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[4]:0 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[5]:9 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[11]:0x5A -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[12]:1 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[13]:2 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.data[14]:3 -TEST.EXPECTED:uut_prototype_stubs.addToCommBuffer.len:16 -TEST.END - --- Test Case: handleFWVersionRequest.001 -TEST.UNIT:SystemCommMessages -TEST.SUBPROGRAM:handleFWVersionRequest -TEST.NEW -TEST.NAME:handleFWVersionRequest.001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((message->hdr).payloadLen == sizeof(UI_VERSIONS_T)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message:<> -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message[0].hdr.payloadLen:<> -TEST.END - --- Test Case: handleFWVersionRequest.002 -TEST.UNIT:SystemCommMessages -TEST.SUBPROGRAM:handleFWVersionRequest -TEST.NEW -TEST.NAME:handleFWVersionRequest.002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((message->hdr).payloadLen == sizeof(UI_VERSIONS_T)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message:<> -TEST.VALUE:SystemCommMessages.handleFWVersionRequest.message[0].hdr.payloadLen:9 -TEST.END - -- Unit: TaskPriority -- Subprogram: taskPriority --- Test Case: execFPGAInAndOut -TEST.UNIT:TaskPriority -TEST.SUBPROGRAM:taskPriority -TEST.NEW -TEST.NAME:execFPGAInAndOut -TEST.COMPOUND_ONLY -TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:1 -TEST.VALUE:FPGA.<>.fpgaState:FPGA_STATE_START -TEST.EXPECTED:FPGA.<>.fpgaState:FPGA_STATE_RCV_HEADER -TEST.END - -- Test Case: taskPriority.001 TEST.UNIT:TaskPriority TEST.SUBPROGRAM:taskPriority @@ -6882,21 +191,6 @@ TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:<> TEST.END --- Test Case: taskPriority.002 -TEST.UNIT:TaskPriority -TEST.SUBPROGRAM:taskPriority -TEST.NEW -TEST.NAME:taskPriority.002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == uiCommunicated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:1 -TEST.END - -- Unit: Temperatures -- Subprogram: handleExecGetADCValues @@ -6916,79 +210,10 @@ TEST.END_NOTES: TEST.END --- Test Case: handleExecGetADCValues.002 -TEST.UNIT:Temperatures -TEST.SUBPROGRAM:handleExecGetADCValues -TEST.NEW -TEST.NAME:handleExecGetADCValues.002 -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++adcReadCounter >= 1000 / (2 * 50)) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.VALUE:Temperatures.<>.adcReadCounter:1000000000 -TEST.END - -- Unit: Valves -- Subprogram: areValvesFunctional --- Test Case: areValvesFunctional.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:areValvesFunctional -TEST.NEW -TEST.NAME:areValvesFunctional.001 -TEST.BASIS_PATH:1 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (valve < (NUM_OF_VALVES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: areValvesFunctional.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:areValvesFunctional -TEST.NEW -TEST.NAME:areValvesFunctional.002 -TEST.BASIS_PATH:2 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (VALVE_CHECK[valve][VALVE_CHECK_EXPECTED_CONTROL] != statusCheck) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set const variable TEST.VALUE:Valves.<>.VALVE_CHECK[0][0]: in branch 2 - Cannot set local variable statusCheck in branch 2 - Cannot set valve due to assignment -TEST.END_NOTES: -TEST.END - --- Test Case: areValvesFunctional.003 -TEST.UNIT:Valves -TEST.SUBPROGRAM:areValvesFunctional -TEST.NEW -TEST.NAME:areValvesFunctional.003 -TEST.BASIS_PATH:3 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (VALVE_CHECK[valve][VALVE_CHECK_EXPECTED_CONTROL] != statusCheck) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set const variable TEST.VALUE:Valves.<>.VALVE_CHECK[0][0]: in branch 2 - Cannot set local variable statusCheck in branch 2 - Cannot set valve due to assignment -TEST.END_NOTES: -TEST.END - -- Test Case: areValvesFunctional_NominalPath TEST.UNIT:Valves TEST.SUBPROGRAM:areValvesFunctional @@ -7003,700 +228,8 @@ TEST.EXPECTED:Valves.areValvesFunctional.return:1 TEST.END --- Subprogram: convertAndMonitorValvesCurrent - --- Test Case: convertAndMonitorValvesCurrent.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent.001 -TEST.BASIS_PATH:1 of 5 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (valve < (NUM_OF_VALVES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: convertAndMonitorValvesCurrent.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent.002 -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (current > (1.0F)) ==> FALSE - (3) if ((valvesStatus[valve]).overCurrentCounter > MAX_OVER_CURRENT_TIME_INTERVAL_COUNTER) ==> FALSE - (4) if (current < (1.0F) && (valvesStatus[valve]).overCurrentCounter > (0)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable current in branch 2 - Cannot set valve due to assignment - Cannot set local variable current in branch 4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].overCurrentCounter:<> -TEST.END - --- Test Case: convertAndMonitorValvesCurrent.003 -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent.003 -TEST.BASIS_PATH:3 of 5 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (current > (1.0F)) ==> FALSE - (3) if ((valvesStatus[valve]).overCurrentCounter > MAX_OVER_CURRENT_TIME_INTERVAL_COUNTER) ==> FALSE - (4) if (current < (1.0F) && (valvesStatus[valve]).overCurrentCounter > (0)) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable current in branch 2 - Cannot set valve due to assignment - Cannot set local variable current in branch 4 - Conflict: Cannot resolve multiple comparisons ( Valves.<>.valvesStatus[0].overCurrentCounter ) in branches 3/4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].overCurrentCounter:<> -TEST.END - --- Test Case: convertAndMonitorValvesCurrent.004 -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent.004 -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (current > (1.0F)) ==> FALSE - (3) if ((valvesStatus[valve]).overCurrentCounter > MAX_OVER_CURRENT_TIME_INTERVAL_COUNTER) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable current in branch 2 - Cannot set valve due to assignment -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].overCurrentCounter:<> -TEST.END - --- Test Case: convertAndMonitorValvesCurrent.005 -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent.005 -TEST.BASIS_PATH:5 of 5 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if (current > (1.0F)) ==> TRUE - (3) if ((valvesStatus[valve]).overCurrentCounter > MAX_OVER_CURRENT_TIME_INTERVAL_COUNTER) ==> FALSE - (4) if (current < (1.0F) && (valvesStatus[valve]).overCurrentCounter > (0)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set local variable current in branch 2 - Cannot set (valvesStatus[valve]).overCurrentCounter due to assignment - Cannot set valve due to assignment - Cannot set local variable current in branch 4 -TEST.END_NOTES: -TEST.END - --- Test Case: convertAndMonitorValvesCurrent_NominalPath -TEST.UNIT:Valves -TEST.SUBPROGRAM:convertAndMonitorValvesCurrent -TEST.NEW -TEST.NAME:convertAndMonitorValvesCurrent_NominalPath -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 316 TEST.VALUE:Valves.<>.valvesStatus[VDI].current:0.1 - >>> >>> Unexpected end of command - stopped at character 55 - >>> >>> Command Ignored - >>> (E) @LINE: 317 TEST.VALUE:Valves.<>.valvesStatus[VDO].current:0.1 - >>> >>> Unexpected end of command - stopped at character 55 - >>> >>> Command Ignored - >>> (E) @LINE: 318 TEST.VALUE:Valves.<>.valvesStatus[VBA].current:0.1 - >>> >>> Unexpected end of command - stopped at character 55 - >>> >>> Command Ignored - >>> (E) @LINE: 319 TEST.VALUE:Valves.<>.valvesStatus[VBV].current:0.1 - >>> >>> Unexpected end of command - stopped at character 55 - >>> >>> Command Ignored - >>> (E) @LINE: 324 TEST.EXPECTED:Valves.<>.valvesStatus[VDI].current:-0.397461 - >>> >>> Unexpected end of command - stopped at character 58 - >>> >>> Command Ignored - >>> (E) @LINE: 325 TEST.EXPECTED:Valves.<>.valvesStatus[VDO].current:-0.397461 - >>> >>> Unexpected end of command - stopped at character 58 - >>> >>> Command Ignored - >>> (E) @LINE: 326 TEST.EXPECTED:Valves.<>.valvesStatus[VBA].current:-0.397461 - >>> >>> Unexpected end of command - stopped at character 58 - >>> >>> Command Ignored - >>> (E) @LINE: 327 TEST.EXPECTED:Valves.<>.valvesStatus[VBV].current:-0.397461 - >>> >>> Unexpected end of command - stopped at character 58 - >>> >>> Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:FPGA.<>.fpgaSensorReadings.VBVCurrent:1234 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.VDoCurrent:1234 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.VBACurrent:1234 -TEST.VALUE:FPGA.<>.fpgaSensorReadings.VDiCurrent:1234 -TEST.END - --- Subprogram: getAndMonitorValvesCurrentFPGAPosition - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.001 -TEST.BASIS_PATH:1 of 8 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (valve < (NUM_OF_VALVES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.002 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 6988 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:1 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:2 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_WAIT_FOR_POST -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.003 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.003 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7013 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:3 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> FALSE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> FALSE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> FALSE - (7) if ((1) == isValveCloseToCommandedPosition(valve, commandedPositionEnum) && (valvesStatus[valve]).positionOutOfRangeCounter > (0)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set local variable maxDeviation in branch 4 -TEST.END_NOTES: -TEST.STUB:Valves.isValveCloseToCommandedPosition -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_NOT_IN_POSITION -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.<>.valvesStatus[VDI].positionOutOfRangeCounter:<> -TEST.VALUE:Valves.isValveCloseToCommandedPosition.return:<> -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.004 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.004 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7042 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:4 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> FALSE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> FALSE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> FALSE - (7) if ((1) == isValveCloseToCommandedPosition(valve, commandedPositionEnum) && (valvesStatus[valve]).positionOutOfRangeCounter > (0)) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set local variable maxDeviation in branch 4 - Conflict: Cannot resolve multiple comparisons ( Valves.<>.valvesStatus[0].positionOutOfRangeCounter ) in branches 5/7 -TEST.END_NOTES: -TEST.STUB:Valves.isValveCloseToCommandedPosition -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_NOT_IN_POSITION -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.<>.valvesStatus[VDI].positionOutOfRangeCounter:<> -TEST.VALUE:Valves.isValveCloseToCommandedPosition.return:1 -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.005 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.005 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7069 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:5 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> FALSE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> FALSE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> TRUE - (6) if ((VALVE_POSITION_C_CLOSE) == (valvesStatus[valve]).commandedPosition) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set local variable maxDeviation in branch 4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_NOT_IN_POSITION -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.<>.valvesStatus[VDI].positionOutOfRangeCounter:<> -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.006 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.006 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7095 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:6 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> FALSE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> FALSE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> TRUE - (6) if ((VALVE_POSITION_C_CLOSE) == (valvesStatus[valve]).commandedPosition) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set local variable maxDeviation in branch 4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_C_CLOSE -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.<>.valvesStatus[VDI].positionOutOfRangeCounter:<> -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.007 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.007 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7123 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:7 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> FALSE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> TRUE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> FALSE - (7) if ((1) == isValveCloseToCommandedPosition(valve, commandedPositionEnum) && (valvesStatus[valve]).positionOutOfRangeCounter > (0)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set local variable maxDeviation in branch 4 - Cannot set (valvesStatus[valve]).positionOutOfRangeCounter due to assignment -TEST.END_NOTES: -TEST.STUB:Valves.isValveCloseToCommandedPosition -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_NOT_IN_POSITION -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.isValveCloseToCommandedPosition.return:<> -TEST.END - --- Test Case: getAndMonitorValvesCurrentFPGAPosition.008 -TEST.UNIT:Valves -TEST.SUBPROGRAM:getAndMonitorValvesCurrentFPGAPosition -TEST.NEW -TEST.NAME:getAndMonitorValvesCurrentFPGAPosition.008 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 7150 TEST.VALUE:uut_prototype_stubs.isACPowerLost.return:0 - >>> >>> Could not find function isACPowerLost - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.BASIS_PATH:8 of 8 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - (2) if ((valvesStatus[valve]).execState == (VALVE_STATE_IDLE) && (0) == isACPowerLost()) ==> TRUE - (3) if ((VALVE_POSITION_B_OPEN) == commandedPositionEnum) ==> TRUE - (4) if (abs(currentPosition - commandedPosition) > maxDeviation) ==> FALSE - (5) if ((valvesStatus[valve]).positionOutOfRangeCounter > MAX_POS_DEVIATION_TIME_INTERVAL_COUNTER) ==> FALSE - (7) if ((1) == isValveCloseToCommandedPosition(valve, commandedPositionEnum) && (valvesStatus[valve]).positionOutOfRangeCounter > (0)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 - Cannot set valve due to assignment - Cannot set maxDeviation due to assignment -TEST.END_NOTES: -TEST.STUB:Valves.isValveCloseToCommandedPosition -TEST.VALUE:Valves.<>.valvesStatus[VDI].commandedPosition:VALVE_POSITION_B_OPEN -TEST.VALUE:Valves.<>.valvesStatus[VDI].execState:VALVE_STATE_IDLE -TEST.VALUE:Valves.<>.valvesStatus[VDI].positionOutOfRangeCounter:<> -TEST.VALUE:Valves.isValveCloseToCommandedPosition.return:<> -TEST.END - --- Subprogram: handleValveStateHomingFindDeenergizedEdge - --- Test Case: handleValveStateHomingFindDeenergizedEdge.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:handleValveStateHomingFindDeenergizedEdge -TEST.NEW -TEST.NAME:handleValveStateHomingFindDeenergizedEdge.001 -TEST.BASIS_PATH:1 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (deltaPosition > 150) ==> FALSE - Test Case Generation Notes: - Cannot set local variable deltaPosition in branch 1 -TEST.END_NOTES: -TEST.VALUE:Valves.handleValveStateHomingFindDeenergizedEdge.valve:<> -TEST.END - --- Test Case: handleValveStateHomingFindDeenergizedEdge.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:handleValveStateHomingFindDeenergizedEdge -TEST.NEW -TEST.NAME:handleValveStateHomingFindDeenergizedEdge.002 -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (deltaPosition > 150) ==> TRUE - (2) if ((valvesStatus[valve]).homingEdgeDetectionCounter >= HOMING_EDGE_DETECTION_TIME_INTERVAL) ==> FALSE - Test Case Generation Notes: - Cannot set local variable deltaPosition in branch 1 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].homingEdgeDetectionCounter:<> -TEST.VALUE:Valves.handleValveStateHomingFindDeenergizedEdge.valve:VDI -TEST.END - --- Test Case: handleValveStateHomingFindDeenergizedEdge.003 -TEST.UNIT:Valves -TEST.SUBPROGRAM:handleValveStateHomingFindDeenergizedEdge -TEST.NEW -TEST.NAME:handleValveStateHomingFindDeenergizedEdge.003 -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (deltaPosition > 150) ==> TRUE - (2) if ((valvesStatus[valve]).homingEdgeDetectionCounter >= HOMING_EDGE_DETECTION_TIME_INTERVAL) ==> TRUE - (3) if (deltaEdges <= energizedUpperEdge && deltaEdges >= deenergizedLowerEdge) ==> FALSE - (4) if (++(valvesStatus[valve]).numberOfFailedHomings >= 3U) ==> FALSE - Test Case Generation Notes: - Cannot set local variable deltaPosition in branch 1 - Cannot set local variable deltaEdges in branch 3 - Cannot set local variable energizedUpperEdge in branch 3 - Conflict: Unable to control expression-to-expression comparison in branch 4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].homingEdgeDetectionCounter:<> -TEST.VALUE:Valves.handleValveStateHomingFindDeenergizedEdge.valve:VDI -TEST.END - --- Test Case: handleValveStateHomingFindDeenergizedEdge.004 -TEST.UNIT:Valves -TEST.SUBPROGRAM:handleValveStateHomingFindDeenergizedEdge -TEST.NEW -TEST.NAME:handleValveStateHomingFindDeenergizedEdge.004 -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (deltaPosition > 150) ==> TRUE - (2) if ((valvesStatus[valve]).homingEdgeDetectionCounter >= HOMING_EDGE_DETECTION_TIME_INTERVAL) ==> TRUE - (3) if (deltaEdges <= energizedUpperEdge && deltaEdges >= deenergizedLowerEdge) ==> FALSE - (4) if (++(valvesStatus[valve]).numberOfFailedHomings >= 3U) ==> TRUE - Test Case Generation Notes: - Cannot set local variable deltaPosition in branch 1 - Cannot set local variable deltaEdges in branch 3 - Cannot set local variable energizedUpperEdge in branch 3 - Conflict: Unable to control expression-to-expression comparison in branch 4 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].homingEdgeDetectionCounter:<> -TEST.VALUE:Valves.handleValveStateHomingFindDeenergizedEdge.valve:VDI -TEST.END - --- Test Case: handleValveStateHomingFindDeenergizedEdge.005 -TEST.UNIT:Valves -TEST.SUBPROGRAM:handleValveStateHomingFindDeenergizedEdge -TEST.NEW -TEST.NAME:handleValveStateHomingFindDeenergizedEdge.005 -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (deltaPosition > 150) ==> TRUE - (2) if ((valvesStatus[valve]).homingEdgeDetectionCounter >= HOMING_EDGE_DETECTION_TIME_INTERVAL) ==> TRUE - (3) if (deltaEdges <= energizedUpperEdge && deltaEdges >= deenergizedLowerEdge) ==> TRUE - Test Case Generation Notes: - Cannot set local variable deltaPosition in branch 1 - Cannot set local variable deltaEdges in branch 3 - Cannot set local variable deenergizedLowerEdge in branch 3 - Cannot set local variable energizedUpperEdge in branch 3 -TEST.END_NOTES: -TEST.VALUE:Valves.<>.valvesStatus[VDI].homingEdgeDetectionCounter:<> -TEST.VALUE:Valves.handleValveStateHomingFindDeenergizedEdge.valve:VDI -TEST.END - --- Subprogram: initValves - --- Test Case: initValves.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:initValves -TEST.NEW -TEST.NAME:initValves.001 -TEST.BASIS_PATH:1 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) for (valve < (NUM_OF_VALVES)) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Test Case: initValves.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:initValves -TEST.NEW -TEST.NAME:initValves.002 -TEST.BASIS_PATH:2 of 2 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) for (valve < (NUM_OF_VALVES)) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.END - --- Subprogram: setFPGAValveSetPoint - --- Test Case: setFPGAValveSetPoint.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.001 -TEST.BASIS_PATH:1 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if enableCurrentRelaxation ==> FALSE - (6) case valve ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:NUM_OF_VALVES -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.END - --- Test Case: setFPGAValveSetPoint.002 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.002 -TEST.BASIS_PATH:2 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if enableCurrentRelaxation ==> FALSE - (2) case valve ==> VDI - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VDI -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.END - --- Test Case: setFPGAValveSetPoint.003 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.003 -TEST.BASIS_PATH:3 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if enableCurrentRelaxation ==> FALSE - (3) case valve ==> VDO - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VDO -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.END - --- Test Case: setFPGAValveSetPoint.004 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.004 -TEST.BASIS_PATH:4 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if enableCurrentRelaxation ==> FALSE - (4) case valve ==> VBA - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VBA -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.END - --- Test Case: setFPGAValveSetPoint.005 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.005 -TEST.BASIS_PATH:5 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if enableCurrentRelaxation ==> FALSE - (5) case valve ==> VBV - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VBV -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.END - --- Test Case: setFPGAValveSetPoint.006 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint.006 -TEST.BASIS_PATH:6 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if enableCurrentRelaxation ==> TRUE - (6) case valve ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:NUM_OF_VALVES -TEST.VALUE:Valves.setFPGAValveSetPoint.position:<> -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:1 -TEST.END - --- Test Case: setFPGAValveSetPoint_VBA -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint_VBA -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VBA -TEST.VALUE:Valves.setFPGAValveSetPoint.position:12345 -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.VALUE:FPGA.<>.fpgaActuatorSetPoints.VBASetPoint:011 -TEST.EXPECTED:FPGA.<>.fpgaActuatorSetPoints.VBASetPoint:12345 -TEST.END - --- Test Case: setFPGAValveSetPoint_VBV -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint_VBV -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VBV -TEST.VALUE:Valves.setFPGAValveSetPoint.position:12345 -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.VALUE:FPGA.<>.fpgaActuatorSetPoints.VBVSetPoint:010 -TEST.EXPECTED:FPGA.<>.fpgaActuatorSetPoints.VBVSetPoint:12345 -TEST.END - --- Test Case: setFPGAValveSetPoint_VDI -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint_VDI -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VDI -TEST.VALUE:Valves.setFPGAValveSetPoint.position:12345 -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.VALUE:FPGA.<>.fpgaActuatorSetPoints.VDiSetPoint:010 -TEST.EXPECTED:FPGA.<>.fpgaActuatorSetPoints.VDiSetPoint:12345 -TEST.END - --- Test Case: setFPGAValveSetPoint_VDO -TEST.UNIT:Valves -TEST.SUBPROGRAM:setFPGAValveSetPoint -TEST.NEW -TEST.NAME:setFPGAValveSetPoint_VDO -TEST.VALUE:Valves.setFPGAValveSetPoint.valve:VDO -TEST.VALUE:Valves.setFPGAValveSetPoint.position:12345 -TEST.VALUE:Valves.setFPGAValveSetPoint.enableCurrentRelaxation:0 -TEST.VALUE:FPGA.<>.fpgaActuatorSetPoints.VDoSetPoint:010 -TEST.EXPECTED:FPGA.<>.fpgaActuatorSetPoints.VDoSetPoint:12345 -TEST.END - -- Subprogram: setValveControlMode --- Test Case: setValveControlMode.001 -TEST.UNIT:Valves -TEST.SUBPROGRAM:setValveControlMode -TEST.NEW -TEST.NAME:setValveControlMode.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.VALUE:Valves.setValveControlMode.valve:<> -TEST.VALUE:Valves.setValveControlMode.mode:<> -TEST.END - -- Test Case: setValveControlMode_NominalPath TEST.UNIT:Valves TEST.SUBPROGRAM:setValveControlMode @@ -7708,282 +241,6 @@ TEST.EXPECTED:FPGA.<>.fpgaActuatorSetPoints.fpgaPIDControl:0x10 TEST.END --- Unit: Voltages - --- Subprogram: handleVoltagesMonitorState - --- Test Case: handleVoltagesMonitorState.001 -TEST.UNIT:Voltages -TEST.SUBPROGRAM:handleVoltagesMonitorState -TEST.NEW -TEST.NAME:handleVoltagesMonitorState.001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - --- Unit: WatchdogMgmt - --- Subprogram: execWatchdogTest - --- Test Case: execWatchdogTest.001 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.001 -TEST.BASIS_PATH:1 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (13) case watchdogSelfTestState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:NUM_OF_WATCHDOG_SELF_TEST_STATES -TEST.END - --- Test Case: execWatchdogTest.002 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.002 -TEST.BASIS_PATH:2 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_START - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_START -TEST.END - --- Test Case: execWatchdogTest.003 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.003 -TEST.BASIS_PATH:3 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_START - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> TRUE - (5) if (v24 > (5.0F)) ==> FALSE - (6) if (audioCurrent < (200.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable audioCurrent in branch 6 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_LOW -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_START -TEST.END - --- Test Case: execWatchdogTest.004 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.004 -TEST.BASIS_PATH:4 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_START - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> TRUE - (5) if (v24 > (5.0F)) ==> FALSE - (6) if (audioCurrent < (200.0F)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable audioCurrent in branch 6 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_LOW -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_START -TEST.END - --- Test Case: execWatchdogTest.005 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.005 -TEST.BASIS_PATH:5 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_START - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> TRUE - (5) if (v24 > (5.0F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_LOW -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_START -TEST.END - --- Test Case: execWatchdogTest.006 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.006 -TEST.BASIS_PATH:6 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_START - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> TRUE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:0 -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_START -TEST.END - --- Test Case: execWatchdogTest.007 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.007 -TEST.BASIS_PATH:7 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (2) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_IN_PROGRESS - (3) while ((0) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - (4) if ((PIN_SIGNAL_LOW) == getCPLDWatchdogExpired()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_IN_PROGRESS -TEST.END - --- Test Case: execWatchdogTest.008 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.008 -TEST.BASIS_PATH:8 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (7) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_RECOVER - (8) if ((1) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execWatchdogTest.009 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.009 -TEST.BASIS_PATH:9 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (7) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_RECOVER - (8) if ((1) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> TRUE - (9) if ((PIN_SIGNAL_HIGH) == getCPLDWatchdogExpired()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_LOW -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execWatchdogTest.010 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.010 -TEST.BASIS_PATH:10 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (7) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_RECOVER - (8) if ((1) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> TRUE - (9) if ((PIN_SIGNAL_HIGH) == getCPLDWatchdogExpired()) ==> TRUE - (10) if (v24 < (22.60000038F)) ==> FALSE - (11) if (audioCurrent > (10.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set local variable audioCurrent in branch 11 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execWatchdogTest.011 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.011 -TEST.BASIS_PATH:11 of 13 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (7) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_RECOVER - (8) if ((1) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> TRUE - (9) if ((PIN_SIGNAL_HIGH) == getCPLDWatchdogExpired()) ==> TRUE - (10) if (v24 < (22.60000038F)) ==> FALSE - (11) if (audioCurrent > (10.0F)) ==> TRUE - Test Case Generation Notes: - Cannot set local variable audioCurrent in branch 11 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execWatchdogTest.012 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.012 -TEST.BASIS_PATH:12 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (7) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_RECOVER - (8) if ((1) == didTimeout(watchdogSelfTestTimerCount, 500)) ==> TRUE - (9) if ((PIN_SIGNAL_HIGH) == getCPLDWatchdogExpired()) ==> TRUE - (10) if (v24 < (22.60000038F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 -TEST.VALUE:uut_prototype_stubs.getIntADCVoltageConverted.return:<> -TEST.VALUE:uut_prototype_stubs.getCPLDWatchdogExpired.return:PIN_SIGNAL_HIGH -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_RECOVER -TEST.END - --- Test Case: execWatchdogTest.013 -TEST.UNIT:WatchdogMgmt -TEST.SUBPROGRAM:execWatchdogTest -TEST.NEW -TEST.NAME:execWatchdogTest.013 -TEST.BASIS_PATH:13 of 13 -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (12) case watchdogSelfTestState ==> WATCHDOG_SELF_TEST_STATE_COMPLETE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:WatchdogMgmt.<>.watchdogSelfTestState:WATCHDOG_SELF_TEST_STATE_COMPLETE -TEST.END - -- Unit: sys_main -- Subprogram: initSoftware @@ -8062,15 +319,16 @@ >>> >>> Expected a field name from the record type FPGA_HEADER_T >>> >>> Read: fpgaPIDControl TEST.END_IMPORT_FAILURES: -TEST.STUB:SafetyShutdown.initSafetyShutdown -TEST.STUB:AlarmMgmt.initAlarmMgmt -TEST.STUB:Interrupts.initInterrupts TEST.VALUE:BloodFlow.<>.ptr_canREG3:<> TEST.VALUE:BloodFlow.<>.ptr_pwmREG1:<> TEST.VALUE:DialInFlow.<>.ptr_mibspiREG5:<> TEST.VALUE:DialInFlow.<>.ptr_pwmREG2:<> TEST.VALUE:DialOutFlow.<>.ptr_mibspiREG1:<> TEST.VALUE:DialOutFlow.<>.ptr_pwmREG3:<> +TEST.VALUE:Valves.<>.ptr_gioPort:<> +TEST.VALUE:AlarmMgmt.<>.mibspi_ptr:<> +TEST.VALUE:FPGA.<>.ptr_sciBASE_t:<> +TEST.VALUE:FPGA.<>.ptr_dmaBASE_t:<> TEST.VALUE:FPGA.<>.fpgaHeader.fpgaId:1 TEST.VALUE:FPGA.<>.fpgaHeader.fpgaRev:1 TEST.VALUE:FPGA.<>.fpgaHeader.fpgaRevMajor:1 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA_cba.cvr =================================================================== diff -u -rbee4a17cf2dedb3a18483e2c05846785ed1b3da7 -r868300a9991ece5dfa2b54f555a8f36cbf4d40ae --- vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA_cba.cvr (.../INT_FPGA_cba.cvr) (revision bee4a17cf2dedb3a18483e2c05846785ed1b3da7) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_FPGA/INT_FPGA_cba.cvr (.../INT_FPGA_cba.cvr) (revision 868300a9991ece5dfa2b54f555a8f36cbf4d40ae) @@ -551,50 +551,6 @@ IMPORT.SOURCE.END IMPORT.SOURCE.BEGIN IMPORT.SOURCE.UNIT:34 -IMPORT.SOURCE.ORIG_FILENAME:sci.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:35 -IMPORT.SOURCE.ORIG_FILENAME:sys_dma.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:36 IMPORT.SOURCE.ORIG_FILENAME:sys_main.c IMPORT.SOURCE.COVERAGE_STATUS:TRUE IMPORT.SOURCE.COVERAGE_TYPE:Function @@ -694,69 +650,18 @@ 11) U32 getFPGAPBAADCTemperature( void ) Line # 2259 RESULT.CBA.NOTES_END -RESULT.CBA.UNIT: /home/asif/work/update_23rd/workspace_hd/hdfirmware/firmware/App/Services/FPGA.c -RESULT.CBA.FUNCTION: checkFPGACommFailure -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -BOOL status = -0 -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.MATCHING_LINE_INDEX: 1 -RESULT.CBA.LINE.END +RESULT.CBA.UNIT: /home/fw/workspace_hd/hdfirmware/firmware/App/Services/FPGA.c RESULT.CBA.FUNCTION: consumeUnexpectedData RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 RESULT.CBA.COVERAGE: FN RESULT.CBA.CONTEXT: { RESULT.CBA.CONTEXT_AFTER: // Clear any errors -sciRxError( ((sciBASE_t *)0xFFF7E400U) ); +sciRxError( ptr_sciBASE_t ); RESULT.CBA.CONTEXT_AFTER_END RESULT.CBA.MATCHING_LINE_INDEX: 1 RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGAArterialPressure -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.adc1Channel0; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGAArterialPressureErrorCounter -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.adc1ErrorCount; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGAArterialPressureReadCounter -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.adc1SequenceCount; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGABloodLeakRxErrorCount -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.bloodLeakRxErrorCount; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END RESULT.CBA.FUNCTION: getFPGABloodLeakTxFIFOCount RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 @@ -797,56 +702,6 @@ } RESULT.CBA.CONTEXT_AFTER_END RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGAPBAADCTemperature -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.adc1Channel1; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGASyringePumpADCChannel3 -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.syringePumpAdcDataReadCh3; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGASyringePumpDACSetting -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.sPumpDACSet; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGASyringePumpDACStatus -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.sPumpDACRdStatus; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END -RESULT.CBA.FUNCTION: getFPGASyringePumpDACStoredSetting -RESULT.CBA.LINE.BEGIN -RESULT.CBA.LINE: 0 -RESULT.CBA.COVERAGE: FN -RESULT.CBA.CONTEXT: { -RESULT.CBA.CONTEXT_AFTER: -return fpgaSensorReadings.sPumpDACEEProm; -} -RESULT.CBA.CONTEXT_AFTER_END -RESULT.CBA.LINE.END RESULT.CBA.FUNCTION: getFPGATemperature RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.env =================================================================== diff -u -r202a7e6c312e5dc5b85c0d2a30689c6d35a4358b -r868300a9991ece5dfa2b54f555a8f36cbf4d40ae --- vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.env (.../INT_INTEGRITY.env) (revision 202a7e6c312e5dc5b85c0d2a30689c6d35a4358b) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.env (.../INT_INTEGRITY.env) (revision 868300a9991ece5dfa2b54f555a8f36cbf4d40ae) @@ -2,7 +2,6 @@ ENVIRO.NAME:INT_INTEGRITY ENVIRO.UUT:Integrity ENVIRO.STUB_BY_FUNCTION:ModeInitPOST -ENVIRO.STUB_BY_FUNCTION:OperationModes ENVIRO.STUB_BY_FUNCTION:SystemCommMessages ENVIRO.STUB_BY_FUNCTION:TaskGeneral ENVIRO.STUB_BY_FUNCTION:sys_main Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.tst =================================================================== diff -u -rbee4a17cf2dedb3a18483e2c05846785ed1b3da7 -r868300a9991ece5dfa2b54f555a8f36cbf4d40ae --- vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.tst (.../INT_INTEGRITY.tst) (revision bee4a17cf2dedb3a18483e2c05846785ed1b3da7) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_INTEGRITY/INT_INTEGRITY.tst (.../INT_INTEGRITY.tst) (revision 868300a9991ece5dfa2b54f555a8f36cbf4d40ae) @@ -2,7 +2,7 @@ -- Test Case Script -- -- Environment : INT_INTEGRITY --- Unit(s) Under Test: Integrity ModeInitPOST OperationModes SystemCommMessages TaskGeneral sys_main +-- Unit(s) Under Test: Integrity ModeInitPOST SystemCommMessages TaskGeneral sys_main -- -- Script Features TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING @@ -30,566 +30,62 @@ (29) case postState ==> default Test Case Generation Notes: TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:NUM_OF_POST_STATES -TEST.END - --- Test Case: execInitAndPOSTMode.002 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.002 -TEST.BASIS_PATH:2 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == stop) ==> FALSE - (2) case postState ==> POST_STATE_START - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_START -TEST.END - --- Test Case: execInitAndPOSTMode.004 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.004 -TEST.BASIS_PATH:4 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == stop) ==> FALSE - (4) case postState ==> POST_STATE_RTC - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_RTC -TEST.END - --- Test Case: execInitAndPOSTMode.005 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.005 -TEST.BASIS_PATH:5 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == stop) ==> FALSE - (5) case postState ==> POST_STATE_NVDATAMGMT - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_NVDATAMGMT -TEST.END - --- Test Case: execInitAndPOSTMode.006 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.006 -TEST.BASIS_PATH:6 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == stop) ==> FALSE - (6) case postState ==> POST_STATE_WATCHDOG - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_WATCHDOG -TEST.END - --- Test Case: execInitAndPOSTMode.007 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.007 -TEST.BASIS_PATH:7 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == stop) ==> FALSE - (7) case postState ==> POST_STATE_SAFETY_SHUTDOWN - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_SAFETY_SHUTDOWN -TEST.END - --- Test Case: execInitAndPOSTMode.008 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.008 -TEST.BASIS_PATH:8 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((1) == stop) ==> FALSE - (8) case postState ==> POST_STATE_BLOOD_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_BLOOD_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.009 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.009 -TEST.BASIS_PATH:9 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if ((1) == stop) ==> FALSE - (9) case postState ==> POST_STATE_DIALYSATE_INLET_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_DIALYSATE_INLET_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.010 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.010 -TEST.BASIS_PATH:10 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if ((1) == stop) ==> FALSE - (10) case postState ==> POST_STATE_DIALYSATE_OUTLET_FLOW - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_DIALYSATE_OUTLET_FLOW -TEST.END - --- Test Case: execInitAndPOSTMode.011 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.011 -TEST.BASIS_PATH:11 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 11 - (1) if ((1) == stop) ==> FALSE - (11) case postState ==> POST_STATE_BLOOD_LEAK - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_BLOOD_LEAK -TEST.END - --- Test Case: execInitAndPOSTMode.012 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.012 -TEST.BASIS_PATH:12 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 12 - (1) if ((1) == stop) ==> FALSE - (12) case postState ==> POST_STATE_VALVES - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_VALVES -TEST.END - --- Test Case: execInitAndPOSTMode.013 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.013 -TEST.BASIS_PATH:13 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 13 - (1) if ((1) == stop) ==> FALSE - (13) case postState ==> POST_STATE_SYRINGE_PUMP - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_SYRINGE_PUMP -TEST.END - --- Test Case: execInitAndPOSTMode.014 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.014 -TEST.BASIS_PATH:14 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 14 - (1) if ((1) == stop) ==> FALSE - (14) case postState ==> POST_STATE_PRES_OCCL - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_PRES_OCCL -TEST.END - --- Test Case: execInitAndPOSTMode.015 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.015 -TEST.BASIS_PATH:15 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 15 - (1) if ((1) == stop) ==> FALSE - (15) case postState ==> POST_STATE_ALARM_AUDIO - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ALARM_AUDIO -TEST.END - --- Test Case: execInitAndPOSTMode.016 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.016 -TEST.BASIS_PATH:16 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 16 - (1) if ((1) == stop) ==> FALSE - (16) case postState ==> POST_STATE_ALARM_LAMP - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ALARM_LAMP -TEST.END - --- Test Case: execInitAndPOSTMode.017 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.017 -TEST.BASIS_PATH:17 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 17 - (1) if ((1) == stop) ==> FALSE - (17) case postState ==> POST_STATE_ACCELEROMETER - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_ACCELEROMETER -TEST.END - --- Test Case: execInitAndPOSTMode.018 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.018 -TEST.BASIS_PATH:18 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 18 - (1) if ((1) == stop) ==> FALSE - (18) case postState ==> POST_STATE_TEMPERATURES - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_TEMPERATURES -TEST.END - --- Test Case: execInitAndPOSTMode.019 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.019 -TEST.BASIS_PATH:19 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 19 - (1) if ((1) == stop) ==> FALSE - (19) case postState ==> POST_STATE_FANS - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FANS -TEST.END - --- Test Case: execInitAndPOSTMode.020 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.020 -TEST.BASIS_PATH:20 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 20 - (1) if ((1) == stop) ==> FALSE - (20) case postState ==> POST_STATE_STUCK_BUTTON - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_STUCK_BUTTON -TEST.END - --- Test Case: execInitAndPOSTMode.021 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.021 -TEST.BASIS_PATH:21 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 21 - (1) if ((1) == stop) ==> FALSE - (21) case postState ==> POST_STATE_UI_POST - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_UI_POST -TEST.END - --- Test Case: execInitAndPOSTMode.022 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.022 -TEST.BASIS_PATH:22 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 22 - (1) if ((1) == stop) ==> FALSE - (22) case postState ==> POST_STATE_FW_COMPATIBILITY - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FW_COMPATIBILITY -TEST.END - --- Test Case: execInitAndPOSTMode.023 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.023 -TEST.BASIS_PATH:23 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 23 - (1) if ((1) == stop) ==> FALSE - (23) case postState ==> POST_STATE_FPGA - (24) if ((1) == tempPOSTPassed) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FPGA -TEST.VALUE:ModeInitPOST.<>.tempPOSTPassed:<> -TEST.END - --- Test Case: execInitAndPOSTMode.024 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.024 -TEST.BASIS_PATH:24 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 24 - (1) if ((1) == stop) ==> FALSE - (23) case postState ==> POST_STATE_FPGA - (24) if ((1) == tempPOSTPassed) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FPGA -TEST.VALUE:ModeInitPOST.<>.tempPOSTPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.025 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.025 -TEST.BASIS_PATH:25 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 25 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> FALSE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.026 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.026 -TEST.BASIS_PATH:26 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 26 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> FALSE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:1 -TEST.END - --- Test Case: execInitAndPOSTMode.027 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.027 -TEST.BASIS_PATH:27 of 29 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 27 - (1) if ((1) == stop) ==> FALSE - (25) case postState ==> POST_STATE_COMPLETED - (26) if ((0) == postPassed) ==> TRUE - (27) if (++postCompleteDelayTimerCtr > (2 * 1000) / 50) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 27 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_COMPLETED -TEST.VALUE:ModeInitPOST.<>.postPassed:0 -TEST.END - --- Test Case: execInitAndPOSTMode.028 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.028 -TEST.BASIS_PATH:28 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 28 - (1) if ((1) == stop) ==> FALSE - (28) case postState ==> POST_STATE_FAILED - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:<> -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FAILED -TEST.END - --- Test Case: execInitAndPOSTMode.029 -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execInitAndPOSTMode.029 -TEST.BASIS_PATH:29 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 29 - (1) if ((1) == stop) ==> TRUE - (29) case postState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:1 -TEST.VALUE:ModeInitPOST.<>.postState:NUM_OF_POST_STATES -TEST.END - --- Test Case: execIntegrityTest -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execIntegrityTest -TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:1 +TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:0 TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FW_INTEGRITY +TEST.EXPECTED:ModeInitPOST.<>.postState:POST_STATE_RTC TEST.END --- Test Case: execIntegrityTest_old -TEST.UNIT:ModeInitPOST -TEST.SUBPROGRAM:execInitAndPOSTMode -TEST.NEW -TEST.NAME:execIntegrityTest_old -TEST.BASIS_PATH:3 of 29 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == stop) ==> FALSE - (3) case postState ==> POST_STATE_FW_INTEGRITY - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:ModeInitPOST.<>.postState:POST_STATE_FW_INTEGRITY -TEST.END - -- Unit: SystemCommMessages -- Subprogram: handleTestHDRAMStatusOverrideRequest --- Test Case: handleTestHDRAMStatusOverrideRequest.001 +-- Test Case: handleTestHDRAMStatusOverrideRequest_reset TEST.UNIT:SystemCommMessages TEST.SUBPROGRAM:handleTestHDRAMStatusOverrideRequest TEST.NEW -TEST.NAME:handleTestHDRAMStatusOverrideRequest.001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (sizeof(TEST_OVERRIDE_ARRAY_PAYLOAD_T) == (message->hdr).payloadLen) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: +TEST.NAME:handleTestHDRAMStatusOverrideRequest_reset +TEST.STUB:SystemCommMessages.isTestingActivated +TEST.VALUE:Integrity.<>.tcram1ErrStat.override:1 +TEST.VALUE:SystemCommMessages.isTestingActivated.return:1 TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message:<> -TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].hdr.payloadLen:<> -TEST.END - --- Test Case: handleTestHDRAMStatusOverrideRequest.002 -TEST.UNIT:SystemCommMessages -TEST.SUBPROGRAM:handleTestHDRAMStatusOverrideRequest -TEST.NEW -TEST.NAME:handleTestHDRAMStatusOverrideRequest.002 -TEST.BASIS_PATH:2 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (sizeof(TEST_OVERRIDE_ARRAY_PAYLOAD_T) == (message->hdr).payloadLen) ==> TRUE - (2) if ((0) == payload.reset) ==> FALSE - Test Case Generation Notes: - Cannot set local variable payload in branch 2 -TEST.END_NOTES: -TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message:<> TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].hdr.payloadLen:12 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[0]:1 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[4]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[8]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[11]:0 +TEST.EXPECTED:Integrity.<>.tcram1ErrStat.override:0x0 TEST.END --- Test Case: handleTestHDRAMStatusOverrideRequest.003 +-- Test Case: handleTestHDRAMStatusOverrideRequest_set TEST.UNIT:SystemCommMessages TEST.SUBPROGRAM:handleTestHDRAMStatusOverrideRequest TEST.NEW -TEST.NAME:handleTestHDRAMStatusOverrideRequest.003 -TEST.BASIS_PATH:3 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (sizeof(TEST_OVERRIDE_ARRAY_PAYLOAD_T) == (message->hdr).payloadLen) ==> TRUE - (2) if ((0) == payload.reset) ==> TRUE - Test Case Generation Notes: - Cannot set local variable payload in branch 2 -TEST.END_NOTES: +TEST.NAME:handleTestHDRAMStatusOverrideRequest_set +TEST.STUB:SystemCommMessages.isTestingActivated +TEST.VALUE:SystemCommMessages.isTestingActivated.return:1 TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message:<> TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].hdr.payloadLen:12 -TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload:<> -TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload:"1" +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[0]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[1]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[2]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[3]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[4]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[5]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[6]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[7]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[8]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[9]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[10]:0 +TEST.VALUE:SystemCommMessages.handleTestHDRAMStatusOverrideRequest.message[0].payload[11]:0 +TEST.EXPECTED:Integrity.<>.tcram1ErrStat.override:0xCCC33C33 TEST.END -- Unit: TaskGeneral @@ -608,22 +104,9 @@ (1) if ((1) == uiCommunicated()) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:<> -TEST.END - --- Test Case: taskGeneral.002 -TEST.UNIT:TaskGeneral -TEST.SUBPROGRAM:taskGeneral -TEST.NEW -TEST.NAME:taskGeneral.002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == uiCommunicated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: +TEST.VALUE:Integrity.<>.processorRAMStatusCounter:15 TEST.VALUE:uut_prototype_stubs.uiCommunicated.return:1 +TEST.EXPECTED:Integrity.<>.processorRAMStatusCounter:16 TEST.END -- Unit: sys_main @@ -639,4 +122,6 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:Integrity.<>.currentRecord:5 +TEST.EXPECTED:Integrity.<>.currentRecord:0 TEST.END