Index: vectorcast/Hercules_RM46_HD_Project/environment/ACCEL/ACCEL.tst =================================================================== diff -u -rfb05e07f9ec4ba38681de2542d02d4c1f3ba9e52 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/ACCEL/ACCEL.tst (.../ACCEL.tst) (revision fb05e07f9ec4ba38681de2542d02d4c1f3ba9e52) +++ vectorcast/Hercules_RM46_HD_Project/environment/ACCEL/ACCEL.tst (.../ACCEL.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -653,16 +653,16 @@ TEST.NEW TEST.NAME:execAccelTest_Start_NoCalibration TEST.IMPORT_FAILURES: -(E) @LINE: 687 TEST.STUB:Accel.processCalibrationData - >>> Could not find function processCalibrationData - >>> in unit Accel. - >>> Value Line Error - Command Ignored -(E) @LINE: 687 - >>> Could not stub Accel.processCalibrationData -(E) @LINE: 689 TEST.VALUE:Accel.processCalibrationData.return:0 - >>> Subprogram 'processCalibrationData' is invalid - >>> Command Ignored (E) Errors from previous script import(s) + >>> (E) @LINE: 687 TEST.STUB:Accel.processCalibrationData + >>> >>> Could not find function processCalibrationData + >>> >>> in unit Accel. + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 687 + >>> >>> Could not stub Accel.processCalibrationData + >>> (E) @LINE: 689 TEST.VALUE:Accel.processCalibrationData.return:0 + >>> >>> Subprogram 'processCalibrationData' is invalid + >>> >>> Command Ignored >>> (E) @LINE: 364 TEST.VALUE:uut_prototype_stubs.getCalibrationData.return:0 >>> >>> Could not find function getCalibrationData >>> >>> in unit uut_prototype_stubs. Index: vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst (.../ALARMMGMT.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst (.../ALARMMGMT.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -1117,18 +1117,15 @@ TEST.SUBPROGRAM:handleAlarmEscalations TEST.NEW TEST.NAME:handleAlarmEscalations.002 -TEST.STUB:AlarmMgmt.isAlarmActive TEST.STUB:AlarmMgmt.getAlarmStartTime TEST.VALUE:AlarmMgmt.<>.alarmIsActive[ALARM_ID_PRIME_COMPLETED_MEDIUM]:1 TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].alarmID:ALARM_ID_NO_ALARM TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].subRank:0 TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].timeSinceTriggeredMS:0 -TEST.VALUE:AlarmMgmt.isAlarmActive.alarm:ALARM_ID_HD_FPGA_POST_TEST_FAILED -TEST.VALUE:AlarmMgmt.isAlarmActive.return:1 TEST.VALUE:AlarmMgmt.getAlarmStartTime.alarmID:ALARM_ID_NO_ALARM TEST.VALUE:AlarmMgmt.getAlarmStartTime.return:<> TEST.VALUE:uut_prototype_stubs.calcTimeSince.startMSCount:<> -TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:10 +TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:<> TEST.EXPECTED:AlarmMgmt.<>.alarmIsActive[ALARM_ID_PRIME_COMPLETED_MEDIUM]:1 TEST.EXPECTED:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].alarmID:ALARM_ID_NO_ALARM TEST.EXPECTED:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].subRank:0 @@ -1137,28 +1134,6 @@ TEST.EXPECTED:uut_prototype_stubs.calcTimeSince.startMSCount:<> TEST.END --- Test Case: handleAlarmEscalations.003 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:handleAlarmEscalations -TEST.NEW -TEST.NAME:handleAlarmEscalations.003 -TEST.STUB:AlarmMgmt.getAlarmStartTime -TEST.VALUE:AlarmMgmt.<>.alarmIsActive[ALARM_ID_PRIME_COMPLETED_MEDIUM]:1 -TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].alarmID:ALARM_ID_NO_ALARM -TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].subRank:0 -TEST.VALUE:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].timeSinceTriggeredMS:0 -TEST.VALUE:AlarmMgmt.getAlarmStartTime.alarmID:ALARM_ID_NO_ALARM -TEST.VALUE:AlarmMgmt.getAlarmStartTime.return:<> -TEST.VALUE:uut_prototype_stubs.calcTimeSince.startMSCount:<> -TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:10 -TEST.EXPECTED:AlarmMgmt.<>.alarmIsActive[ALARM_ID_PRIME_COMPLETED_MEDIUM]:1 -TEST.EXPECTED:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].alarmID:ALARM_ID_NO_ALARM -TEST.EXPECTED:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].subRank:0 -TEST.EXPECTED:AlarmMgmt.<>.alarmPriorityFIFO[ALARM_PRIORITY_NONE].timeSinceTriggeredMS:0 -TEST.EXPECTED:AlarmMgmt.getAlarmStartTime.alarmID:ALARM_ID_PRIME_COMPLETED_MEDIUM -TEST.EXPECTED:uut_prototype_stubs.calcTimeSince.startMSCount:<> -TEST.END - -- Test Case: handleAlarmEscalations_EscalationsPending TEST.UNIT:AlarmMgmt TEST.SUBPROGRAM:handleAlarmEscalations @@ -2628,10 +2603,16 @@ TEST.NEW TEST.NAME:testSetAlarmStartOverride_NominalPath TEST.IMPORT_FAILURES: -(E) @LINE: 2659 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 +(E) @LINE: 2708 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 >>> Expected a field name from the record type CCAST_9_21 >>> Read: override::EXPECTED_BASE=16 (E) Errors from previous script import(s) + >>> (E) @LINE: 2683 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type CCAST_9_21 + >>> >>> Read: override::EXPECTED_BASE=16 + >>> (E) @LINE: 2659 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 + >>> >>> Expected a field name from the record type CCAST_9_21 + >>> >>> Read: override::EXPECTED_BASE=16 >>> (E) @LINE: 2656 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 >>> >>> Expected a field name from the record type CCAST_9_21 >>> >>> Read: override::EXPECTED_BASE=16 Index: vectorcast/Hercules_RM46_HD_Project/environment/BLOODLEAK/BLOODLEAK.tst =================================================================== diff -u -r6f733131ae36cf9e04977449e154560cc5486e33 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/BLOODLEAK/BLOODLEAK.tst (.../BLOODLEAK.tst) (revision 6f733131ae36cf9e04977449e154560cc5486e33) +++ vectorcast/Hercules_RM46_HD_Project/environment/BLOODLEAK/BLOODLEAK.tst (.../BLOODLEAK.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -1309,30 +1309,16 @@ Test Case Generation Notes: Cannot set isUARTCtrlDone due to assignment TEST.END_NOTES: -TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:<> +TEST.VALUE:BloodLeak.<>.bloodLeakUARTCmdIndex:0 +TEST.VALUE:BloodLeak.<>.bloodLeakSetPointSeqLength:1 TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 +TEST.EXPECTED:BloodLeak.<>.bloodLeakUARTCmdIndex:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSetPointSeqLength:1 TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:2 TEST.END -- Subprogram: handleCalBloodLeakWaitForCommandResponseState --- Test Case: handleCalBloodLeakWaitForCommandResponseState.001 -TEST.UNIT:BloodLeak -TEST.SUBPROGRAM:handleCalBloodLeakWaitForCommandResponseState -TEST.NEW -TEST.NAME:handleCalBloodLeakWaitForCommandResponseState.001 -TEST.BASIS_PATH:1 of 22 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (rxFIFOCount > 0) ==> FALSE - (16) if ((1) == didTimeout(bloodLeakEmbModeOpsStartTime, 5 * 1000) || 0x80 == rxFIFOCount) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getFPGABloodLeakRxFIFOCount.return:<> -TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> -TEST.END - -- Test Case: handleCalBloodLeakWaitForCommandResponseState.002 TEST.UNIT:BloodLeak TEST.SUBPROGRAM:handleCalBloodLeakWaitForCommandResponseState @@ -2405,6 +2391,64 @@ TEST.EXPECTED:BloodLeak.testResetBloodLeakStatusOverride.return:0 TEST.END +-- Subprogram: testSetBloodLeak2EmbeddedMode + +-- Test Case: testSetBloodLeak2EmbeddedMode.001 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeak2EmbeddedMode +TEST.NEW +TEST.NAME:testSetBloodLeak2EmbeddedMode.001 +TEST.EXPECTED:BloodLeak.testSetBloodLeak2EmbeddedMode.return:0 +TEST.END + +-- Test Case: testSetBloodLeak2EmbeddedMode.002 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeak2EmbeddedMode +TEST.NEW +TEST.NAME:testSetBloodLeak2EmbeddedMode.002 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeak2EmbeddedMode.return:1 +TEST.END + +-- Test Case: testSetBloodLeak2EmbeddedMode.003 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeak2EmbeddedMode +TEST.NEW +TEST.NAME:testSetBloodLeak2EmbeddedMode.003 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeak2EmbeddedMode.return:1 +TEST.END + +-- Test Case: testSetBloodLeak2EmbeddedMode.004 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeak2EmbeddedMode +TEST.NEW +TEST.NAME:testSetBloodLeak2EmbeddedMode.004 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_STAN +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeak2EmbeddedMode.return:1 +TEST.END + +-- Test Case: testSetBloodLeak2EmbeddedMode.005 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeak2EmbeddedMode +TEST.NEW +TEST.NAME:testSetBloodLeak2EmbeddedMode.005 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:NUM_OF_MODES +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeRqstedCmd:0 +TEST.EXPECTED:BloodLeak.testSetBloodLeak2EmbeddedMode.return:0 +TEST.END + -- Subprogram: testSetBloodLeakDataPublishIntervalOverride -- Test Case: testSetBloodLeakDataPublishIntervalOverride.001 @@ -2445,6 +2489,76 @@ TEST.EXPECTED:BloodLeak.testSetBloodLeakDataPublishIntervalOverride.value:0 TEST.END +-- Subprogram: testSetBloodLeakEmbeddedModeCommand + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.001 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.001 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:0 +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:0 +TEST.END + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.002 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.002 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:0 +TEST.END + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.003 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.003 +TEST.VALUE:BloodLeak.testSetBloodLeakEmbeddedModeCommand.command:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:0 +TEST.END + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.004 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.004 +TEST.VALUE:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:1 +TEST.END + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.005 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.005 +TEST.VALUE:BloodLeak.<>.bloodLeakSignalEmbModeReq:0 +TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeSubstate:BLOOD_LEAK_CAL_SEND_COMMAND_STATE +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:0 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeSubstate:BLOOD_LEAK_CAL_SEND_COMMAND_STATE +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:0 +TEST.END + +-- Test Case: testSetBloodLeakEmbeddedModeCommand.006 +TEST.UNIT:BloodLeak +TEST.SUBPROGRAM:testSetBloodLeakEmbeddedModeCommand +TEST.NEW +TEST.NAME:testSetBloodLeakEmbeddedModeCommand.006 +TEST.VALUE:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.VALUE:BloodLeak.<>.bloodLeakEmbModeSubstate:BLOOD_LEAK_CAL_SEND_COMMAND_STATE +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakSignalEmbModeReq:1 +TEST.EXPECTED:BloodLeak.<>.bloodLeakEmbModeSubstate:BLOOD_LEAK_CAL_SEND_COMMAND_STATE +TEST.EXPECTED:BloodLeak.testSetBloodLeakEmbeddedModeCommand.return:0 +TEST.END + -- Subprogram: testSetBloodLeakStatusOverride -- Test Case: testSetBloodLeakStatusOverride.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/DIALOUTFLOW/DIALOUTFLOW.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/DIALOUTFLOW/DIALOUTFLOW.tst (.../DIALOUTFLOW.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/DIALOUTFLOW/DIALOUTFLOW.tst (.../DIALOUTFLOW.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -116,6 +116,7 @@ TEST.SUBPROGRAM:checkDialOutPumpDirection TEST.NEW TEST.NAME:checkDialOutPumpDirection_OK +TEST.COMPOUND_ONLY TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) >>> (E) @LINE: 60 TEST.VALUE:DialOutFlow.<>.dopMotorDirectionFromHallSensors:MOTOR_DIR_REVERSE @@ -582,7 +583,9 @@ (1) if ((1) == calStatus) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:DialOutFlow.execDialOutFlowTest.return:SELF_TEST_STATUS_PASSED TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:<> +TEST.EXPECTED:DialOutFlow.execDialOutFlowTest.return:SELF_TEST_STATUS_FAILED TEST.END -- Test Case: execDialOutFlowTest.002 @@ -597,7 +600,9 @@ (1) if ((1) == calStatus) ==> TRUE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:DialOutFlow.execDialOutFlowTest.return:SELF_TEST_STATUS_PASSED TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:1 +TEST.EXPECTED:DialOutFlow.execDialOutFlowTest.return:SELF_TEST_STATUS_PASSED TEST.END -- Subprogram: filterDialOutFlowReadings Index: vectorcast/Hercules_RM46_HD_Project/environment/FANS/FANS.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/FANS/FANS.tst (.../FANS.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/FANS/FANS.tst (.../FANS.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -513,7 +513,7 @@ TEST.VALUE:Fans.<>.fansExecState:FANS_EXEC_STATE_WAIT_FOR_POST_STATE TEST.EXPECTED:Fans.<>.fansExecState:FANS_EXEC_STATE_WAIT_FOR_POST_STATE TEST.EXPECTED:Fans.<>.fansControlCounter:0 -TEST.EXPECTED:Fans.<>.fansPublishCounter:0 +TEST.EXPECTED:Fans.<>.fansPublishCounter:17 TEST.EXPECTED:Fans.<>.isPOSTComplete:0 TEST.EXPECTED:Fans.<>.hasAlarmBeenRaised:0 TEST.EXPECTED:Fans.<>.rpmAlarmStartTimeOffset:0 @@ -522,23 +522,6 @@ -- Subprogram: monitorFans --- Test Case: monitorFans.001 -TEST.UNIT:Fans -TEST.SUBPROGRAM:monitorFans -TEST.NEW -TEST.NAME:monitorFans.001 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) ->>> (E) @LINE: 1213 TEST.VALUE:Fans.<>.fansMonitorCounter:1000 ->>> >>> Unknown parameter/object name fansMonitorCounter ->>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.alarmIndex:ALARM_ID_HD_FAN_RPM_OUT_OF_RANGE -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:0 -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:0 -TEST.EXPECTED:uut_prototype_stubs.isPersistentAlarmTriggered.alarmIndex:ALARM_ID_HD_FAN_RPM_OUT_OF_RANGE -TEST.END - -- Test Case: monitorFans.002 TEST.UNIT:Fans TEST.SUBPROGRAM:monitorFans @@ -579,19 +562,12 @@ TEST.SUBPROGRAM:monitorFans TEST.NEW TEST.NAME:monitorFans.004 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) ->>> (E) @LINE: 514 TEST.VALUE:Fans.<>.fansStatus.targetDutyCycle:1.0 ->>> >>> Expected a field name from the record type FAN_STATUS_T ->>> >>> Read: targetDutyCycle ->>> (E) @LINE: 1240 TEST.VALUE:Fans.<>.fansMonitorCounter:1000 ->>> >>> Unknown parameter/object name fansMonitorCounter ->>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.alarmIndex:ALARM_ID_HD_FAN_RPM_OUT_OF_RANGE -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1 -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:0 -TEST.EXPECTED:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1 +TEST.STUB:Fans.getMeasuredFanRPM +TEST.VALUE:Fans.<>.fansStatus.dutyCycle.override:1 +TEST.VALUE:Fans.<>.hasAlarmBeenRaised:1 +TEST.VALUE:Fans.getMeasuredFanRPM.fan:FAN_INLET_1 +TEST.VALUE:Fans.getMeasuredFanRPM.return:100.0 +TEST.EXPECTED:Fans.getMeasuredFanRPM.fan:FAN_INLET_1 TEST.END -- Test Case: monitorFans.005 @@ -679,6 +655,55 @@ TEST.EXPECTED:Fans.<>.hasAlarmBeenRaised:2 TEST.END +-- Test Case: monitorFans.009 +TEST.UNIT:Fans +TEST.SUBPROGRAM:monitorFans +TEST.NEW +TEST.NAME:monitorFans.009 +TEST.STUB:Fans.getMeasuredFanRPM +TEST.VALUE:Fans.<>.hasAlarmBeenRaised:1 +TEST.VALUE:Fans.getMeasuredFanRPM.fan:FAN_INLET_1 +TEST.VALUE:Fans.getMeasuredFanRPM.return:<> +TEST.EXPECTED:Fans.getMeasuredFanRPM.fan:FAN_INLET_1 +TEST.END + +-- Test Case: monitorFans.010 +TEST.UNIT:Fans +TEST.SUBPROGRAM:monitorFans +TEST.NEW +TEST.NAME:monitorFans.010 +TEST.VALUE:Fans.<>.isPOSTComplete:1 +TEST.VALUE:Fans.<>.rpmAlarmStartTime:1 +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:1 +TEST.EXPECTED:Fans.<>.rpmAlarmStartTime:1 +TEST.END + +-- Test Case: monitorFans.011 +TEST.UNIT:Fans +TEST.SUBPROGRAM:monitorFans +TEST.NEW +TEST.NAME:monitorFans.011 +TEST.VALUE:Fans.<>.isPOSTComplete:1 +TEST.VALUE:Fans.<>.rpmAlarmStartTime:1 +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:0 +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:1 +TEST.EXPECTED:Fans.<>.rpmAlarmStartTime:1 +TEST.END + +-- Test Case: monitorFans.012 +TEST.UNIT:Fans +TEST.SUBPROGRAM:monitorFans +TEST.NEW +TEST.NAME:monitorFans.012 +TEST.VALUE:Fans.<>.isPOSTComplete:1 +TEST.VALUE:Fans.<>.rpmAlarmStartTime:0 +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:1 +TEST.EXPECTED:Fans.<>.isPOSTComplete:1 +TEST.EXPECTED:Fans.<>.rpmAlarmStartTime:1 +TEST.END + -- Subprogram: publishFansData -- Test Case: publishFansData.001 @@ -868,6 +893,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Fans.testResetFansDutyCycleOverride.return:0 TEST.END -- Test Case: testResetFansDutyCycleOverride.002 @@ -883,6 +909,9 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Fans.<>.fansStatus.dutyCycle.ovData:0.0 +TEST.EXPECTED:Fans.<>.fansStatus.dutyCycle.override:0 +TEST.EXPECTED:Fans.testResetFansDutyCycleOverride.return:1 TEST.END -- Subprogram: testSetFanPublishIntervalOverride @@ -925,6 +954,42 @@ TEST.EXPECTED:Fans.testSetFanPublishIntervalOverride.return:0 TEST.END +-- Subprogram: testSetFanRPMAlarmStartTimeOffset + +-- Test Case: testSetFanRPMAlarmStartTimeOffset.001 +TEST.UNIT:Fans +TEST.SUBPROGRAM:testSetFanRPMAlarmStartTimeOffset +TEST.NEW +TEST.NAME:testSetFanRPMAlarmStartTimeOffset.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated()) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Fans.testSetFanRPMAlarmStartTimeOffset.milliSeconds:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Fans.testSetFanRPMAlarmStartTimeOffset.milliSeconds:0 +TEST.END + +-- Test Case: testSetFanRPMAlarmStartTimeOffset.002 +TEST.UNIT:Fans +TEST.SUBPROGRAM:testSetFanRPMAlarmStartTimeOffset +TEST.NEW +TEST.NAME:testSetFanRPMAlarmStartTimeOffset.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated()) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Fans.testSetFanRPMAlarmStartTimeOffset.milliSeconds:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Fans.testSetFanRPMAlarmStartTimeOffset.milliSeconds:0 +TEST.END + -- Subprogram: testSetFanRPMOverride -- Test Case: testSetFanRPMOverride.001 @@ -1040,3 +1105,20 @@ TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 TEST.EXPECTED:Fans.testSetFansDutyCycleOverride.value:0.1 TEST.END + +-- Test Case: testSetFansDutyCycleOverride.004 +TEST.UNIT:Fans +TEST.SUBPROGRAM:testSetFansDutyCycleOverride +TEST.NEW +TEST.NAME:testSetFansDutyCycleOverride.004 +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if ((1) == isTestingActivated()) ==> TRUE + (2) if (value >= (0.1000000015F) && value <= (0.9499999881F)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Fans.testSetFansDutyCycleOverride.value:0.96 +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Fans.testSetFansDutyCycleOverride.value:0.96 +TEST.END Index: vectorcast/Hercules_RM46_HD_Project/environment/FPGA/FPGA.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/FPGA/FPGA.tst (.../FPGA.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/FPGA/FPGA.tst (.../FPGA.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -1193,6 +1193,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:FPGA.<>.fpgaSensorReadings.arterialPressure:100 +TEST.EXPECTED:FPGA.getFPGADVTArterialPressure.return:100 TEST.END -- Subprogram: getFPGADVTArterialPressureReadCounter @@ -1206,6 +1208,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:FPGA.<>.fpgaSensorReadings.arterialPressureReadCount:100 +TEST.EXPECTED:FPGA.getFPGADVTArterialPressureReadCounter.return:100 TEST.END -- Subprogram: getFPGADVTArterialTemperature @@ -1219,6 +1223,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:FPGA.<>.fpgaSensorReadings.arterialPressureTemperature:100 +TEST.EXPECTED:FPGA.getFPGADVTArterialTemperature.return:100 TEST.END -- Subprogram: getFPGADialInPumpHallSensorCount Index: vectorcast/Hercules_RM46_HD_Project/environment/MODEFAULT/MODEFAULT.tst =================================================================== diff -u -rfb05e07f9ec4ba38681de2542d02d4c1f3ba9e52 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/MODEFAULT/MODEFAULT.tst (.../MODEFAULT.tst) (revision fb05e07f9ec4ba38681de2542d02d4c1f3ba9e52) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODEFAULT/MODEFAULT.tst (.../MODEFAULT.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -134,6 +134,10 @@ (3) if ((MODE_PRET) == previousOpMode || (MODE_TREA) == previousOpMode) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.setAlarmUserActionEnabled.action:ALARM_USER_ACTION_RESUME,ALARM_USER_ACTION_RINSEBACK,ALARM_USER_ACTION_END_TREATMENT +TEST.VALUE:uut_prototype_stubs.setAlarmUserActionEnabled.enabled:0 TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_FILL TEST.VALUE:uut_prototype_stubs.getPreviousOperationMode.return:MODE_FAUL +TEST.EXPECTED:uut_prototype_stubs.setAlarmUserActionEnabled.action:ALARM_USER_ACTION_RESUME,ALARM_USER_ACTION_RINSEBACK,ALARM_USER_ACTION_END_TREATMENT +TEST.EXPECTED:uut_prototype_stubs.setAlarmUserActionEnabled.enabled:0 TEST.END Index: vectorcast/Hercules_RM46_HD_Project/environment/MODEPOSTTREAT/MODEPOSTTREAT.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/MODEPOSTTREAT/MODEPOSTTREAT.tst (.../MODEPOSTTREAT.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODEPOSTTREAT/MODEPOSTTREAT.tst (.../MODEPOSTTREAT.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -255,17 +255,15 @@ TEST.SUBPROGRAM:execDrainReservoirs TEST.NEW TEST.NAME:execDrainReservoirs.001 -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 258 TEST.VALUE:ModePostTreat.<>.currentDrainReservoirState:DRAIN_FIRST_RESERVOIR_START_STATE - >>> >>> Value for 'Enumeral' out of range - >>> >>> Read "DRAIN_FIRST_RESERVOIR_START_STATE" - >>> >>> Command Ignored - >>> (E) @LINE: 259 TEST.EXPECTED:ModePostTreat.<>.currentDrainReservoirState:DRAIN_FIRST_RESERVOIR_START_STATE - >>> >>> Value for 'Enumeral' out of range - >>> >>> Read "DRAIN_FIRST_RESERVOIR_START_STATE" - >>> >>> Command Ignored -TEST.END_IMPORT_FAILURES: +TEST.BASIS_PATH:5 of 5 +TEST.NOTES: +This is an automatically generated test case. + Test Path 5 + (4) case currentDrainReservoirState ==> DRAIN_RESERVOIR_COMPLETE_STATE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:ModePostTreat.<>.currentDrainReservoirState:DRAIN_RESERVOIR_COMPLETE_STATE +TEST.EXPECTED:ModePostTreat.<>.currentDrainReservoirState:DRAIN_RESERVOIR_COMPLETE_STATE TEST.END -- Test Case: execDrainReservoirs.002 @@ -316,22 +314,6 @@ TEST.EXPECTED:ModePostTreat.<>.currentDrainReservoirState:DRAIN_RESERVOIR_DRAIN_STATE TEST.END --- Test Case: execDrainReservoirs.005 -TEST.UNIT:ModePostTreat -TEST.SUBPROGRAM:execDrainReservoirs -TEST.NEW -TEST.NAME:execDrainReservoirs.005 -TEST.BASIS_PATH:5 of 5 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (4) case currentDrainReservoirState ==> DRAIN_RESERVOIR_COMPLETE_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:ModePostTreat.<>.currentDrainReservoirState:DRAIN_RESERVOIR_COMPLETE_STATE -TEST.EXPECTED:ModePostTreat.<>.currentDrainReservoirState:DRAIN_RESERVOIR_COMPLETE_STATE -TEST.END - -- Subprogram: execPostTreatmentMode -- Test Case: execPostTreatmentMode.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst (.../MODESTANDBY.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst (.../MODESTANDBY.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -375,6 +375,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_FAUL +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGChemDisinfectStartState.return:STANDBY_WAIT_FOR_DG_CHEM_DISINFECT_TO_START_STATE TEST.END -- Test Case: handleStandbyModeWaitForDGChemDisinfectStartState.002 @@ -390,6 +391,8 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_CHEM +TEST.EXPECTED:ModeStandby.<>.dgDisinfectState:DG_DISINFECT_NOT_RUNNING_STATE +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGChemDisinfectStartState.return:STANDBY_DG_CHEM_DISINFECT_IN_PROGRESS_STATE TEST.END -- Subprogram: handleStandbyModeWaitForDGFlushCmdResponseState @@ -458,6 +461,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_FAUL +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGFlushToStartState.return:STANDBY_WAIT_FOR_DG_FLUSH_TO_START_STATE TEST.END -- Test Case: handleStandbyModeWaitForDGFlushToStartState.002 @@ -473,6 +477,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_FLUS +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGFlushToStartState.return:STANDBY_DG_FLUSH_IN_PROGRESS_STATE TEST.END -- Subprogram: handleStandbyModeWaitForDGHeatDisinfectCmdResponseState @@ -547,6 +552,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_FAUL +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGHeatDisinfectStartState.return:STANDBY_WAIT_FOR_DG_HEAT_DISINFECT_TO_START_STATE TEST.END -- Test Case: handleStandbyModeWaitForDGHeatDisinfectStartState.002 @@ -562,6 +568,7 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getDGOpMode.return:DG_MODE_HEAT +TEST.EXPECTED:ModeStandby.handleStandbyModeWaitForDGHeatDisinfectStartState.return:STANDBY_DG_HEAT_DISINFECT_IN_PROGRESS_STATE TEST.END -- Subprogram: handleStandbyModeWaitForDisinfectState @@ -1260,9 +1267,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.001 TEST.IMPORT_FAILURES: -(I) @LINE: 1271 +(I) @LINE: 1286 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1271 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1250 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1028 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:1 @@ -1293,9 +1302,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.002 TEST.IMPORT_FAILURES: -(I) @LINE: 1306 +(I) @LINE: 1323 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1306 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1282 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1052 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> @@ -1330,9 +1341,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.003 TEST.IMPORT_FAILURES: -(I) @LINE: 1341 +(I) @LINE: 1360 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1341 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1314 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1077 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> @@ -1367,9 +1380,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.004 TEST.IMPORT_FAILURES: -(I) @LINE: 1377 +(I) @LINE: 1398 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1377 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1347 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1102 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> @@ -1405,9 +1420,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.005 TEST.IMPORT_FAILURES: -(I) @LINE: 1417 +(I) @LINE: 1440 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1417 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1384 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1130 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> @@ -1447,9 +1464,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.006 TEST.IMPORT_FAILURES: -(I) @LINE: 1457 +(I) @LINE: 1482 >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1457 + >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1421 >>> >>> 'REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1160 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> @@ -1489,9 +1508,11 @@ TEST.NEW TEST.NAME:signalUserInitiateTreatment.007 TEST.IMPORT_FAILURES: -(I) @LINE: 1498 +(I) @LINE: 1525 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1498 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1459 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (E) @LINE: 1190 TEST.VALUE:uut_prototype_stubs.getNoNewTreatmentStatus.return:<> Index: vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT.tst (.../MODETREATMENT.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT.tst (.../MODETREATMENT.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -3226,9 +3226,11 @@ TEST.NEW TEST.NAME:verifyTreatmentDurationSettingChange_DialVolOutOfRange TEST.IMPORT_FAILURES: -(I) @LINE: 3262 +(I) @LINE: 3264 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 3262 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 3213 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 3211 @@ -4233,9 +4235,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_Accepted_AdjTime TEST.IMPORT_FAILURES: -(I) @LINE: 4280 +(I) @LINE: 4284 >>> 'UF_ADJ_TREATMENT_TIME' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4280 + >>> >>> 'UF_ADJ_TREATMENT_TIME' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4229 >>> >>> 'UF_ADJ_TREATMENT_TIME' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4225 @@ -4304,9 +4308,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_Accepted_AdjUFRate TEST.IMPORT_FAILURES: -(I) @LINE: 4353 +(I) @LINE: 4359 >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4353 + >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4300 >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4294 @@ -4378,9 +4384,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_Accepted_NoResume_Bolus TEST.IMPORT_FAILURES: -(I) @LINE: 4421 +(I) @LINE: 4429 >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4421 + >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4366 >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4358 @@ -4448,9 +4456,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_Accepted_NoResume_Stopped TEST.IMPORT_FAILURES: -(I) @LINE: 4489 +(I) @LINE: 4499 >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4489 + >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4432 >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4422 @@ -4519,9 +4529,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_ConfirmationTimeout TEST.IMPORT_FAILURES: -(I) @LINE: 4558 +(I) @LINE: 4570 >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4558 + >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4499 >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4487 @@ -4590,9 +4602,11 @@ TEST.NEW TEST.NAME:verifyUFSettingsConfirmation_NotInTreatmentMode TEST.IMPORT_FAILURES: -(I) @LINE: 4627 +(I) @LINE: 4641 >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 4627 + >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4566 >>> >>> 'UF_ADJ_UF_RATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 4552 Index: vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT_cba.cvr =================================================================== diff -u -rcc538186e2781ad1776a673ad5e936e138eb23b1 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT_cba.cvr (.../MODETREATMENT_cba.cvr) (revision cc538186e2781ad1776a673ad5e936e138eb23b1) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODETREATMENT/MODETREATMENT_cba.cvr (.../MODETREATMENT_cba.cvr) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -557,7 +557,7 @@ } RESULT.CBA.NOTES_END -RESULT.CBA.UNIT: /home/asif/latest/workspace_hd_staging/hdfirmware/firmware/App/Modes/ModeTreatment.c +RESULT.CBA.UNIT: /home/asif/work/Diality_share/second_update_diality/workspace_hd_staging/hdfirmware/firmware/App/Modes/ModeTreatment.c RESULT.CBA.FUNCTION: execTreatmentMode RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 18 Index: vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst (.../NVDATAMGMT.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst (.../NVDATAMGMT.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -68,6 +68,19 @@ No branches in subprogram TEST.END_NOTES: TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record:<> +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].fourthOrderCoeff:0.0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].thirdOrderCoeff:0.0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].secondOrderCoeff:0.0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].gain:1.0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].offset:0.0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].calibrationTime:0 +TEST.VALUE:NVDataMgmt.benignPolynomialCalRecord.record[0].crc:100 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].fourthOrderCoeff:0.0 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].thirdOrderCoeff:0.0 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].secondOrderCoeff:0.0 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].gain:1.0 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].offset:0.0 +TEST.EXPECTED:NVDataMgmt.benignPolynomialCalRecord.record[0].calibrationTime:0 TEST.END -- Subprogram: dequeue Index: vectorcast/Hercules_RM46_HD_Project/environment/PRESOCCL/PRESOCCL.tst =================================================================== diff -u -r9848d793638e2f613678e60ea7c0f1e7bc31d9eb -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/PRESOCCL/PRESOCCL.tst (.../PRESOCCL.tst) (revision 9848d793638e2f613678e60ea7c0f1e7bc31d9eb) +++ vectorcast/Hercules_RM46_HD_Project/environment/PRESOCCL/PRESOCCL.tst (.../PRESOCCL.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -513,113 +513,119 @@ TEST.VALUE:uut_prototype_stubs.getValveAirTrapStatus.return:STATE_OPEN TEST.END --- Test Case: checkVenousPressureInRange_NominalPath +-- Test Case: checkVenousPressureInRange.007 TEST.UNIT:PresOccl TEST.SUBPROGRAM:checkVenousPressureInRange TEST.NEW -TEST.NAME:checkVenousPressureInRange_NominalPath -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 145 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.alarmIndex:PERSISTENT_ALARM_VENOUS_PRESSURE_LOW,PERSISTENT_ALARM_VENOUS_PRESSURE_HIGH - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 146 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.isOutOfRange:(2)0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 147 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.data:(2)-200.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 148 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.limit:-300.0,200.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:PresOccl.<>.venousPressure.data:-200.0 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterS32.return:-300,200 +TEST.NAME:checkVenousPressureInRange.007 +TEST.NOTES: +This is an automatically generated test case. + Test Path 7 + (1) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres > (2000.0F)) || (1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres < -(1500.0F))) ==> FALSE + (2) if (((MODE_TREA) == getCurrentOperationMode() && (TREATMENT_DIALYSIS_STATE) == getTreatmentState()) && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE + (3) if (isBloodPumpRampComplete() != (1)) ==> FALSE + (4) if (getValveAirTrapStatus() != (STATE_OPEN)) ==> TRUE + (5) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_LOW, venPres < venLowLimit)) ==> TRUE + (6) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_HIGH, venPres > venHighLimit)) ==> FALSE + Test Case Generation Notes: + Conflict: Trying to set variable uut_prototype_stubs.isPersistentAlarmTriggered.return 'equal to' and 'not equal to' same value in branches 1/5 +TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.EXPECTED:PresOccl.<>.venousPressure.data:-200.0 -TEST.EXPECTED:uut_prototype_stubs.getTreatmentParameterS32.param:TREATMENT_PARAM_VEN_PRESSURE_LOW_LIMIT,TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> +TEST.VALUE:uut_prototype_stubs.isBloodPumpRampComplete.return:1 +TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_SALINE_BOLUS_STATE +TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE +TEST.VALUE:uut_prototype_stubs.getValveAirTrapStatus.return:STATE_CLOSED TEST.END --- Test Case: checkVenousPressureInRange_NotInTreatmentMode +-- Test Case: checkVenousPressureInRange.008 TEST.UNIT:PresOccl TEST.SUBPROGRAM:checkVenousPressureInRange TEST.NEW -TEST.NAME:checkVenousPressureInRange_NotInTreatmentMode -TEST.STUB:PresOccl.getFilteredVenousPressure -TEST.VALUE:PresOccl.<>.venousPressure.data:-99.0 -TEST.VALUE:PresOccl.getFilteredVenousPressure.return:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TPAR -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.alarmIndex:ALARM_ID_VENOUS_PRESSURE_HIGH -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1,0 -TEST.EXPECTED:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1,0 +TEST.NAME:checkVenousPressureInRange.008 +TEST.NOTES: +This is an automatically generated test case. + Test Path 7 + (1) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres > (2000.0F)) || (1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres < -(1500.0F))) ==> FALSE + (2) if (((MODE_TREA) == getCurrentOperationMode() && (TREATMENT_DIALYSIS_STATE) == getTreatmentState()) && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE + (3) if (isBloodPumpRampComplete() != (1)) ==> FALSE + (4) if (getValveAirTrapStatus() != (STATE_OPEN)) ==> TRUE + (5) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_LOW, venPres < venLowLimit)) ==> TRUE + (6) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_HIGH, venPres > venHighLimit)) ==> FALSE + Test Case Generation Notes: + Conflict: Trying to set variable uut_prototype_stubs.isPersistentAlarmTriggered.return 'equal to' and 'not equal to' same value in branches 1/5 +TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 +TEST.VALUE:uut_prototype_stubs.isBloodPumpRampComplete.return:1 +TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE +TEST.VALUE:uut_prototype_stubs.getValveAirTrapStatus.return:STATE_CLOSED TEST.END --- Test Case: checkVenousPressureInRange_TooHigh +-- Test Case: checkVenousPressureInRange.009 TEST.UNIT:PresOccl TEST.SUBPROGRAM:checkVenousPressureInRange TEST.NEW -TEST.NAME:checkVenousPressureInRange_TooHigh -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 174 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.alarmIndex:PERSISTENT_ALARM_VENOUS_PRESSURE_LOW,PERSISTENT_ALARM_VENOUS_PRESSURE_HIGH - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 175 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.isOutOfRange:0,1 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 176 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.data:(2)201.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 177 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.limit:-300.0,200.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:PresOccl.<>.venousPressure.data:201.0 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterS32.return:-300,200 +TEST.NAME:checkVenousPressureInRange.009 +TEST.NOTES: +This is an automatically generated test case. + Test Path 7 + (1) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres > (2000.0F)) || (1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres < -(1500.0F))) ==> FALSE + (2) if (((MODE_TREA) == getCurrentOperationMode() && (TREATMENT_DIALYSIS_STATE) == getTreatmentState()) && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE + (3) if (isBloodPumpRampComplete() != (1)) ==> FALSE + (4) if (getValveAirTrapStatus() != (STATE_OPEN)) ==> TRUE + (5) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_LOW, venPres < venLowLimit)) ==> TRUE + (6) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_HIGH, venPres > venHighLimit)) ==> FALSE + Test Case Generation Notes: + Conflict: Trying to set variable uut_prototype_stubs.isPersistentAlarmTriggered.return 'equal to' and 'not equal to' same value in branches 1/5 +TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getTreatmentParameterS32.return:<> TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.EXPECTED:PresOccl.<>.venousPressure.data:201.0 -TEST.EXPECTED:uut_prototype_stubs.getTreatmentParameterS32.param:TREATMENT_PARAM_VEN_PRESSURE_LOW_LIMIT,TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 +TEST.VALUE:uut_prototype_stubs.isBloodPumpRampComplete.return:1 +TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE +TEST.VALUE:uut_prototype_stubs.getValveAirTrapStatus.return:STATE_CLOSED TEST.END --- Test Case: checkVenousPressureInRange_TooLow +-- Test Case: checkVenousPressureInRange.010 TEST.UNIT:PresOccl TEST.SUBPROGRAM:checkVenousPressureInRange TEST.NEW -TEST.NAME:checkVenousPressureInRange_TooLow -TEST.IMPORT_FAILURES: -(E) Errors from previous script import(s) - >>> (E) @LINE: 189 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.alarmIndex:PERSISTENT_ALARM_VENOUS_PRESSURE_LOW,PERSISTENT_ALARM_VENOUS_PRESSURE_HIGH - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 190 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.isOutOfRange:1,0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 191 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.data:(2)-301.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored - >>> (E) @LINE: 192 TEST.EXPECTED:uut_prototype_stubs.checkPersistentAlarm.limit:-300.0,200.0 - >>> >>> Could not find function checkPersistentAlarm - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored -TEST.END_IMPORT_FAILURES: -TEST.VALUE:PresOccl.<>.venousPressure.data:-301.0 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterS32.return:-300,200 +TEST.NAME:checkVenousPressureInRange.010 +TEST.NOTES: +This is an automatically generated test case. + Test Path 7 + (1) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres > (2000.0F)) || (1) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_OUT_OF_RANGE, venPres < -(1500.0F))) ==> FALSE + (2) if (((MODE_TREA) == getCurrentOperationMode() && (TREATMENT_DIALYSIS_STATE) == getTreatmentState()) && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE + (3) if (isBloodPumpRampComplete() != (1)) ==> FALSE + (4) if (getValveAirTrapStatus() != (STATE_OPEN)) ==> TRUE + (5) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_LOW, venPres < venLowLimit)) ==> TRUE + (6) if ((1) == isPersistentAlarmTriggered(ALARM_ID_VENOUS_PRESSURE_HIGH, venPres > venHighLimit)) ==> FALSE + Test Case Generation Notes: + Conflict: Trying to set variable uut_prototype_stubs.isPersistentAlarmTriggered.return 'equal to' and 'not equal to' same value in branches 1/5 +TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getTreatmentParameterS32.return:<> TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.EXPECTED:PresOccl.<>.venousPressure.data:-301.0 -TEST.EXPECTED:uut_prototype_stubs.getTreatmentParameterS32.param:TREATMENT_PARAM_VEN_PRESSURE_LOW_LIMIT,TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 +TEST.VALUE:uut_prototype_stubs.isBloodPumpRampComplete.return:1 +TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE +TEST.VALUE:uut_prototype_stubs.getValveAirTrapStatus.return:STATE_CLOSED TEST.END +-- Test Case: checkVenousPressureInRange_NotInTreatmentMode +TEST.UNIT:PresOccl +TEST.SUBPROGRAM:checkVenousPressureInRange +TEST.NEW +TEST.NAME:checkVenousPressureInRange_NotInTreatmentMode +TEST.STUB:PresOccl.getFilteredVenousPressure +TEST.VALUE:PresOccl.<>.venousPressure.data:-99.0 +TEST.VALUE:PresOccl.getFilteredVenousPressure.return:<> +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TPAR +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.alarmIndex:ALARM_ID_VENOUS_PRESSURE_HIGH +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1,0 +TEST.EXPECTED:uut_prototype_stubs.isPersistentAlarmTriggered.isErrorOccurred:1,0 +TEST.END + -- Subprogram: convertInlinePressures -- Test Case: convertInlinePressures.001 @@ -854,6 +860,49 @@ TEST.EXPECTED:PresOccl.<>.lastArterialPressureReadCtr:0 TEST.END +-- Test Case: convertInlinePressures.008 +TEST.UNIT:PresOccl +TEST.SUBPROGRAM:convertInlinePressures +TEST.NEW +TEST.NAME:convertInlinePressures.008 +TEST.NOTES: +This is an automatically generated test case. + Test Path 15 + (1) if (0 == artPresAlarm) ==> TRUE + (2) if ((0) == isPersistentAlarmTriggered(ALARM_ID_HD_VENOUS_PRESSURE_READ_TIMEOUT_ERROR, lastArterialPressureReadCtr == artReadCtr || artErrorCtr > 0)) ==> FALSE + Row number 2 forms a pair with Row 1 for Condition #2, subcondition "a". + Condition a ==> FALSE + Test Case Generation Notes: + Cannot set local variable artPresAlarm in branch 1 +TEST.END_NOTES: +TEST.STUB:PresOccl.filterInlinePressureReadings +TEST.VALUE:PresOccl.<>.arterialPressure.data:0.0 +TEST.VALUE:PresOccl.<>.arterialPressure.ovInitData:0.0 +TEST.VALUE:PresOccl.<>.arterialPressure.ovData:0.0 +TEST.VALUE:PresOccl.<>.arterialPressure.override:0 +TEST.VALUE:PresOccl.<>.venousPressure.data:0.0 +TEST.VALUE:PresOccl.<>.venousPressure.ovInitData:0.0 +TEST.VALUE:PresOccl.<>.venousPressure.ovData:0.0 +TEST.VALUE:PresOccl.<>.venousPressure.override:0 +TEST.VALUE:PresOccl.filterInlinePressureReadings.artPres:0.0 +TEST.VALUE:PresOccl.filterInlinePressureReadings.venPres:-1939.22 +TEST.VALUE:uut_prototype_stubs.activateAlarmNoData.alarm:ALARM_ID_HD_VENOUS_PRESSURE_READ_TIMEOUT_ERROR +TEST.VALUE:uut_prototype_stubs.activateAlarm1Data.alarm:ALARM_ID_VENOUS_PRESSURE_SENSOR_FAULT +TEST.VALUE:uut_prototype_stubs.activateAlarm1Data.alarmData.dataType:ALARM_DATA_TYPE_F32 +TEST.VALUE:uut_prototype_stubs.activateAlarm1Data.alarmData.data.uInt.data:0 +TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:0 +TEST.EXPECTED:PresOccl.<>.arterialPressure.data:-200000.0 +TEST.EXPECTED:PresOccl.<>.arterialPressure.ovInitData:0.0 +TEST.EXPECTED:PresOccl.<>.arterialPressure.ovData:0.0 +TEST.EXPECTED:PresOccl.<>.arterialPressure.override:0 +TEST.EXPECTED:PresOccl.<>.venousPressure.data:-1939.22 +TEST.EXPECTED:PresOccl.<>.venousPressure.ovInitData:0.0 +TEST.EXPECTED:PresOccl.<>.venousPressure.ovData:0.0 +TEST.EXPECTED:PresOccl.<>.venousPressure.override:0 +TEST.EXPECTED:PresOccl.filterInlinePressureReadings.artPres:-200000.0 +TEST.EXPECTED:PresOccl.filterInlinePressureReadings.venPres:-1939.22 +TEST.END + -- Test Case: convertInlinePressures_ArterialAlarm TEST.UNIT:PresOccl TEST.SUBPROGRAM:convertInlinePressures @@ -1243,6 +1292,44 @@ TEST.EXPECTED:PresOccl.execPresOcclDryTest.return:SELF_TEST_STATUS_PASSED TEST.END +-- Subprogram: execPresOcclSelfTest + +-- Test Case: execPresOcclSelfTest.001 +TEST.UNIT:PresOccl +TEST.SUBPROGRAM:execPresOcclSelfTest +TEST.NEW +TEST.NAME:execPresOcclSelfTest.001 +TEST.BASIS_PATH:1 of 2 (template) +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == calStatus) ==> FALSE + Test Case Generation Notes: + Cannot set calStatus due to assignment +TEST.END_NOTES: +TEST.VALUE:PresOccl.execPresOcclSelfTest.return:SELF_TEST_STATUS_PASSED +TEST.EXPECTED:PresOccl.<>.presOcclPostState:PRESSURE_TEST_STATE_COMPLETE +TEST.EXPECTED:PresOccl.execPresOcclSelfTest.return:SELF_TEST_STATUS_FAILED +TEST.END + +-- Test Case: execPresOcclSelfTest.002 +TEST.UNIT:PresOccl +TEST.SUBPROGRAM:execPresOcclSelfTest +TEST.NEW +TEST.NAME:execPresOcclSelfTest.002 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == calStatus) ==> FALSE + Test Case Generation Notes: + Cannot set calStatus due to assignment +TEST.END_NOTES: +TEST.VALUE:PresOccl.execPresOcclSelfTest.return:SELF_TEST_STATUS_PASSED +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:1 +TEST.EXPECTED:PresOccl.<>.presOcclPostState:PRESSURE_TEST_STATE_COMPLETE +TEST.EXPECTED:PresOccl.execPresOcclSelfTest.return:SELF_TEST_STATUS_PASSED +TEST.END + -- Subprogram: execPresOcclTest -- Test Case: execPresOcclTest.001 @@ -1545,6 +1632,20 @@ TEST.EXPECTED:PresOccl.<>.venPressureReadingsShortIdx:0 TEST.END +-- Subprogram: getFilteredArterialPressure + +-- Test Case: getFilteredArterialPressure.001 +TEST.UNIT:PresOccl +TEST.SUBPROGRAM:getFilteredArterialPressure +TEST.NEW +TEST.NAME:getFilteredArterialPressure.001 +TEST.BASIS_PATH:1 of 1 +TEST.NOTES: + No branches in subprogram +TEST.END_NOTES: +TEST.EXPECTED:PresOccl.getFilteredArterialPressure.return:0.0 +TEST.END + -- Subprogram: getFilteredVenousPressure -- Test Case: getFilteredVenousPressure.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/SELFTESTS/SELFTESTS.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/SELFTESTS/SELFTESTS.tst (.../SELFTESTS.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/SELFTESTS/SELFTESTS.tst (.../SELFTESTS.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -172,6 +172,35 @@ TEST.EXPECTED:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_START_STATE TEST.END +-- Test Case: execDrySelfTests.014 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:execDrySelfTests +TEST.NEW +TEST.NAME:execDrySelfTests.014 +TEST.VALUE:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_SYRINGE_PUMP_OCCLUSION_DETECTION_STATE +TEST.EXPECTED:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_SYRINGE_PUMP_OCCLUSION_DETECTION_STATE +TEST.END + +-- Test Case: execDrySelfTests.015 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:execDrySelfTests +TEST.NEW +TEST.NAME:execDrySelfTests.015 +TEST.VALUE:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_START_STATE +TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE +TEST.END + +-- Test Case: execDrySelfTests.016 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:execDrySelfTests +TEST.NEW +TEST.NAME:execDrySelfTests.016 +TEST.VALUE:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_START_STATE +TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:1000 +TEST.EXPECTED:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_START_STATE +TEST.END + -- Subprogram: execNoCartSelfTests -- Test Case: execNoCartSelfTests.001 @@ -282,7 +311,9 @@ TEST.SUBPROGRAM:execNoCartSelfTests TEST.NEW TEST.NAME:execNoCartSelfTests.011 +TEST.VALUE:SelfTests.<>.currentNoCartSelfTestsState:NO_CART_SELF_TESTS_START_STATE TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:1000,30 +TEST.EXPECTED:SelfTests.<>.currentNoCartSelfTestsState:NO_CART_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE TEST.END -- Subprogram: execWetSelfTests @@ -424,13 +455,23 @@ TEST.EXPECTED:SelfTests.<>.currentWetSelfTestsState:NUM_OF_WET_SELF_TESTS_STATES TEST.END +-- Test Case: execWetSelfTests.015 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:execWetSelfTests +TEST.NEW +TEST.NAME:execWetSelfTests.015 +TEST.VALUE:SelfTests.<>.currentWetSelfTestsState:WET_SELF_TESTS_START_STATE +TEST.EXPECTED:SelfTests.<>.currentWetSelfTestsState:WET_SELF_TESTS_START_STATE +TEST.END + -- Subprogram: getDrySelfTestsState -- Test Case: getDrySelfTestsState.001 TEST.UNIT:SelfTests TEST.SUBPROGRAM:getDrySelfTestsState TEST.NEW TEST.NAME:getDrySelfTestsState.001 +TEST.EXPECTED:SelfTests.getDrySelfTestsState.return:0 TEST.END -- Subprogram: getNoCartSelfTestsState @@ -440,6 +481,7 @@ TEST.SUBPROGRAM:getNoCartSelfTestsState TEST.NEW TEST.NAME:getNoCartSelfTestsState.001 +TEST.EXPECTED:SelfTests.getNoCartSelfTestsState.return:0 TEST.END -- Subprogram: getWetSelfTestState @@ -451,8 +493,9 @@ TEST.NAME:getWetSelfTestState.001 TEST.BASIS_PATH:1 of 1 TEST.NOTES: - No branches in subprogram +No branches in subprogram TEST.END_NOTES: +TEST.EXPECTED:SelfTests.getWetSelfTestState.return:0 TEST.END -- Subprogram: handleDrySelfTestPressureSensorsNormalState @@ -463,6 +506,7 @@ TEST.NEW TEST.NAME:handleDrySelfTestPressureSensorsNormalState.001 TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsNormalState.return:DRY_SELF_TESTS_SYRINGE_PUMP_PRIME_STATE TEST.END -- Test Case: handleDrySelfTestPressureSensorsNormalState.002 @@ -472,24 +516,49 @@ TEST.NAME:handleDrySelfTestPressureSensorsNormalState.002 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 723 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsNormalState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 723 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsNormalState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(pressureSelfTestNormalizedStartTime, 2 * 1000)) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(pressureSelfTestNormalizedStartTime, 2 * 1000)) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsNormalState.return:DRY_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleDrySelfTestPressureSensorsNormalState.003 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestPressureSensorsNormalState +TEST.NEW +TEST.NAME:handleDrySelfTestPressureSensorsNormalState.003 +TEST.VALUE:SelfTests.<>.previousNormalArterialPressure:100.0 +TEST.VALUE:uut_prototype_stubs.getFilteredArterialPressure.return:111.0 +TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.<>.previousNormalArterialPressure:100.0 +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsNormalState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_NORMAL_STATE +TEST.END + +-- Test Case: handleDrySelfTestPressureSensorsNormalState.004 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestPressureSensorsNormalState +TEST.NEW +TEST.NAME:handleDrySelfTestPressureSensorsNormalState.004 +TEST.VALUE:SelfTests.<>.previousNormalVenousPressure:100.0 +TEST.VALUE:uut_prototype_stubs.getFilteredVenousPressure.return:111.0 +TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.<>.previousNormalVenousPressure:100.0 +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsNormalState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_NORMAL_STATE +TEST.END + -- Subprogram: handleDrySelfTestPressureSensorsSetupState -- Test Case: handleDrySelfTestPressureSensorsSetupState.001 @@ -500,15 +569,43 @@ TEST.MCDC_BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsSetupState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsSetupState.return:DRY_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleDrySelfTestPressureSensorsSetupState.002 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestPressureSensorsSetupState +TEST.NEW +TEST.NAME:handleDrySelfTestPressureSensorsSetupState.002 +TEST.NOTES: +This is an automatically generated test case. +Test Path 2 +(1) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsSetupState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_STATE +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:0 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:(2)VALVE_POSITION_C_CLOSE,VALVE_POSITION_B_OPEN,VALVE_POSITION_C_CLOSE +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsSetupState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_STATE +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.flowRate:100 +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.dir:MOTOR_DIR_FORWARD +TEST.EXPECTED:uut_prototype_stubs.setBloodPumpTargetFlowRate.mode:PUMP_CONTROL_MODE_OPEN_LOOP +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(2)VALVE_POSITION_C_CLOSE,VALVE_POSITION_B_OPEN,VALVE_POSITION_C_CLOSE +TEST.EXPECTED:uut_prototype_stubs.setValveAirTrap.state:STATE_CLOSED +TEST.END + -- Subprogram: handleDrySelfTestPressureSensorsState -- Test Case: handleDrySelfTestPressureSensorsState.001 @@ -518,24 +615,25 @@ TEST.NAME:handleDrySelfTestPressureSensorsState.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 832 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 832 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:3 of 9 TEST.NOTES: This is an automatically generated test case. - Test Path 3 - (1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE - Row number 6 forms a pair with Row 8 for Condition #1, subcondition "b". - Condition a ==> FALSE - Condition b ==> TRUE - Condition c ==> FALSE - Test Case Generation Notes: +Test Path 3 +(1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE +Row number 6 forms a pair with Row 8 for Condition #1, subcondition "b". +Condition a ==> FALSE +Condition b ==> TRUE +Condition c ==> FALSE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getFilteredArterialPressure.return:<> TEST.VALUE:uut_prototype_stubs.getFilteredVenousPressure.return:<> TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_STATE TEST.END -- Test Case: handleDrySelfTestPressureSensorsState.002 @@ -545,24 +643,25 @@ TEST.NAME:handleDrySelfTestPressureSensorsState.002 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 854 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 854 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 9 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE - Row number 7 forms a pair with Row 8 for Condition #1, subcondition "c". - Condition a ==> FALSE - Condition b ==> FALSE - Condition c ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE +Row number 7 forms a pair with Row 8 for Condition #1, subcondition "c". +Condition a ==> FALSE +Condition b ==> FALSE +Condition c ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getFilteredArterialPressure.return:<> TEST.VALUE:uut_prototype_stubs.getFilteredVenousPressure.return:<> TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_STATE TEST.END -- Test Case: handleDrySelfTestPressureSensorsState.003 @@ -572,24 +671,25 @@ TEST.NAME:handleDrySelfTestPressureSensorsState.003 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 898 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 898 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:8 of 9 TEST.NOTES: This is an automatically generated test case. - Test Path 8 - (1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE - (2) if (arterialPressure < (0) && venousPressure > (0)) ==> TRUE - Row number 1 forms a pair with Row 3 for Condition #2, subcondition "a". - Condition a ==> TRUE - Condition b ==> TRUE - Test Case Generation Notes: +Test Path 8 +(1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> TRUE +(2) if (arterialPressure < (0) && venousPressure > (0)) ==> TRUE +Row number 1 forms a pair with Row 3 for Condition #2, subcondition "a". +Condition a ==> TRUE +Condition b ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getFilteredArterialPressure.return:<> TEST.VALUE:uut_prototype_stubs.getFilteredVenousPressure.return:<> TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsState.return:DRY_SELF_TESTS_PRESSURE_SENSORS_NORMAL_STATE TEST.END -- Test Case: handleDrySelfTestPressureSensorsState.004 @@ -599,24 +699,25 @@ TEST.NAME:handleDrySelfTestPressureSensorsState.004 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 965 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 965 TEST.VALUE:SelfTests.handleDrySelfTestPressureSensorsState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:6 of 9 TEST.NOTES: This is an automatically generated test case. - Test Path 6 - (1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 6 +(1) if (((1) == didTimeout(pressureSelfTestBloodPumpRunStartTime, 5 * 1000) || -(50.0) >= arterialPressure) || (400) <= venousPressure) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.getFilteredArterialPressure.return:<> TEST.VALUE:uut_prototype_stubs.getFilteredVenousPressure.return:<> TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestPressureSensorsState.return:DRY_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleDrySelfTestStoppedState @@ -649,13 +750,14 @@ TEST.BASIS_PATH:1 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 1 - (1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE - Test Case Generation Notes: +Test Path 1 +(1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:<> TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestSyringePumpOcclusionDetectionState.return:DRY_SELF_TESTS_SYRINGE_PUMP_OCCLUSION_DETECTION_STATE TEST.END -- Test Case: handleDrySelfTestSyringePumpOcclusionDetectionState.002 @@ -666,13 +768,14 @@ TEST.BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleDrySelfTestSyringePumpOcclusionDetectionState.return:DRY_SELF_TESTS_STOPPED_STATE TEST.END -- Test Case: handleDrySelfTestSyringePumpOcclusionDetectionState.003 @@ -683,15 +786,16 @@ TEST.BASIS_PATH:3 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 3 - (1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> TRUE - (2) if ((0) == checkForPrimeOcclusion()) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE - Test Case Generation Notes: +Test Path 3 +(1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> TRUE +(2) if ((0) == checkForPrimeOcclusion()) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:<> TEST.VALUE:uut_prototype_stubs.checkForPrimeOcclusion.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestSyringePumpOcclusionDetectionState.return:DRY_SELF_TESTS_SYRINGE_PUMP_OCCLUSION_DETECTION_STATE TEST.END -- Test Case: handleDrySelfTestSyringePumpOcclusionDetectionState.004 @@ -702,15 +806,16 @@ TEST.BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> TRUE - (2) if ((0) == checkForPrimeOcclusion()) ==> TRUE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(syringeOcclusionDelayStartTime, 3 * 1000)) ==> TRUE +(2) if ((0) == checkForPrimeOcclusion()) ==> TRUE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> FALSE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:<> TEST.VALUE:uut_prototype_stubs.checkForPrimeOcclusion.return:0 TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestSyringePumpOcclusionDetectionState.return:DRY_SELF_TESTS_COMPLETE_STATE TEST.END -- Subprogram: handleDrySelfTestSyringePumpPrimeState @@ -775,6 +880,60 @@ TEST.EXPECTED:SelfTests.<>.useHeparin:1 TEST.END +-- Test Case: handleDrySelfTestSyringePumpPrimeState.004 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestSyringePumpPrimeState +TEST.NEW +TEST.NAME:handleDrySelfTestSyringePumpPrimeState.004 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == useHeparin) ==> TRUE + Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". + Condition a ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.useHeparin:1 +TEST.VALUE:uut_prototype_stubs.isSyringePumpRunning.return:1 +TEST.EXPECTED:SelfTests.<>.useHeparin:1 +TEST.END + +-- Test Case: handleDrySelfTestSyringePumpPrimeState.005 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestSyringePumpPrimeState +TEST.NEW +TEST.NAME:handleDrySelfTestSyringePumpPrimeState.005 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == useHeparin) ==> TRUE + Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". + Condition a ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.useHeparin:1 +TEST.VALUE:uut_prototype_stubs.isSyringePumpHome.return:1 +TEST.EXPECTED:SelfTests.<>.useHeparin:1 +TEST.END + +-- Test Case: handleDrySelfTestSyringePumpPrimeState.006 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestSyringePumpPrimeState +TEST.NEW +TEST.NAME:handleDrySelfTestSyringePumpPrimeState.006 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == useHeparin) ==> TRUE + Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". + Condition a ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.useHeparin:1 +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.<>.useHeparin:1 +TEST.END + -- Subprogram: handleDrySelfTestUsedCartridgeCheckState -- Test Case: handleDrySelfTestUsedCartridgeCheckState.001 @@ -783,6 +942,7 @@ TEST.NEW TEST.NAME:handleDrySelfTestUsedCartridgeCheckState.001 TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_NOT_DETECTED +TEST.EXPECTED:SelfTests.handleDrySelfTestUsedCartridgeCheckState.return:DRY_SELF_TESTS_USED_CARTRIDGE_CHECK_STATE TEST.END -- Test Case: handleDrySelfTestUsedCartridgeCheckState.002 @@ -791,6 +951,7 @@ TEST.NEW TEST.NAME:handleDrySelfTestUsedCartridgeCheckState.002 TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.handleDrySelfTestUsedCartridgeCheckState.return:DRY_SELF_TESTS_STOPPED_STATE TEST.END -- Test Case: handleDrySelfTestUsedCartridgeCheckState.003 @@ -799,6 +960,7 @@ TEST.NEW TEST.NAME:handleDrySelfTestUsedCartridgeCheckState.003 TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_DETECTED,BUBBLE_NOT_DETECTED +TEST.EXPECTED:SelfTests.handleDrySelfTestUsedCartridgeCheckState.return:DRY_SELF_TESTS_OCCLUSION_SENSORS_STATE TEST.END -- Test Case: handleDrySelfTestUsedCartridgeCheckState.004 @@ -808,6 +970,7 @@ TEST.NAME:handleDrySelfTestUsedCartridgeCheckState.004 TEST.VALUE:uut_prototype_stubs.getAirTrapLevel.return:AIR_TRAP_LEVEL_FLUID TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_DETECTED +TEST.EXPECTED:SelfTests.handleDrySelfTestUsedCartridgeCheckState.return:DRY_SELF_TESTS_USED_CARTRIDGE_CHECK_STATE TEST.END -- Test Case: handleDrySelfTestUsedCartridgeCheckState.005 @@ -817,6 +980,7 @@ TEST.NAME:handleDrySelfTestUsedCartridgeCheckState.005 TEST.VALUE:uut_prototype_stubs.getAirTrapLevel.return:AIR_TRAP_LEVEL_AIR,AIR_TRAP_LEVEL_FLUID TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_DETECTED +TEST.EXPECTED:SelfTests.handleDrySelfTestUsedCartridgeCheckState.return:DRY_SELF_TESTS_USED_CARTRIDGE_CHECK_STATE TEST.END -- Subprogram: handleDrySelfTestWaitForDoorCloseState @@ -828,24 +992,53 @@ TEST.NAME:handleDrySelfTestWaitForDoorCloseState.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 1429 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_OPEN - >>> >>> Could not find function getFPGADoorState - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 1429 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_OPEN +>>> >>> Could not find function getFPGADoorState +>>> >>> in unit uut_prototype_stubs. +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((STATE_CLOSED) == getFPGADoorState()) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((STATE_CLOSED) == getFPGADoorState()) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_C_CLOSE +TEST.EXPECTED:SelfTests.handleDrySelfTestWaitForDoorCloseState.return:DRY_SELF_TESTS_STOPPED_STATE +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV,VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(4)VALVE_POSITION_C_CLOSE,(4)VALVE_POSITION_A_INSERT_EJECT TEST.END +-- Test Case: handleDrySelfTestWaitForDoorCloseState.002 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleDrySelfTestWaitForDoorCloseState +TEST.NEW +TEST.NAME:handleDrySelfTestWaitForDoorCloseState.002 +TEST.NOTES: +This is an automatically generated test case. +Test Path 4 +(1) if ((STATE_CLOSED) == getFPGADoorState()) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.VALUE:uut_prototype_stubs.getSwitchStatus.switchId:FRONT_DOOR +TEST.VALUE:uut_prototype_stubs.getSwitchStatus.return:NUM_OF_OPN_CLS_STATES +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_C_CLOSE +TEST.EXPECTED:SelfTests.handleDrySelfTestWaitForDoorCloseState.return:DRY_SELF_TESTS_STOPPED_STATE +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(4)VALVE_POSITION_A_INSERT_EJECT +TEST.END + -- Subprogram: handleNoCartSelfTestHomeIdleState -- Test Case: handleNoCartSelfTestHomeIdleState.001 @@ -856,17 +1049,18 @@ TEST.MCDC_BASIS_PATH:4 of 6 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "c". - Condition a ==> TRUE - Condition b ==> TRUE - Condition c ==> FALSE - Test Case Generation Notes: +Test Path 4 +(1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE +Row number 2 forms a pair with Row 1 for Condition #1, subcondition "c". +Condition a ==> TRUE +Condition b ==> TRUE +Condition c ==> FALSE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.isBloodPumpRunning.return:1 TEST.VALUE:uut_prototype_stubs.isDialInPumpRunning.return:0 TEST.VALUE:uut_prototype_stubs.isDialOutPumpRunning.return:0 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestHomeIdleState.return:NO_CART_SELF_TESTS_HOME_IDLE_STATE TEST.END -- Test Case: handleNoCartSelfTestHomeIdleState.002 @@ -877,17 +1071,18 @@ TEST.MCDC_BASIS_PATH:3 of 6 TEST.NOTES: This is an automatically generated test case. - Test Path 3 - (1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE - Row number 3 forms a pair with Row 1 for Condition #1, subcondition "b". - Condition a ==> TRUE - Condition b ==> FALSE - Condition c ==> TRUE - Test Case Generation Notes: +Test Path 3 +(1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE +Row number 3 forms a pair with Row 1 for Condition #1, subcondition "b". +Condition a ==> TRUE +Condition b ==> FALSE +Condition c ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.isBloodPumpRunning.return:0 TEST.VALUE:uut_prototype_stubs.isDialInPumpRunning.return:0 TEST.VALUE:uut_prototype_stubs.isDialOutPumpRunning.return:1 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestHomeIdleState.return:NO_CART_SELF_TESTS_HOME_IDLE_STATE TEST.END -- Test Case: handleNoCartSelfTestHomeIdleState.003 @@ -898,17 +1093,18 @@ TEST.MCDC_BASIS_PATH:6 of 6 TEST.NOTES: This is an automatically generated test case. - Test Path 6 - (1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 6 +(1) if (((0) == isDialInPumpRunning() && (0) == isDialOutPumpRunning()) && (0) == isBloodPumpRunning()) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.isBloodPumpRunning.return:1 TEST.VALUE:uut_prototype_stubs.isDialInPumpRunning.return:1 TEST.VALUE:uut_prototype_stubs.isDialOutPumpRunning.return:1 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestHomeIdleState.return:NO_CART_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleNoCartSelfTestHomeSyringePumpState @@ -988,17 +1184,39 @@ TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) for (valve < (NUM_OF_VALVES)) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 +Test Path 4 +(1) for (valve < (NUM_OF_VALVES)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +Conflict: Unable to control expression-to-expression comparison in branch 1 TEST.END_NOTES: +TEST.VALUE:SelfTests.handleNoCartSelfTestHomeValvesState.return:NO_CART_SELF_TESTS_HOME_SYRINGE_PUMP_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestHomeValvesState.return:NO_CART_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleNoCartSelfTestHomeValvesState.002 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleNoCartSelfTestHomeValvesState +TEST.NEW +TEST.NAME:handleNoCartSelfTestHomeValvesState.002 +TEST.NOTES: +This is an automatically generated test case. +Test Path 4 +(1) for (valve < (NUM_OF_VALVES)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +Conflict: Unable to control expression-to-expression comparison in branch 1 +TEST.END_NOTES: +TEST.VALUE:SelfTests.handleNoCartSelfTestHomeValvesState.return:NO_CART_SELF_TESTS_HOME_SYRINGE_PUMP_STATE +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:0 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestHomeValvesState.return:NO_CART_SELF_TESTS_HOME_SYRINGE_PUMP_STATE +TEST.END + -- Subprogram: handleNoCartSelfTestPumpsState -- Test Case: handleNoCartSelfTestPumpsState.001 @@ -1090,20 +1308,22 @@ TEST.NAME:handleNoCartSelfTestsWaitForClosedDoor.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 2001 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_CLOSED - >>> >>> Could not find function getFPGADoorState - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 2001 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_CLOSED +>>> >>> Could not find function getFPGADoorState +>>> >>> in unit uut_prototype_stubs. +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((STATE_CLOSED) == getFPGADoorState()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((STATE_CLOSED) == getFPGADoorState()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE +TEST.EXPECTED:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_PRESSURE_CHECKS_STATE TEST.END -- Test Case: handleNoCartSelfTestsWaitForClosedDoor.002 @@ -1113,24 +1333,46 @@ TEST.NAME:handleNoCartSelfTestsWaitForClosedDoor.002 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 2037 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_OPEN - >>> >>> Could not find function getFPGADoorState - >>> >>> in unit uut_prototype_stubs. - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 2037 TEST.VALUE:uut_prototype_stubs.getFPGADoorState.return:STATE_OPEN +>>> >>> Could not find function getFPGADoorState +>>> >>> in unit uut_prototype_stubs. +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((STATE_CLOSED) == getFPGADoorState()) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((STATE_CLOSED) == getFPGADoorState()) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleNoCartSelfTestsWaitForClosedDoor.003 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleNoCartSelfTestsWaitForClosedDoor +TEST.NEW +TEST.NAME:handleNoCartSelfTestsWaitForClosedDoor.003 +TEST.NOTES: +This is an automatically generated test case. +Test Path 2 +(1) if ((STATE_CLOSED) == getFPGADoorState()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE +TEST.VALUE:uut_prototype_stubs.getSwitchStatus.switchId:PUMP_TRACK_SWITCH +TEST.VALUE:uut_prototype_stubs.getSwitchStatus.return:STATE_OPEN +TEST.EXPECTED:SelfTests.handleNoCartSelfTestsWaitForClosedDoor.return:NO_CART_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE +TEST.EXPECTED:uut_prototype_stubs.getSwitchStatus.switchId:FRONT_DOOR,PUMP_TRACK_SWITCH +TEST.END + -- Subprogram: handleWetSelfTestBloodLeakDetectorState -- Test Case: handleWetSelfTestBloodLeakDetectorState.001 @@ -1141,13 +1383,15 @@ TEST.MCDC_BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((SELF_TEST_STATUS_PASSED) == getBloodLeakSelfTestStatus()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((SELF_TEST_STATUS_PASSED) == getBloodLeakSelfTestStatus()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestBloodLeakDetectorState.return:WET_SELF_TESTS_BLOOD_LEAK_DETECTOR_STATE TEST.VALUE:uut_prototype_stubs.getBloodLeakSelfTestStatus.return:SELF_TEST_STATUS_PASSED +TEST.EXPECTED:SelfTests.handleWetSelfTestBloodLeakDetectorState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_SETUP_STATE TEST.END -- Test Case: handleWetSelfTestBloodLeakDetectorState.002 @@ -1158,15 +1402,17 @@ TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((SELF_TEST_STATUS_PASSED) == getBloodLeakSelfTestStatus()) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((SELF_TEST_STATUS_PASSED) == getBloodLeakSelfTestStatus()) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestBloodLeakDetectorState.return:WET_SELF_TESTS_BLOOD_LEAK_DETECTOR_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.getBloodLeakSelfTestStatus.return:SELF_TEST_STATUS_IN_PROGRESS +TEST.EXPECTED:SelfTests.handleWetSelfTestBloodLeakDetectorState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleWetSelfTestBubblesState @@ -1179,14 +1425,16 @@ TEST.MCDC_BASIS_PATH:2 of 5 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADA) && (SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADV)) ==> TRUE - Row number 1 forms a pair with Row 3 for Condition #1, subcondition "a". - Condition a ==> TRUE - Condition b ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADA) && (SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADV)) ==> TRUE +Row number 1 forms a pair with Row 3 for Condition #1, subcondition "a". +Condition a ==> TRUE +Condition b ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestBubblesState.return:WET_SELF_TESTS_BUBBLES_STATE TEST.VALUE:uut_prototype_stubs.getBubbleSelfTestStatus.return:SELF_TEST_STATUS_PASSED +TEST.EXPECTED:SelfTests.handleWetSelfTestBubblesState.return:WET_SELF_TESTS_PRIME_CHECK_STATE TEST.END -- Test Case: handleWetSelfTestBubblesState.002 @@ -1197,15 +1445,17 @@ TEST.MCDC_BASIS_PATH:5 of 5 TEST.NOTES: This is an automatically generated test case. - Test Path 5 - (1) if ((SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADA) && (SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADV)) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 5 +(1) if ((SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADA) && (SELF_TEST_STATUS_PASSED) == getBubbleSelfTestStatus(ADV)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestBubblesState.return:WET_SELF_TESTS_BUBBLES_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.getBubbleSelfTestStatus.return:SELF_TEST_STATUS_IN_PROGRESS +TEST.EXPECTED:SelfTests.handleWetSelfTestBubblesState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleWetSelfTestFirstDisplacementSetupState @@ -1275,6 +1525,46 @@ TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:2 TEST.END +-- Test Case: handleWetSelfTestFirstDisplacementSetupState.004 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestFirstDisplacementSetupState +TEST.NEW +TEST.NAME:handleWetSelfTestFirstDisplacementSetupState.004 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((0) == isValvesSettingSent && (1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE + Row number 1 forms a pair with Row 3 for Condition #1, subcondition "a". + Condition a ==> TRUE + Condition b ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.isValvesSettingSent:0 +TEST.VALUE:uut_prototype_stubs.didTimeout.return:0 +TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:0 +TEST.END + +-- Test Case: handleWetSelfTestFirstDisplacementSetupState.005 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestFirstDisplacementSetupState +TEST.NEW +TEST.NAME:handleWetSelfTestFirstDisplacementSetupState.005 +TEST.NOTES: +This is an automatically generated test case. + Test Path 5 + (1) if ((0) == isValvesSettingSent && (1) == didTimeout(settleStartTime, 4 * 1000)) ==> FALSE + (2) if ((1) == isValvesSettingSent && (1) == getDGCommandResponse(DG_CMD_VALVE_SETTING, &cmdResp)) ==> TRUE + Row number 1 forms a pair with Row 3 for Condition #2, subcondition "a". + Condition a ==> TRUE + Condition b ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.isValvesSettingSent:1 +TEST.VALUE:uut_prototype_stubs.getDGCommandResponse.return:1 +TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:0 +TEST.END + -- Subprogram: handleWetSelfTestFirstDisplacementState -- Test Case: handleWetSelfTestFirstDisplacementState.001 @@ -1285,13 +1575,16 @@ TEST.MCDC_BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_STATE +TEST.VALUE:uut_prototype_stubs.getMeasuredDialInFlowRate.return:100.0 TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestFirstDisplacementState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE TEST.END -- Test Case: handleWetSelfTestFirstDisplacementState.002 @@ -1302,15 +1595,17 @@ TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleWetSelfTestFirstDisplacementState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleWetSelfTestFirstDisplacementVerifyState @@ -1322,20 +1617,22 @@ TEST.NAME:handleWetSelfTestFirstDisplacementVerifyState.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 2529 TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 2529 TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:2 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE TEST.END -- Test Case: handleWetSelfTestFirstDisplacementVerifyState.002 @@ -1345,24 +1642,45 @@ TEST.NAME:handleWetSelfTestFirstDisplacementVerifyState.002 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 2632 TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 2632 TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleWetSelfTestFirstDisplacementVerifyState.003 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestFirstDisplacementVerifyState +TEST.NEW +TEST.NAME:handleWetSelfTestFirstDisplacementVerifyState.003 +TEST.NOTES: +This is an automatically generated test case. +Test Path 2 +(1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.fmdIntegratedVolume:0.0 +TEST.VALUE:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE +TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestFirstDisplacementVerifyState.return:WET_SELF_TESTS_FIRST_DISPLACEMENT_VERIFY_STATE +TEST.END + -- Subprogram: handleWetSelfTestPrimeCheckState -- Test Case: handleWetSelfTestPrimeCheckState.001 @@ -1372,24 +1690,66 @@ TEST.NAME:handleWetSelfTestPrimeCheckState.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 2733 TEST.VALUE:SelfTests.handleWetSelfTestPrimeCheckState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 2733 TEST.VALUE:SelfTests.handleWetSelfTestPrimeCheckState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:5 of 5 TEST.NOTES: This is an automatically generated test case. - Test Path 5 - (1) if ((BUBBLE_NOT_DETECTED) == ADABubbleStatus && (BUBBLE_NOT_DETECTED) == ADVBubbleStatus) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 5 +(1) if ((BUBBLE_NOT_DETECTED) == ADABubbleStatus && (BUBBLE_NOT_DETECTED) == ADVBubbleStatus) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_PRIME_CHECK_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_DETECTED +TEST.EXPECTED:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleWetSelfTestPrimeCheckState.002 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestPrimeCheckState +TEST.NEW +TEST.NAME:handleWetSelfTestPrimeCheckState.002 +TEST.NOTES: +This is an automatically generated test case. +Test Path 5 +(1) if ((BUBBLE_NOT_DETECTED) == ADABubbleStatus && (BUBBLE_NOT_DETECTED) == ADVBubbleStatus) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_PRIME_CHECK_STATE +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_NOT_DETECTED +TEST.EXPECTED:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_STOPPED_STATE +TEST.END + +-- Test Case: handleWetSelfTestPrimeCheckState.003 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestPrimeCheckState +TEST.NEW +TEST.NAME:handleWetSelfTestPrimeCheckState.003 +TEST.NOTES: +This is an automatically generated test case. +Test Path 5 +(1) if ((BUBBLE_NOT_DETECTED) == ADABubbleStatus && (BUBBLE_NOT_DETECTED) == ADVBubbleStatus) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_PRIME_CHECK_STATE +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:0 +TEST.VALUE:uut_prototype_stubs.getBubbleStatus.return:BUBBLE_DETECTED +TEST.EXPECTED:SelfTests.handleWetSelfTestPrimeCheckState.return:WET_SELF_TESTS_PRIME_CHECK_STATE +TEST.END + -- Subprogram: handleWetSelfTestSecondDisplacementSetupState -- Test Case: handleWetSelfTestSecondDisplacementSetupState.001 @@ -1456,6 +1816,26 @@ TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:2 TEST.END +-- Test Case: handleWetSelfTestSecondDisplacementSetupState.004 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestSecondDisplacementSetupState +TEST.NEW +TEST.NAME:handleWetSelfTestSecondDisplacementSetupState.004 +TEST.NOTES: +This is an automatically generated test case. + Test Path 4 + (1) if ((0) == isValvesSettingSent) ==> FALSE + (2) if ((1) == isValvesSettingSent && (1) == getDGCommandResponse(DG_CMD_VALVE_SETTING, &cmdResp)) ==> TRUE + Row number 1 forms a pair with Row 3 for Condition #2, subcondition "a". + Condition a ==> TRUE + Condition b ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.isValvesSettingSent:0 +TEST.VALUE:uut_prototype_stubs.getDGCommandResponse.return:1 +TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:0 +TEST.END + -- Subprogram: handleWetSelfTestSecondDisplacementState -- Test Case: handleWetSelfTestSecondDisplacementState.001 @@ -1466,13 +1846,15 @@ TEST.MCDC_BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_STATE TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestSecondDisplacementState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_VERIFY_STATE TEST.END -- Test Case: handleWetSelfTestSecondDisplacementState.002 @@ -1483,15 +1865,17 @@ TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(displacementStartTime, 60 * 1000)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleWetSelfTestSecondDisplacementState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleWetSelfTestSecondDisplacementVerifyState @@ -1503,20 +1887,22 @@ TEST.NAME:handleWetSelfTestSecondDisplacementVerifyState.001 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 3028 TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 3028 TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:2 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 2 - (1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 2 +(1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #1, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_VERIFY_STATE TEST.VALUE:uut_prototype_stubs.didTimeout.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_VERIFY_STATE TEST.END -- Test Case: handleWetSelfTestSecondDisplacementVerifyState.002 @@ -1526,22 +1912,24 @@ TEST.NAME:handleWetSelfTestSecondDisplacementVerifyState.002 TEST.IMPORT_FAILURES: (E) Errors from previous script import(s) - >>> (E) @LINE: 3131 TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.result:<> - >>> >>> Unknown parameter/object name result - >>> >>> Value Line Error - Command Ignored +>>> (E) @LINE: 3131 TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.result:<> +>>> >>> Unknown parameter/object name result +>>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:4 of 7 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> FALSE - (3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: +Test Path 4 +(1) if ((1) == didTimeout(settleStartTime, 4 * 1000)) ==> FALSE +(3) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #3, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.return:WET_SELF_TESTS_SECOND_DISPLACEMENT_VERIFY_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 TEST.VALUE:uut_prototype_stubs.didTimeout.return:<> +TEST.EXPECTED:SelfTests.handleWetSelfTestSecondDisplacementVerifyState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END -- Subprogram: handleWetSelfTestSetupState @@ -1554,17 +1942,41 @@ TEST.MCDC_BASIS_PATH:4 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 4 - (1) if (setupDisplacementVolume <= (0)) ==> FALSE - (2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE - Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". - Condition a ==> TRUE - Test Case Generation Notes: - Cannot set setupDisplacementVolume due to assignment +Test Path 4 +(1) if (setupDisplacementVolume <= (0)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +Cannot set setupDisplacementVolume due to assignment TEST.END_NOTES: +TEST.VALUE:SelfTests.handleWetSelfTestSetupState.return:WET_SELF_TESTS_SETUP_STATE TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:1 +TEST.EXPECTED:SelfTests.handleWetSelfTestSetupState.return:WET_SELF_TESTS_STOPPED_STATE TEST.END +-- Test Case: handleWetSelfTestSetupState.002 +TEST.UNIT:SelfTests +TEST.SUBPROGRAM:handleWetSelfTestSetupState +TEST.NEW +TEST.NAME:handleWetSelfTestSetupState.002 +TEST.NOTES: +This is an automatically generated test case. +Test Path 4 +(1) if (setupDisplacementVolume <= (0)) ==> FALSE +(2) if ((1) == doesAlarmStatusIndicateStop()) ==> TRUE +Row number 1 forms a pair with Row 2 for Condition #2, subcondition "a". +Condition a ==> TRUE +Test Case Generation Notes: +Cannot set setupDisplacementVolume due to assignment +TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.setupDisplacementVolume:1.0 +TEST.VALUE:SelfTests.handleWetSelfTestSetupState.return:WET_SELF_TESTS_SETUP_STATE +TEST.VALUE:uut_prototype_stubs.doesAlarmStatusIndicateStop.return:0 +TEST.EXPECTED:SelfTests.<>.setupDisplacementVolume:1.0 +TEST.EXPECTED:SelfTests.handleWetSelfTestSetupState.return:WET_SELF_TESTS_SETUP_STATE +TEST.END + -- Subprogram: handleWetSelfTestStartState -- Test Case: handleWetSelfTestStartState.001 @@ -1687,6 +2099,7 @@ TEST.SUBPROGRAM:isWetSelfTestsPassed TEST.NEW TEST.NAME:isWetSelfTestsPassed.001 +TEST.EXPECTED:SelfTests.isWetSelfTestsPassed.return:0 TEST.END -- Subprogram: resetSelfTestsFlags @@ -1706,6 +2119,10 @@ TEST.SUBPROGRAM:setupForSelfTestsStop TEST.NEW TEST.NAME:setupForSelfTestsStop.001 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT TEST.END -- Test Case: setupForSelfTestsStop.002 @@ -1714,6 +2131,10 @@ TEST.NEW TEST.NAME:setupForSelfTestsStop.002 TEST.VALUE:uut_prototype_stubs.isAlarmActive.return:1 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT TEST.END -- Subprogram: signalResumeSelfTests @@ -1733,6 +2154,18 @@ TEST.SUBPROGRAM:transitionToDrySelfTests TEST.NEW TEST.NAME:transitionToDrySelfTests.001 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT +TEST.VALUE:uut_prototype_stubs.setValveAirTrap.state:STATE_CLOSED +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:100 +TEST.EXPECTED:SelfTests.<>.currentDrySelfTestsState:DRY_SELF_TESTS_START_STATE +TEST.EXPECTED:SelfTests.<>.pressureSelfTestBloodPumpRunStartTime:0 +TEST.EXPECTED:SelfTests.<>.pressureSelfTestNormalizedStartTime:0 +TEST.EXPECTED:SelfTests.<>.previousNormalArterialPressure:0.0 +TEST.EXPECTED:SelfTests.<>.previousNormalVenousPressure:0.0 +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:(4)VALVE_POSITION_A_INSERT_EJECT +TEST.EXPECTED:uut_prototype_stubs.setValveAirTrap.state:STATE_CLOSED TEST.END -- Subprogram: transitionToNoCartSelfTests @@ -1745,85 +2178,46 @@ TEST.MCDC_BASIS_PATH:1 of 4 TEST.NOTES: This is an automatically generated test case. - Test Path 1 - (1) (bolusVol > (0.0) || hepRate > (0.0)) ==> TRUE - Row number 2 forms a pair with Row 4 for Condition #1, subcondition "a". - Condition a ==> TRUE - Condition b ==> FALSE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getTreatmentParameterF32.return 'less than' and 'greater than' same value in branch 1 +Test Path 1 +(1) (bolusVol > (0.0) || hepRate > (0.0)) ==> TRUE +Row number 2 forms a pair with Row 4 for Condition #1, subcondition "a". +Condition a ==> TRUE +Condition b ==> FALSE +Test Case Generation Notes: +Conflict: Trying to set variable uut_prototype_stubs.getTreatmentParameterF32.return 'less than' and 'greater than' same value in branch 1 TEST.END_NOTES: +TEST.VALUE:SelfTests.<>.currentNoCartSelfTestsState:NO_CART_SELF_TESTS_START_STATE TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT +TEST.VALUE:uut_prototype_stubs.setValveAirTrap.state:STATE_CLOSED +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:100 +TEST.EXPECTED:SelfTests.<>.currentNoCartSelfTestsState:NO_CART_SELF_TESTS_START_STATE +TEST.EXPECTED:SelfTests.<>.runPumpStartTime:0 +TEST.EXPECTED:SelfTests.<>.havePumpsStarted:0 +TEST.EXPECTED:SelfTests.<>.selfTestStartTime:100 +TEST.EXPECTED:SelfTests.<>.selfTestPreviousPublishDataTime:100 +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_A_INSERT_EJECT TEST.END --- Test Case: transitionToNoCartSelfTests,002 -TEST.UNIT:SelfTests -TEST.SUBPROGRAM:transitionToNoCartSelfTests -TEST.NEW -TEST.NAME:transitionToNoCartSelfTests,002 -TEST.MCDC_BASIS_PATH:3 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) (bolusVol > (0.0) || hepRate > (0.0)) ==> TRUE - Row number 3 forms a pair with Row 4 for Condition #1, subcondition "b". - Condition a ==> FALSE - Condition b ==> TRUE - Test Case Generation Notes: - Conflict: Trying to set variable uut_prototype_stubs.getTreatmentParameterF32.return 'less than' and 'greater than' same value in branch 1 -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: transitionToNoCartSelfTests,003 -TEST.UNIT:SelfTests -TEST.SUBPROGRAM:transitionToNoCartSelfTests -TEST.NEW -TEST.NAME:transitionToNoCartSelfTests,003 -TEST.MCDC_BASIS_PATH:2 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) (bolusVol > (0.0) || hepRate > (0.0)) ==> FALSE - Row number 4 forms a pair with Row 2 for Condition #1, subcondition "a". - Condition a ==> FALSE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: transitionToNoCartSelfTests,004 -TEST.UNIT:SelfTests -TEST.SUBPROGRAM:transitionToNoCartSelfTests -TEST.NEW -TEST.NAME:transitionToNoCartSelfTests,004 -TEST.MCDC_BASIS_PATH:4 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) (bolusVol > (0.0) || hepRate > (0.0)) ==> FALSE - Row number 4 forms a pair with Row 3 for Condition #1, subcondition "b". - Condition a ==> FALSE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: transitionToNoCartSelfTests,005 -TEST.UNIT:SelfTests -TEST.SUBPROGRAM:transitionToNoCartSelfTests -TEST.NEW -TEST.NAME:transitionToNoCartSelfTests,005 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:-1.0,1.0 -TEST.END - -- Subprogram: transitionToWetSelfTests -- Test Case: transitionToWetSelfTests.001 TEST.UNIT:SelfTests TEST.SUBPROGRAM:transitionToWetSelfTests TEST.NEW TEST.NAME:transitionToWetSelfTests.001 +TEST.VALUE:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.VALUE:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_C_CLOSE +TEST.VALUE:uut_prototype_stubs.getMSTimerCount.return:100 +TEST.EXPECTED:SelfTests.<>.currentWetSelfTestsState:WET_SELF_TESTS_START_STATE +TEST.EXPECTED:SelfTests.<>.settleStartTime:0 +TEST.EXPECTED:SelfTests.<>.displacementStartTime:0 +TEST.EXPECTED:SelfTests.<>.fmdIntegratedVolume:0.0 +TEST.EXPECTED:SelfTests.<>.isValvesSettingSent:0 +TEST.EXPECTED:SelfTests.<>.selfTestStartTime:100 +TEST.EXPECTED:SelfTests.<>.selfTestPreviousPublishDataTime:100 +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.valve:VDI,VDO,VBA,VBV +TEST.EXPECTED:uut_prototype_stubs.setValvePosition.position:VALVE_POSITION_C_CLOSE TEST.END Index: vectorcast/Hercules_RM46_HD_Project/environment/SYRINGEPUMP/SYRINGEPUMP.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/SYRINGEPUMP/SYRINGEPUMP.tst (.../SYRINGEPUMP.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/SYRINGEPUMP/SYRINGEPUMP.tst (.../SYRINGEPUMP.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -17,57 +17,6 @@ -- Subprogram: calcMeasRate --- Test Case: BASIS-PATH-001-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-001-TEMPLATE -TEST.BASIS_PATH:1 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++syringePumpSpeedCalcTimerCounter >= 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: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++syringePumpSpeedCalcTimerCounter >= 40 / 10) ==> TRUE - (2) if (syringePumpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> FALSE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.<>.syringePumpMotorSpeedCalcIdx:<> -TEST.END - --- Test Case: BASIS-PATH-003-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-003-PARTIAL -TEST.BASIS_PATH:3 of 3 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (++syringePumpSpeedCalcTimerCounter >= 40 / 10) ==> TRUE - (2) if (syringePumpMotorSpeedCalcIdx >= (1000 / (40 / 10)) / 10 - 1) ==> TRUE - Test Case Generation Notes: - Conflict: Unable to control expression-to-expression comparison in branch 1 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.<>.syringePumpMotorSpeedCalcIdx:<> -TEST.END - -- Test Case: calcMeasRate.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:calcMeasRate @@ -127,17 +76,6 @@ -- Subprogram: calcSafetyVolumeDelivered --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcSafetyVolumeDelivered -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: calcSafetyVolumeDelivered.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:calcSafetyVolumeDelivered @@ -150,38 +88,6 @@ -- Subprogram: calcStepperToggleTimeForTargetRate --- Test Case: BASIS-PATH-001-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcStepperToggleTimeForTargetRate -TEST.NEW -TEST.NAME:BASIS-PATH-001-PARTIAL -TEST.BASIS_PATH:1 of 2 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (conv < (0.0F)) ==> FALSE - Test Case Generation Notes: - Cannot set conv due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.calcStepperToggleTimeForTargetRate.rate:<> -TEST.END - --- Test Case: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:calcStepperToggleTimeForTargetRate -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 2 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (conv < (0.0F)) ==> TRUE - Test Case Generation Notes: - Cannot set conv due to assignment -TEST.END_NOTES: -TEST.VALUE:SyringePump.calcStepperToggleTimeForTargetRate.rate:<> -TEST.END - -- Test Case: calcStepperToggleTimeForTargetRate.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:calcStepperToggleTimeForTargetRate @@ -298,11 +204,11 @@ -- Subprogram: checkForPrimeOcclusion --- Test Case: BASIS-PATH-001-TEMPLATE +-- Test Case: checkForPrimeOcclusion.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkForPrimeOcclusion TEST.NEW -TEST.NAME:BASIS-PATH-001-TEMPLATE +TEST.NAME:checkForPrimeOcclusion.001 TEST.BASIS_PATH:1 of 3 (template) TEST.NOTES: This is an automatically generated test case. @@ -313,118 +219,32 @@ Cannot set local variable forceDelta in branch 1 Cannot set local variable occlusionDetected in branch 2 TEST.END_NOTES: +TEST.EXPECTED:SyringePump.checkForPrimeOcclusion.return:0 TEST.END --- Test Case: BASIS-PATH-002-TEMPLATE +-- Test Case: checkForPrimeOcclusion.002 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkForPrimeOcclusion TEST.NEW -TEST.NAME:BASIS-PATH-002-TEMPLATE -TEST.BASIS_PATH:2 of 3 (template) +TEST.NAME:checkForPrimeOcclusion.002 TEST.NOTES: This is an automatically generated test case. - Test Path 2 + Test Path 1 (1) if (forceDelta >= (0.5F)) ==> FALSE - (2) if ((1) == occlusionDetected) ==> TRUE - Test Case Generation Notes: - Cannot set local variable forceDelta in branch 1 - Cannot set local variable occlusionDetected in branch 2 -TEST.END_NOTES: -TEST.END - --- Test Case: BASIS-PATH-003-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkForPrimeOcclusion -TEST.NEW -TEST.NAME:BASIS-PATH-003-TEMPLATE -TEST.BASIS_PATH:3 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (forceDelta >= (0.5F)) ==> TRUE (2) if ((1) == occlusionDetected) ==> FALSE Test Case Generation Notes: Cannot set local variable forceDelta in branch 1 Cannot set local variable occlusionDetected in branch 2 TEST.END_NOTES: +TEST.STUB:SyringePump.getSyringePumpForceV +TEST.VALUE:SyringePump.<>.forceAtEndOfSeek:0.1 +TEST.VALUE:SyringePump.getSyringePumpForceV.return:0.6 +TEST.EXPECTED:SyringePump.<>.forceAtEndOfSeek:0.1 +TEST.EXPECTED:SyringePump.checkForPrimeOcclusion.return:1 TEST.END -- Subprogram: checkForStall --- Test Case: BASIS-PATH-001-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkForStall -TEST.NEW -TEST.NAME:BASIS-PATH-001-PARTIAL -TEST.BASIS_PATH:1 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (fabs(getSyringePumpMeasRate()) < ((0.05000000075F))) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 1 -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkForStall.stopPump:<> -TEST.END - --- Test Case: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkForStall -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (fabs(getSyringePumpMeasRate()) < ((0.05000000075F))) ==> TRUE - (2) if (++syringePumpStallCtr >= 500 / 10) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 1 - Conflict: Unable to control expression-to-expression comparison in branch 2 -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkForStall.stopPump:<> -TEST.END - --- Test Case: BASIS-PATH-003-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkForStall -TEST.NEW -TEST.NAME:BASIS-PATH-003-PARTIAL -TEST.BASIS_PATH:3 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (fabs(getSyringePumpMeasRate()) < ((0.05000000075F))) ==> TRUE - (2) if (++syringePumpStallCtr >= 500 / 10) ==> TRUE - (3) if (++syringePumpStallRetryCount <= (3)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 1 - Conflict: Unable to control expression-to-expression comparison in branch 2 - Conflict: Unable to control expression-to-expression comparison in branch 3 -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkForStall.stopPump:<> -TEST.END - --- Test Case: BASIS-PATH-004-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkForStall -TEST.NEW -TEST.NAME:BASIS-PATH-004-PARTIAL -TEST.BASIS_PATH:4 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (fabs(getSyringePumpMeasRate()) < ((0.05000000075F))) ==> TRUE - (2) if (++syringePumpStallCtr >= 500 / 10) ==> TRUE - (3) if (++syringePumpStallRetryCount <= (3)) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 1 - Conflict: Unable to control expression-to-expression comparison in branch 2 - Conflict: Unable to control expression-to-expression comparison in branch 3 -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkForStall.stopPump:<> -TEST.END - -- Test Case: checkForStall.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkForStall @@ -508,88 +328,6 @@ -- Subprogram: checkMaxTravel --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMaxTravel -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (pos > (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (10.84000015F) - (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (0.5F)) ==> FALSE - (2) if (pos > maxPos) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.VALUE:SyringePump.checkMaxTravel.stopPump:<> -TEST.VALUE:SyringePump.checkMaxTravel.maxPos:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMaxTravel -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (pos > (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (10.84000015F) - (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (0.5F)) ==> FALSE - (2) if (pos > maxPos) ==> TRUE - (3) if (syringePumpState != (SYRINGE_PUMP_PRIME_STATE)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_PRIME_STATE -TEST.VALUE:SyringePump.getSyringePumpPosition.return:398441 -TEST.VALUE:SyringePump.checkMaxTravel.stopPump:<> -TEST.VALUE:SyringePump.checkMaxTravel.maxPos:<> -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMaxTravel -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (pos > (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (10.84000015F) - (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (0.5F)) ==> FALSE - (2) if (pos > maxPos) ==> TRUE - (3) if (syringePumpState != (SYRINGE_PUMP_PRIME_STATE)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_INIT_STATE -TEST.VALUE:SyringePump.getSyringePumpPosition.return:398441 -TEST.VALUE:SyringePump.checkMaxTravel.stopPump:<> -TEST.VALUE:SyringePump.checkMaxTravel.maxPos:<> -TEST.END - --- Test Case: BASIS-PATH-004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMaxTravel -TEST.NEW -TEST.NAME:BASIS-PATH-004 -TEST.BASIS_PATH:4 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (pos > (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (10.84000015F) - (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * (0.5F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.VALUE:SyringePump.checkMaxTravel.stopPump:<> -TEST.VALUE:SyringePump.checkMaxTravel.maxPos:<> -TEST.END - -- Test Case: checkMaxTravel.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkMaxTravel @@ -694,127 +432,6 @@ -- Subprogram: checkMeasRate --- Test Case: BASIS-PATH-001-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-001-PARTIAL -TEST.BASIS_PATH:1 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (rate < syringePumpSetRate) ==> FALSE - (2) if (rate > syringePumpSetRate) ==> FALSE - (3) if (max > (0.0)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_SPEED_ERROR, error > pctMargin && delta > (0.1000000015F))) ==> FALSE - Test Case Generation Notes: - Cannot set local variable max in branch 3 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpMeasRate -TEST.VALUE:SyringePump.<>.syringePumpSetRate:<> -TEST.VALUE:SyringePump.getSyringePumpMeasRate.return:<> -TEST.VALUE:SyringePump.checkMeasRate.stopPump:<> -TEST.VALUE:SyringePump.checkMeasRate.pctMargin:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.END - --- Test Case: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (rate < syringePumpSetRate) ==> FALSE - (2) if (rate > syringePumpSetRate) ==> FALSE - (3) if (max > (0.0)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_SPEED_ERROR, error > pctMargin && delta > (0.1000000015F))) ==> TRUE - Test Case Generation Notes: - Cannot set local variable max in branch 3 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpMeasRate -TEST.VALUE:SyringePump.<>.syringePumpSetRate:<> -TEST.VALUE:SyringePump.getSyringePumpMeasRate.return:<> -TEST.VALUE:SyringePump.checkMeasRate.stopPump:<> -TEST.VALUE:SyringePump.checkMeasRate.pctMargin:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:1 -TEST.END - --- Test Case: BASIS-PATH-003-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-003-PARTIAL -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (rate < syringePumpSetRate) ==> FALSE - (2) if (rate > syringePumpSetRate) ==> FALSE - (3) if (max > (0.0)) ==> TRUE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_SPEED_ERROR, error > pctMargin && delta > (0.1000000015F))) ==> FALSE - Test Case Generation Notes: - Cannot set local variable max in branch 3 - Cannot set local variable max in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpMeasRate -TEST.VALUE:SyringePump.<>.syringePumpSetRate:<> -TEST.VALUE:SyringePump.getSyringePumpMeasRate.return:<> -TEST.VALUE:SyringePump.checkMeasRate.stopPump:<> -TEST.VALUE:SyringePump.checkMeasRate.pctMargin:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.END - --- Test Case: BASIS-PATH-004-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-004-PARTIAL -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (rate < syringePumpSetRate) ==> FALSE - (2) if (rate > syringePumpSetRate) ==> TRUE - (3) if (max > (0.0)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_SPEED_ERROR, error > pctMargin && delta > (0.1000000015F))) ==> FALSE - Test Case Generation Notes: - Cannot set local variable max in branch 3 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpMeasRate -TEST.VALUE:SyringePump.<>.syringePumpSetRate:<> -TEST.VALUE:SyringePump.getSyringePumpMeasRate.return:<> -TEST.VALUE:SyringePump.checkMeasRate.stopPump:<> -TEST.VALUE:SyringePump.checkMeasRate.pctMargin:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.END - --- Test Case: BASIS-PATH-005-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkMeasRate -TEST.NEW -TEST.NAME:BASIS-PATH-005-PARTIAL -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (rate < syringePumpSetRate) ==> TRUE - (2) if (rate > syringePumpSetRate) ==> FALSE - (3) if (max > (0.0)) ==> FALSE - (4) if ((1) == isPersistentAlarmTriggered(ALARM_ID_HD_SYRINGE_PUMP_SPEED_ERROR, error > pctMargin && delta > (0.1000000015F))) ==> FALSE - Test Case Generation Notes: - Cannot set local variable max in branch 3 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpMeasRate -TEST.VALUE:SyringePump.<>.syringePumpSetRate:<> -TEST.VALUE:SyringePump.getSyringePumpMeasRate.return:<> -TEST.VALUE:SyringePump.checkMeasRate.stopPump:<> -TEST.VALUE:SyringePump.checkMeasRate.pctMargin:<> -TEST.VALUE:uut_prototype_stubs.isPersistentAlarmTriggered.return:<> -TEST.END - -- Test Case: checkMeasRate.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkMeasRate @@ -1002,40 +619,6 @@ -- Subprogram: checkSyringeRemoved --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkSyringeRemoved -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((0) == isSyringeDetected()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:SyringePump.isSyringeDetected.return:1 -TEST.VALUE:SyringePump.checkSyringeRemoved.stopPump:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkSyringeRemoved -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((0) == isSyringeDetected()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.isSyringeDetected -TEST.VALUE:SyringePump.isSyringeDetected.return:0 -TEST.VALUE:SyringePump.checkSyringeRemoved.stopPump:<> -TEST.END - -- Test Case: checkSyringeRemoved.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkSyringeRemoved @@ -1080,130 +663,6 @@ -- Subprogram: checkVolumeVsSafetyVolume --- Test Case: BASIS-PATH-001-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkVolumeVsSafetyVolume -TEST.NEW -TEST.NAME:BASIS-PATH-001-PARTIAL -TEST.BASIS_PATH:1 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (vol < syringePumpSafetyVolumeDelivered) ==> FALSE - (2) if (vol > syringePumpSafetyVolumeDelivered) ==> FALSE - (3) if (fabs(max) < (1.000000000000000021e-08)) ==> FALSE - (4) if (error > pctMargin && delta > (0.1000000015F)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 3 - Cannot set local variable max in branch 4 - Cannot set local variable delta in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.<>.syringePumpSafetyVolumeDelivered:<> -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.stopPump:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.pctMargin:<> -TEST.END - --- Test Case: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkVolumeVsSafetyVolume -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (vol < syringePumpSafetyVolumeDelivered) ==> FALSE - (2) if (vol > syringePumpSafetyVolumeDelivered) ==> FALSE - (3) if (fabs(max) < (1.000000000000000021e-08)) ==> FALSE - (4) if (error > pctMargin && delta > (0.1000000015F)) ==> TRUE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 3 - Cannot set local variable max in branch 4 - Cannot set local variable delta in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.<>.syringePumpSafetyVolumeDelivered:<> -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.stopPump:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.pctMargin:<> -TEST.END - --- Test Case: BASIS-PATH-003-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkVolumeVsSafetyVolume -TEST.NEW -TEST.NAME:BASIS-PATH-003-PARTIAL -TEST.BASIS_PATH:3 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (vol < syringePumpSafetyVolumeDelivered) ==> FALSE - (2) if (vol > syringePumpSafetyVolumeDelivered) ==> FALSE - (3) if (fabs(max) < (1.000000000000000021e-08)) ==> TRUE - (4) if (error > pctMargin && delta > (0.1000000015F)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 3 - Cannot set local variable delta in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.<>.syringePumpSafetyVolumeDelivered:<> -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.stopPump:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.pctMargin:<> -TEST.END - --- Test Case: BASIS-PATH-004-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkVolumeVsSafetyVolume -TEST.NEW -TEST.NAME:BASIS-PATH-004-PARTIAL -TEST.BASIS_PATH:4 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (vol < syringePumpSafetyVolumeDelivered) ==> FALSE - (2) if (vol > syringePumpSafetyVolumeDelivered) ==> TRUE - (3) if (fabs(max) < (1.000000000000000021e-08)) ==> FALSE - (4) if (error > pctMargin && delta > (0.1000000015F)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 3 - Cannot set local variable max in branch 4 - Cannot set local variable delta in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.<>.syringePumpSafetyVolumeDelivered:<> -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.stopPump:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.pctMargin:<> -TEST.END - --- Test Case: BASIS-PATH-005-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:checkVolumeVsSafetyVolume -TEST.NEW -TEST.NAME:BASIS-PATH-005-PARTIAL -TEST.BASIS_PATH:5 of 5 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (vol < syringePumpSafetyVolumeDelivered) ==> TRUE - (2) if (vol > syringePumpSafetyVolumeDelivered) ==> FALSE - (3) if (fabs(max) < (1.000000000000000021e-08)) ==> FALSE - (4) if (error > pctMargin && delta > (0.1000000015F)) ==> FALSE - Test Case Generation Notes: - Cannot set return value of function fabs in branch 3 - Cannot set local variable max in branch 4 - Cannot set local variable delta in branch 4 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.<>.syringePumpSafetyVolumeDelivered:<> -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.stopPump:<> -TEST.VALUE:SyringePump.checkVolumeVsSafetyVolume.pctMargin:<> -TEST.END - -- Test Case: checkVolumeVsSafetyVolume.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:checkVolumeVsSafetyVolume @@ -1294,174 +753,6 @@ -- Subprogram: execSyringePump --- Test Case: BASIS-PATH-001-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-001-TEMPLATE -TEST.BASIS_PATH:1 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (10) case syringePumpState ==> default - Test Case Generation Notes: - Conflict: Trying to set variable SyringePump.<>.syringePumpState 'equal to' and 'not equal to' same value in branches 1/2 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-002-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-002-TEMPLATE -TEST.BASIS_PATH:2 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (2) case syringePumpState ==> SYRINGE_PUMP_INIT_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/2 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (3) case syringePumpState ==> SYRINGE_PUMP_OFF_STATE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-004-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-004-TEMPLATE -TEST.BASIS_PATH:4 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (4) case syringePumpState ==> SYRINGE_PUMP_RETRACT_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/4 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-005-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-005-TEMPLATE -TEST.BASIS_PATH:5 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (5) case syringePumpState ==> SYRINGE_PUMP_SEEK_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/5 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-006-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-006-TEMPLATE -TEST.BASIS_PATH:6 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (6) case syringePumpState ==> SYRINGE_PUMP_PRIME_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/6 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-007-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-007-TEMPLATE -TEST.BASIS_PATH:7 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (7) case syringePumpState ==> SYRINGE_PUMP_HEP_BOLUS_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/7 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-008-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-008-TEMPLATE -TEST.BASIS_PATH:8 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (8) case syringePumpState ==> SYRINGE_PUMP_HEP_CONTINUOUS_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/8 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-009-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-009-TEMPLATE -TEST.BASIS_PATH:9 of 10 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 9 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> FALSE - (9) case syringePumpState ==> SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.<>.syringePumpState) in branches 1/9 -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.END - --- Test Case: BASIS-PATH-010 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:execSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-010 -TEST.BASIS_PATH:10 of 10 -TEST.NOTES: -This is an automatically generated test case. - Test Path 10 - (1) if (syringePumpState != (SYRINGE_PUMP_OFF_STATE)) ==> TRUE - (10) case syringePumpState ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:NUM_OF_SYRINGE_PUMP_STATES -TEST.END - -- Test Case: execSyringePump.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:execSyringePump @@ -2123,21 +1414,11 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:1 +TEST.EXPECTED:SyringePump.execSyringePumpSelfTest.return:SELF_TEST_STATUS_PASSED TEST.END -- Subprogram: getHeparinState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:getHeparinState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: getHeparinState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:getHeparinState @@ -2160,6 +1441,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getF32OverrideValue.return:100.0 +TEST.EXPECTED:SyringePump.getHeprinBolusTargetRate.return:100.0 TEST.END -- Subprogram: getSyringePumpADCReadCounter @@ -2173,6 +1456,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getU08OverrideValue.return:100 +TEST.EXPECTED:SyringePump.getSyringePumpADCReadCounter.return:100 TEST.END -- Subprogram: getSyringePumpADCandDACStatus @@ -2186,6 +1471,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getU08OverrideValue.return:100 +TEST.EXPECTED:SyringePump.getSyringePumpADCandDACStatus.return:100 TEST.END -- Subprogram: getSyringePumpEncoderStatus @@ -2199,6 +1486,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getU08OverrideValue.return:100 +TEST.EXPECTED:SyringePump.getSyringePumpEncoderStatus.return:100 TEST.END -- Subprogram: getSyringePumpForceV @@ -2212,6 +1501,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getF32OverrideValue.return:100.0 +TEST.EXPECTED:SyringePump.getSyringePumpForceV.return:100.0 TEST.END -- Subprogram: getSyringePumpHomeDetectorV @@ -2225,6 +1516,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getF32OverrideValue.return:100.0 +TEST.EXPECTED:SyringePump.getSyringePumpHomeDetectorV.return:100.0 TEST.END -- Subprogram: getSyringePumpMeasRate @@ -2238,6 +1531,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getF32OverrideValue.return:100.0 +TEST.EXPECTED:SyringePump.getSyringePumpMeasRate.return:100.0 TEST.END -- Subprogram: getSyringePumpPosition @@ -2251,6 +1546,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getS32OverrideValue.return:100 +TEST.EXPECTED:SyringePump.getSyringePumpPosition.return:100 TEST.END -- Subprogram: getSyringePumpStatus @@ -2264,6 +1561,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getU08OverrideValue.return:100 +TEST.EXPECTED:SyringePump.getSyringePumpStatus.return:100 TEST.END -- Subprogram: getSyringePumpSyringeDetectorV @@ -2277,6 +1576,8 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.VALUE:uut_prototype_stubs.getF32OverrideValue.return:100.0 +TEST.EXPECTED:SyringePump.getSyringePumpSyringeDetectorV.return:100.0 TEST.END -- Subprogram: getSyringePumpVolumeDelivered @@ -2304,63 +1605,6 @@ -- Subprogram: handleSyringePumpBolusState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpBolusState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (getSyringePumpVolumeDelivered() >= bolusVol) ==> FALSE - (2) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpBolusState -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (getSyringePumpVolumeDelivered() >= bolusVol) ==> FALSE - (2) if ((1) == stopPump) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkDirection.return:1 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpBolusState -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (getSyringePumpVolumeDelivered() >= bolusVol) ==> TRUE - (2) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpVolumeDelivered -TEST.VALUE:SyringePump.getSyringePumpVolumeDelivered.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - -- Test Case: handleSyringePumpBolusState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpBolusState @@ -2427,54 +1671,6 @@ -- Subprogram: handleSyringePumpCalibrateForceSensorState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((adcDACStatus & 0x80) != 0) ==> FALSE - (2) if ((adcDACStatus & 0x40) != 0) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:0 -TEST.END - --- Test Case: BASIS-PATH-002-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:BASIS-PATH-002-TEMPLATE -TEST.BASIS_PATH:2 of 3 (template) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((adcDACStatus & 0x80) != 0) ==> FALSE - (2) if ((adcDACStatus & 0x40) != 0) ==> TRUE - Test Case Generation Notes: - Conflict: Multiple equality operators with different values (SyringePump.getSyringePumpADCandDACStatus.return) in branches 1/2 -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:0 -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((adcDACStatus & 0x80) != 0) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.getSyringePumpADCandDACStatus.return:128 -TEST.END - -- Test Case: handleSyringePumpCalibrateForceSensorState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpCalibrateForceSensorState @@ -2533,36 +1729,6 @@ -- Subprogram: handleSyringePumpContinuousState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpContinuousState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpContinuousState -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == stopPump) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.checkDirection.return:1 -TEST.END - -- Test Case: handleSyringePumpContinuousState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpContinuousState @@ -2646,17 +1812,6 @@ -- Subprogram: handleSyringePumpInitState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpInitState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: handleSyringePumpInitState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpInitState @@ -2956,90 +2111,6 @@ -- Subprogram: handleSyringePumpRetractState --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpRetractState -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isSyringePumpHome()) ==> FALSE - (2) if ((1) == syringePumpPositionKnown && getSyringePumpPosition() < (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * -(0.5F)) ==> FALSE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.STUB:SyringePump.isSyringePumpHome -TEST.VALUE:SyringePump.<>.syringePumpPositionKnown:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.VALUE:SyringePump.isSyringePumpHome.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpRetractState -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isSyringePumpHome()) ==> FALSE - (2) if ((1) == syringePumpPositionKnown && getSyringePumpPosition() < (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * -(0.5F)) ==> FALSE - (3) if ((1) == stopPump) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.STUB:SyringePump.isSyringePumpHome -TEST.VALUE:SyringePump.<>.syringePumpPositionKnown:<> -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.VALUE:SyringePump.isSyringePumpHome.return:<> -TEST.VALUE:SyringePump.checkDirection.return:1 -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpRetractState -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == isSyringePumpHome()) ==> FALSE - (2) if ((1) == syringePumpPositionKnown && getSyringePumpPosition() < (((4000.0F) / (0.6349999905F)) / (((((1.442700028F) / (2.0F)) * ((1.442700028F) / (2.0F))) * (3.141592741F)) * (0.1000000015F))) * -(0.5F)) ==> TRUE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpPosition -TEST.STUB:SyringePump.isSyringePumpHome -TEST.VALUE:SyringePump.<>.syringePumpPositionKnown:1 -TEST.VALUE:SyringePump.getSyringePumpPosition.return:<> -TEST.VALUE:SyringePump.isSyringePumpHome.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - --- Test Case: BASIS-PATH-004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpRetractState -TEST.NEW -TEST.NAME:BASIS-PATH-004 -TEST.BASIS_PATH:4 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == isSyringePumpHome()) ==> TRUE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.isSyringePumpHome -TEST.VALUE:SyringePump.isSyringePumpHome.return:1 -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - -- Test Case: handleSyringePumpRetractState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpRetractState @@ -3185,92 +2256,6 @@ -- Subprogram: handleSyringePumpSeekState --- Test Case: BASIS-PATH-001-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpSeekState -TEST.NEW -TEST.NAME:BASIS-PATH-001-PARTIAL -TEST.BASIS_PATH:1 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (getSyringePumpForceV() >= (0.25F) || syringeVol < txVolume) ==> FALSE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: - Cannot set local variable syringeVol in branch 1 - Cannot set local variable txVolume in branch 1 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.VALUE:SyringePump.getSyringePumpForceV.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - --- Test Case: BASIS-PATH-002-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpSeekState -TEST.NEW -TEST.NAME:BASIS-PATH-002-PARTIAL -TEST.BASIS_PATH:2 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (getSyringePumpForceV() >= (0.25F) || syringeVol < txVolume) ==> FALSE - (3) if ((1) == stopPump) ==> TRUE - Test Case Generation Notes: - Cannot set local variable syringeVol in branch 1 - Cannot set local variable txVolume in branch 1 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.VALUE:SyringePump.getSyringePumpForceV.return:<> -TEST.VALUE:SyringePump.checkDirection.return:1 -TEST.END - --- Test Case: BASIS-PATH-003-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpSeekState -TEST.NEW -TEST.NAME:BASIS-PATH-003-PARTIAL -TEST.BASIS_PATH:3 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (getSyringePumpForceV() >= (0.25F) || syringeVol < txVolume) ==> TRUE - (2) if (syringeVol >= txVolume) ==> FALSE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: - Cannot set local variable syringeVol in branch 1 - Cannot set local variable txVolume in branch 1 - Cannot set local variable syringeVol in branch 2 - Cannot set local variable txVolume in branch 2 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.VALUE:SyringePump.getSyringePumpForceV.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - --- Test Case: BASIS-PATH-004-PARTIAL -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:handleSyringePumpSeekState -TEST.NEW -TEST.NAME:BASIS-PATH-004-PARTIAL -TEST.BASIS_PATH:4 of 4 (partial) -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if (getSyringePumpForceV() >= (0.25F) || syringeVol < txVolume) ==> TRUE - (2) if (syringeVol >= txVolume) ==> TRUE - (3) if ((1) == stopPump) ==> FALSE - Test Case Generation Notes: - Cannot set local variable syringeVol in branch 1 - Cannot set local variable txVolume in branch 1 - Cannot set local variable syringeVol in branch 2 - Cannot set local variable txVolume in branch 2 -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpForceV -TEST.VALUE:SyringePump.getSyringePumpForceV.return:<> -TEST.VALUE:SyringePump.checkDirection.return:<> -TEST.END - -- Test Case: handleSyringePumpSeekState.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:handleSyringePumpSeekState @@ -3395,36 +2380,6 @@ -- Subprogram: initSyringePump --- Test Case: BASIS-PATH-001-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:initSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-001-TEMPLATE -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: BASIS-PATH-002-TEMPLATE -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:initSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-002-TEMPLATE -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 - -- Test Case: initSyringePump.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:initSyringePump @@ -3490,38 +2445,6 @@ -- Subprogram: isSyringeDetected --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringeDetected -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (getSyringePumpSyringeDetectorV() >= (2.0F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpSyringeDetectorV -TEST.VALUE:SyringePump.getSyringePumpSyringeDetectorV.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringeDetected -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (getSyringePumpSyringeDetectorV() >= (2.0F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpSyringeDetectorV -TEST.VALUE:SyringePump.getSyringePumpSyringeDetectorV.return:<> -TEST.END - -- Test Case: isSyringeDetected.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringeDetected @@ -3564,17 +2487,6 @@ -- Subprogram: isSyringePlungerFound --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePlungerFound -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: isSyringePlungerFound.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePlungerFound @@ -3586,38 +2498,6 @@ -- Subprogram: isSyringePumpHome --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePumpHome -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (getSyringePumpHomeDetectorV() <= (0.25F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpHomeDetectorV -TEST.VALUE:SyringePump.getSyringePumpHomeDetectorV.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePumpHome -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (getSyringePumpHomeDetectorV() <= (0.25F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.getSyringePumpHomeDetectorV -TEST.VALUE:SyringePump.getSyringePumpHomeDetectorV.return:<> -TEST.END - -- Test Case: sSyringePumpHome.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePumpHome @@ -3660,17 +2540,6 @@ -- Subprogram: isSyringePumpPrimed --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePumpPrimed -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: isSyringePumpPrimed.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePumpPrimed @@ -3682,11 +2551,11 @@ -- Subprogram: isSyringePumpRunning --- Test Case: BASIS-PATH-001 +-- Test Case: isSyringePumpRunning.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePumpRunning TEST.NEW -TEST.NAME:BASIS-PATH-001 +TEST.NAME:isSyringePumpRunning.001 TEST.BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. @@ -3695,13 +2564,14 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:SyringePump.<>.syringePumpState:<> +TEST.EXPECTED:SyringePump.isSyringePumpRunning.return:0 TEST.END --- Test Case: BASIS-PATH-002 +-- Test Case: isSyringePumpRunning.002 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePumpRunning TEST.NEW -TEST.NAME:BASIS-PATH-002 +TEST.NAME:isSyringePumpRunning.002 TEST.BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. @@ -3710,40 +2580,11 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:SyringePump.<>.syringePumpState:<> +TEST.EXPECTED:SyringePump.isSyringePumpRunning.return:1 TEST.END -- Subprogram: isSyringePumpStopped --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePumpStopped -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (syringePumpState <= (SYRINGE_PUMP_OFF_STATE) || syringePumpState >= (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_RETRACT_STATE -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringePumpStopped -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (syringePumpState <= (SYRINGE_PUMP_OFF_STATE) || syringePumpState >= (SYRINGE_PUMP_CONFIG_FORCE_SENSOR_STATE)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:<> -TEST.END - -- Test Case: isSyringePumpStopped.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringePumpStopped @@ -3806,17 +2647,6 @@ -- Subprogram: isSyringeVolumeAdequate --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:isSyringeVolumeAdequate -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: isSyringeVolumeAdequate.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:isSyringeVolumeAdequate @@ -4033,36 +2863,6 @@ -- Subprogram: publishSyringePumpData --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:publishSyringePumpData -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++syringePumpDataPublicationTimerCounter >= getU32OverrideValue(&syringePumpDataPublishInterval)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getU32OverrideValue.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:publishSyringePumpData -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (++syringePumpDataPublicationTimerCounter >= getU32OverrideValue(&syringePumpDataPublishInterval)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.getU32OverrideValue.return:<> -TEST.END - -- Test Case: publishSyringePumpData.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:publishSyringePumpData @@ -4173,17 +2973,6 @@ -- Subprogram: resetHeparinVolumeDelivered --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:resetHeparinVolumeDelivered -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: resetHeparinVolumeDelivered.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:resetHeparinVolumeDelivered @@ -4201,17 +2990,6 @@ -- Subprogram: resetSyringePumpRequestFlags --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:resetSyringePumpRequestFlags -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: resetSyringePumpRequestFlags.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:resetSyringePumpRequestFlags @@ -4233,6 +3011,29 @@ -- Subprogram: retractSyringePump +-- Test Case: retractSyringePump.001 +TEST.UNIT:SyringePump +TEST.SUBPROGRAM:retractSyringePump +TEST.NEW +TEST.NAME:retractSyringePump.001 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((SYRINGE_PUMP_OFF_STATE) == syringePumpState && heparinDeliveryState != (HEPARIN_STATE_OFF)) ==> TRUE + Row number 1 forms a pair with Row 3 for Condition #1, subcondition "a". + Condition a ==> TRUE + Condition b ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE +TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF +TEST.VALUE:SyringePump.retractSyringePump.return:1 +TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_SERV +TEST.EXPECTED:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE +TEST.EXPECTED:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_STOPPED +TEST.EXPECTED:SyringePump.retractSyringePump.return:1 +TEST.END + -- Test Case: retractSyringePump_State_Not_Off_Delivary_Off TEST.UNIT:SyringePump TEST.SUBPROGRAM:retractSyringePump @@ -4506,17 +3307,6 @@ -- Subprogram: setHeparinCompleted --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setHeparinCompleted -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: setHeparinCompleted.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:setHeparinCompleted @@ -4528,17 +3318,6 @@ -- Subprogram: setHeparinOff --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setHeparinOff -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: setHeparinOff.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:setHeparinOff @@ -4550,17 +3329,6 @@ -- Subprogram: setHeparinStopped --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setHeparinStopped -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 1 -TEST.NOTES: - No branches in subprogram -TEST.END_NOTES: -TEST.END - -- Test Case: setHeparinStopped.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:setHeparinStopped @@ -4572,55 +3340,6 @@ -- Subprogram: setSyringePumpDACVref --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setSyringePumpDACVref -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (vRef >= (0.0) && vRef <= (3.299999999999999822)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.setSyringePumpDACVref.vRef:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setSyringePumpDACVref -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (vRef >= (0.0) && vRef <= (3.299999999999999822)) ==> TRUE - (2) if ((SYRINGE_PUMP_OFF_STATE) == syringePumpState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_INIT_STATE -TEST.VALUE:SyringePump.setSyringePumpDACVref.vRef:0.0 -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:setSyringePumpDACVref -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 3 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (vRef >= (0.0) && vRef <= (3.299999999999999822)) ==> TRUE - (2) if ((SYRINGE_PUMP_OFF_STATE) == syringePumpState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.syringePumpState:SYRINGE_PUMP_OFF_STATE -TEST.VALUE:SyringePump.setSyringePumpDACVref.vRef:0.0 -TEST.END - -- Test Case: setSyringePumpDACVref.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:setSyringePumpDACVref @@ -5094,23 +3813,6 @@ TEST.SUBPROGRAM:startHeparinContinuous TEST.NEW TEST.NAME:startHeparinContinuous.009 -TEST.BASIS_PATH:1 of 4 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((flowRate >= (0.200000003F) && flowRate <= (1.0F)) && (0) == isSyringePumpHome()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:SyringePump.isSyringePumpHome -TEST.VALUE:SyringePump.isSyringePumpHome.return:1 -TEST.VALUE:uut_prototype_stubs.getTreatmentParameterF32.return:<> -TEST.END - --- Test Case: startHeparinContinuous.010 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:startHeparinContinuous -TEST.NEW -TEST.NAME:startHeparinContinuous.010 TEST.BASIS_PATH:2 of 4 TEST.NOTES: This is an automatically generated test case. @@ -5132,11 +3834,11 @@ TEST.EXPECTED:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF TEST.END --- Test Case: startHeparinContinuous.011 +-- Test Case: startHeparinContinuous.010 TEST.UNIT:SyringePump TEST.SUBPROGRAM:startHeparinContinuous TEST.NEW -TEST.NAME:startHeparinContinuous.011 +TEST.NAME:startHeparinContinuous.010 TEST.BASIS_PATH:3 of 4 TEST.NOTES: This is an automatically generated test case. @@ -5158,11 +3860,11 @@ TEST.EXPECTED:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_STOPPED TEST.END --- Test Case: startHeparinContinuous.012 +-- Test Case: startHeparinContinuous.011 TEST.UNIT:SyringePump TEST.SUBPROGRAM:startHeparinContinuous TEST.NEW -TEST.NAME:startHeparinContinuous.012 +TEST.NAME:startHeparinContinuous.011 TEST.BASIS_PATH:4 of 4 (partial) TEST.NOTES: This is an automatically generated test case. @@ -5185,36 +3887,6 @@ -- Subprogram: stopSyringePump --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:stopSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((HEPARIN_STATE_INITIAL_BOLUS) == heparinDeliveryState || (HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:stopSyringePump -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((HEPARIN_STATE_INITIAL_BOLUS) == heparinDeliveryState || (HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_INITIAL_BOLUS -TEST.END - -- Test Case: stopSyringePump.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:stopSyringePump @@ -5272,11 +3944,11 @@ -- Subprogram: testResetHeprinBolusTargetRateOverride --- Test Case: BASIS-PATH-001 +-- Test Case: testResetHeprinBolusTargetRateOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetHeprinBolusTargetRateOverride TEST.NEW -TEST.NAME:BASIS-PATH-001 +TEST.NAME:testResetHeprinBolusTargetRateOverride.001 TEST.BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. @@ -5285,55 +3957,32 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:SyringePump.testResetHeprinBolusTargetRateOverride.return:0 +TEST.ATTRIBUTES:SyringePump.<>.heparinBolusTargetRate.override:EXPECTED_BASE=16 TEST.END --- Test Case: BASIS-PATH-002 +-- Test Case: testResetHeprinBolusTargetRateOverride.002 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetHeprinBolusTargetRateOverride TEST.NEW -TEST.NAME:BASIS-PATH-002 +TEST.NAME:testResetHeprinBolusTargetRateOverride.002 TEST.BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. Test Path 2 (1) if ((1) == isTestingActivated()) ==> TRUE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:SyringePump.<>.heparinBolusTargetRate.ovInitData:100.0 TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.ovInitData:0.0 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.ovData:100.0 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.override:0 +TEST.EXPECTED:SyringePump.testResetHeprinBolusTargetRateOverride.return:1 TEST.END -- Subprogram: testResetSyringePumpADCReadCounter --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpADCReadCounter -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpADCReadCounter -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpADCReadCounter.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpADCReadCounter @@ -5374,36 +4023,6 @@ -- Subprogram: testResetSyringePumpADCandDACStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpADCandDACStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpADCandDACStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpADCandDACStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpADCandDACStatus @@ -5444,36 +4063,6 @@ -- Subprogram: testResetSyringePumpDataPublishIntervalOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpDataPublishIntervalOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpDataPublishIntervalOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpDataPublishIntervalOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpDataPublishIntervalOverride @@ -5514,36 +4103,6 @@ -- Subprogram: testResetSyringePumpEncoderStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpEncoderStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpEncoderStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpEncoderStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpEncoderStatus @@ -5584,36 +4143,6 @@ -- Subprogram: testResetSyringePumpMeasuredForceOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredForceOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredForceOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredForceOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredForceOverride @@ -5654,36 +4183,6 @@ -- Subprogram: testResetSyringePumpMeasuredHomeOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredHomeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredHomeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredHomeOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredHomeOverride @@ -5724,36 +4223,6 @@ -- Subprogram: testResetSyringePumpMeasuredPositionOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredPositionOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredPositionOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredPositionOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredPositionOverride @@ -5794,36 +4263,6 @@ -- Subprogram: testResetSyringePumpMeasuredRateOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredRateOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredRateOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredRateOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredRateOverride @@ -5864,36 +4303,6 @@ -- Subprogram: testResetSyringePumpMeasuredSyringeDetectOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredSyringeDetectOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredSyringeDetectOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredSyringeDetectOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredSyringeDetectOverride @@ -5934,36 +4343,6 @@ -- Subprogram: testResetSyringePumpMeasuredVolumeOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredVolumeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpMeasuredVolumeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredVolumeOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpMeasuredVolumeOverride @@ -6004,36 +4383,6 @@ -- Subprogram: testResetSyringePumpStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testResetSyringePumpStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testResetSyringePumpStatus @@ -6074,11 +4423,11 @@ -- Subprogram: testSetHeprinBolusTargetRateOverride --- Test Case: BASIS-PATH-001 +-- Test Case: testSetHeprinBolusTargetRateOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetHeprinBolusTargetRateOverride TEST.NEW -TEST.NAME:BASIS-PATH-001 +TEST.NAME:testSetHeprinBolusTargetRateOverride.001 TEST.BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. @@ -6088,58 +4437,32 @@ TEST.END_NOTES: TEST.VALUE:SyringePump.testSetHeprinBolusTargetRateOverride.value:<> TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:SyringePump.testSetHeprinBolusTargetRateOverride.return:0 TEST.END --- Test Case: BASIS-PATH-002 +-- Test Case: testSetHeprinBolusTargetRateOverride.002 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetHeprinBolusTargetRateOverride TEST.NEW -TEST.NAME:BASIS-PATH-002 +TEST.NAME:testSetHeprinBolusTargetRateOverride.002 TEST.BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. Test Path 2 (1) if ((1) == isTestingActivated()) ==> TRUE Test Case Generation Notes: TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetHeprinBolusTargetRateOverride.value:<> +TEST.VALUE:SyringePump.<>.heparinBolusTargetRate.data:100.0 +TEST.VALUE:SyringePump.testSetHeprinBolusTargetRateOverride.value:100.0 TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.ovInitData:100.0 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.ovData:100.0 +TEST.EXPECTED:SyringePump.<>.heparinBolusTargetRate.override:0xCCC33C33 +TEST.EXPECTED:SyringePump.testSetHeprinBolusTargetRateOverride.return:1 TEST.END -- Subprogram: testSetSyringePumpADCReadCounter --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpADCReadCounter -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpADCReadCounter.ctr:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpADCReadCounter -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpADCReadCounter.ctr:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpADCReadCounter.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpADCReadCounter @@ -6182,38 +4505,6 @@ -- Subprogram: testSetSyringePumpADCandDACStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpADCandDACStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpADCandDACStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpADCandDACStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpADCandDACStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpADCandDACStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpADCandDACStatus @@ -6256,38 +4547,6 @@ -- Subprogram: testSetSyringePumpDataPublishIntervalOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpDataPublishIntervalOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpDataPublishIntervalOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpDataPublishIntervalOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpDataPublishIntervalOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpDataPublishIntervalOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpDataPublishIntervalOverride @@ -6330,38 +4589,6 @@ -- Subprogram: testSetSyringePumpEncoderStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpEncoderStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpEncoderStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpEncoderStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpEncoderStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpEncoderStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpEncoderStatus @@ -6404,38 +4631,6 @@ -- Subprogram: testSetSyringePumpMeasuredForceOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredForceOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredForceOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredForceOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredForceOverride.value:0.0 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpMeasuredForceOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredForceOverride @@ -6526,38 +4721,6 @@ -- Subprogram: testSetSyringePumpMeasuredHomeOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredHomeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredHomeOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredHomeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredHomeOverride.value:0.0 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpMeasuredHomeOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredHomeOverride @@ -6648,38 +4811,6 @@ -- Subprogram: testSetSyringePumpMeasuredPositionOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredPositionOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredPositionOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredPositionOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredPositionOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpMeasuredPositionOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredPositionOverride @@ -6722,38 +4853,6 @@ -- Subprogram: testSetSyringePumpMeasuredRateOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredRateOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated() && value <= (11000.0F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredRateOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredRateOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated() && value <= (11000.0F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredRateOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpMeasuredRateOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredRateOverride @@ -6819,38 +4918,6 @@ -- Subprogram: testSetSyringePumpMeasuredSyringeDetectOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredSyringeDetectOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredSyringeDetectOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredSyringeDetectOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (((1) == isTestingActivated() && value >= (0.0)) && value <= (3.299999952F)) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredSyringeDetectOverride.value:0.0 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testResetSyringePumpMeasuredForceOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredSyringeDetectOverride @@ -6941,38 +5008,6 @@ -- Subprogram: testSetSyringePumpMeasuredVolumeOverride --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredVolumeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredVolumeOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpMeasuredVolumeOverride -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpMeasuredVolumeOverride.value:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpMeasuredVolumeOverride.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpMeasuredVolumeOverride @@ -7015,38 +5050,6 @@ -- Subprogram: testSetSyringePumpStatus --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpStatus -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSetSyringePumpStatus -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSetSyringePumpStatus.status:<> -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSetSyringePumpStatus.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSetSyringePumpStatus @@ -7089,140 +5092,6 @@ -- Subprogram: testSyringePumpOperationRequest --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == isTestingActivated()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == isTestingActivated()) ==> TRUE - (8) case op ==> default - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:6 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == isTestingActivated()) ==> TRUE - (2) case op ==> SYRINGE_PUMP_OP_STOP - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:0 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-004 -TEST.BASIS_PATH:4 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((1) == isTestingActivated()) ==> TRUE - (3) case op ==> SYRINGE_PUMP_OP_RETRACT - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:1 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-005 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-005 -TEST.BASIS_PATH:5 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == isTestingActivated()) ==> TRUE - (4) case op ==> SYRINGE_PUMP_OP_SEEK - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:2 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-006 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-006 -TEST.BASIS_PATH:6 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == isTestingActivated()) ==> TRUE - (5) case op ==> SYRINGE_PUMP_OP_PRIME - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:3 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-007 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-007 -TEST.BASIS_PATH:7 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((1) == isTestingActivated()) ==> TRUE - (6) case op ==> SYRINGE_PUMP_OP_BOLUS - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:4 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - --- Test Case: BASIS-PATH-008 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:testSyringePumpOperationRequest -TEST.NEW -TEST.NAME:BASIS-PATH-008 -TEST.BASIS_PATH:8 of 8 -TEST.NOTES: -This is an automatically generated test case. - Test Path 8 - (1) if ((1) == isTestingActivated()) ==> TRUE - (7) case op ==> SYRINGE_PUMP_OP_CONTINUOUS - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.testSyringePumpOperationRequest.opParams.syringePumpOp:5 -TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 -TEST.END - -- Test Case: testSyringePumpOperationRequest.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:testSyringePumpOperationRequest @@ -7379,152 +5248,6 @@ -- Subprogram: userHeparinRequest --- Test Case: BASIS-PATH-001 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-001 -TEST.BASIS_PATH:1 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.userHeparinRequest.cmd:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_FAUL -TEST.END - --- Test Case: BASIS-PATH-002 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-002 -TEST.BASIS_PATH:2 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.userHeparinRequest.cmd:<> -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_SALINE_BOLUS_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_START_STATE -TEST.END - --- Test Case: BASIS-PATH-003 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-003 -TEST.BASIS_PATH:3 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE - (3) if ((HEPARIN_CMD_PAUSE) == cmd) ==> FALSE - (5) if ((HEPARIN_CMD_RESUME) == cmd) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.userHeparinRequest.cmd:NUM_OF_HEPARIN_CMDS -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_START_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE -TEST.END - --- Test Case: BASIS-PATH-004 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-004 -TEST.BASIS_PATH:4 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 4 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE - (3) if ((HEPARIN_CMD_PAUSE) == cmd) ==> FALSE - (5) if ((HEPARIN_CMD_RESUME) == cmd) ==> TRUE - (6) if ((HEPARIN_STATE_PAUSED) == heparinDeliveryState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF -TEST.VALUE:SyringePump.userHeparinRequest.cmd:HEPARIN_CMD_RESUME -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_START_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE -TEST.END - --- Test Case: BASIS-PATH-005 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-005 -TEST.BASIS_PATH:5 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE - (3) if ((HEPARIN_CMD_PAUSE) == cmd) ==> FALSE - (5) if ((HEPARIN_CMD_RESUME) == cmd) ==> TRUE - (6) if ((HEPARIN_STATE_PAUSED) == heparinDeliveryState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_PAUSED -TEST.VALUE:SyringePump.userHeparinRequest.cmd:HEPARIN_CMD_RESUME -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_START_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE -TEST.END - --- Test Case: BASIS-PATH-006 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-006 -TEST.BASIS_PATH:6 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE - (3) if ((HEPARIN_CMD_PAUSE) == cmd) ==> TRUE - (4) if ((HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_OFF -TEST.VALUE:SyringePump.userHeparinRequest.cmd:HEPARIN_CMD_PAUSE -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_START_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE -TEST.END - --- Test Case: BASIS-PATH-007 -TEST.UNIT:SyringePump -TEST.SUBPROGRAM:userHeparinRequest -TEST.NEW -TEST.NAME:BASIS-PATH-007 -TEST.BASIS_PATH:7 of 7 -TEST.NOTES: -This is an automatically generated test case. - Test Path 7 - (1) if ((MODE_TREA) == getCurrentOperationMode()) ==> TRUE - (2) if ((TREATMENT_DIALYSIS_STATE) == getTreatmentState() && getDialysisState() != (DIALYSIS_SALINE_BOLUS_STATE)) ==> TRUE - (3) if ((HEPARIN_CMD_PAUSE) == cmd) ==> TRUE - (4) if ((HEPARIN_STATE_DISPENSING) == heparinDeliveryState) ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:SyringePump.<>.heparinDeliveryState:HEPARIN_STATE_DISPENSING -TEST.VALUE:SyringePump.userHeparinRequest.cmd:HEPARIN_CMD_PAUSE -TEST.VALUE:uut_prototype_stubs.getCurrentOperationMode.return:MODE_TREA -TEST.VALUE:uut_prototype_stubs.getDialysisState.return:DIALYSIS_START_STATE -TEST.VALUE:uut_prototype_stubs.getTreatmentState.return:TREATMENT_DIALYSIS_STATE -TEST.END - -- Test Case: userHeparinRequest.001 TEST.UNIT:SyringePump TEST.SUBPROGRAM:userHeparinRequest @@ -7658,17 +5381,37 @@ TEST.NEW TEST.NAME:userHeparinRequest.006 TEST.IMPORT_FAILURES: -(I) @LINE: 7712 +(I) @LINE: 7770 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7713 +(I) @LINE: 7771 >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7714 +(I) @LINE: 7772 >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7718 +(I) @LINE: 7776 >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 7719 +(I) @LINE: 7777 >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7760 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7761 + >>> >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7762 + >>> >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7766 + >>> >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7767 + >>> >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7712 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7713 + >>> >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7714 + >>> >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7718 + >>> >>> 'HEPARIN_STATE_DISPENSING' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7719 + >>> >>> 'HEPARIN_STATE_PAUSED' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7702 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7703 @@ -7801,9 +5544,13 @@ TEST.NEW TEST.NAME:userHeparinRequest.008 TEST.IMPORT_FAILURES: -(I) @LINE: 7798 +(I) @LINE: 7860 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 7848 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 7798 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7786 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 7774 Index: vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst (.../SYSTEMCOMM.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMM/SYSTEMCOMM.tst (.../SYSTEMCOMM.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -4294,6 +4294,125 @@ TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.payloadLen:25 TEST.END +-- Test Case: processReceivedMessage.090 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.090 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_UI_REQUEST_SERVICE_MODE +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_UI_REQUEST_SERVICE_MODE +TEST.END + +-- Test Case: processReceivedMessage.091 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.091 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_REQUEST_HD_USAGE_INFO +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_REQUEST_HD_USAGE_INFO +TEST.END + +-- Test Case: processReceivedMessage.092 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.092 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_FANS_RPM_ALARM_START_TIME_OFFSET +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_FANS_RPM_ALARM_START_TIME_OFFSET +TEST.END + +-- Test Case: processReceivedMessage.093 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.093 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SYRINGE_PUMP_HEPRIN_BOLUS_TARGET_RATE_OVERRIDE +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SYRINGE_PUMP_HEPRIN_BOLUS_TARGET_RATE_OVERRIDE +TEST.END + +-- Test Case: processReceivedMessage.094 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.094 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_REQ_CURRENT_TREATMENT_PARAMETERS +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_REQ_CURRENT_TREATMENT_PARAMETERS +TEST.END + +-- Test Case: processReceivedMessage.095 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.095 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_FANS_DUTY_CYCLE_OVERRIDE +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_FANS_DUTY_CYCLE_OVERRIDE +TEST.END + +-- Test Case: processReceivedMessage.096 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.096 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_STOP_RTC_CLOCK +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_STOP_RTC_CLOCK +TEST.END + +-- Test Case: processReceivedMessage.097 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.097 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_GET_USAGE_INFO_RECORD +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_GET_USAGE_INFO_RECORD +TEST.END + +-- Test Case: processReceivedMessage.098 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.098 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_USAGE_INFO_RECORD +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_USAGE_INFO_RECORD +TEST.END + +-- Test Case: processReceivedMessage.099 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.099 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_BLOOD_LEAK_2_EMB_MODE +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_BLOOD_LEAK_2_EMB_MODE +TEST.END + +-- Test Case: processReceivedMessage.100 +TEST.UNIT:SystemComm +TEST.SUBPROGRAM:processReceivedMessage +TEST.NEW +TEST.NAME:processReceivedMessage.100 +TEST.VALUE:SystemComm.processReceivedMessage.message:<> +TEST.VALUE:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_BLOOD_LEAK_EMB_MODE_COMMAND +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:SystemComm.processReceivedMessage.message[0].hdr.msgID:MSG_ID_HD_SET_BLOOD_LEAK_EMB_MODE_COMMAND +TEST.END + -- Subprogram: processReceivedMessages -- Test Case: processReceivedMessages_ACKReceived Index: vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst (.../SYSTEMCOMMMESSAGES.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/SYSTEMCOMMMESSAGES/SYSTEMCOMMMESSAGES.tst (.../SYSTEMCOMMMESSAGES.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -4653,6 +4653,66 @@ TEST.EXPECTED:SystemCommMessages.handleSetHDUsageInfoRecord.message[0].hdr.payloadLen:255 TEST.END +-- Subprogram: handleSetHDValvePWMOverrideRequest + +-- Test Case: handleSetHDValvePWMOverrideRequest.001 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleSetHDValvePWMOverrideRequest +TEST.NEW +TEST.NAME:handleSetHDValvePWMOverrideRequest.001 +TEST.BASIS_PATH:1 of 3 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if (sizeof(OVERRIDE_VALVES_PWM_DIR_SET_PAYLOAD_T) == (message->hdr).payloadLen) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:<> +TEST.EXPECTED:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:0 +TEST.END + +-- Test Case: handleSetHDValvePWMOverrideRequest.002 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleSetHDValvePWMOverrideRequest +TEST.NEW +TEST.NAME:handleSetHDValvePWMOverrideRequest.002 +TEST.BASIS_PATH:2 of 3 (partial) +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if (sizeof(OVERRIDE_VALVES_PWM_DIR_SET_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.handleSetHDValvePWMOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:16 +TEST.EXPECTED:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:16 +TEST.END + +-- Test Case: handleSetHDValvePWMOverrideRequest.003 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleSetHDValvePWMOverrideRequest +TEST.NEW +TEST.NAME:handleSetHDValvePWMOverrideRequest.003 +TEST.BASIS_PATH:3 of 3 (partial) +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if (sizeof(OVERRIDE_VALVES_PWM_DIR_SET_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.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:16 +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].payload:<> +TEST.VALUE:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].payload:"1" +TEST.EXPECTED:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].hdr.payloadLen:16 +TEST.EXPECTED:SystemCommMessages.handleSetHDValvePWMOverrideRequest.message[0].payload:"1" +TEST.END + -- Subprogram: handleSetHDValvePositionOverrideRequest -- Test Case: handleSetHDValvePositionOverrideRequest_Invalid_Payload_Len @@ -10259,6 +10319,65 @@ TEST.EXPECTED:SystemCommMessages.sendTestAckResponseMsg.ack:1 TEST.END +-- Subprogram: handleTestSyringePumpHeprinBolusTargetRateOverrideRequest + +-- Test Case: handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.001 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest +TEST.NEW +TEST.NAME:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.001 +TEST.BASIS_PATH:1 of 3 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if (sizeof(TEST_OVERRIDE_PAYLOAD_T) == (message->hdr).payloadLen) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:<> +TEST.EXPECTED:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:0 +TEST.END + +-- Test Case: handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.002 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest +TEST.NEW +TEST.NAME:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.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_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.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:8 +TEST.EXPECTED:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:8 +TEST.END + +-- Test Case: handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.003 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest +TEST.NEW +TEST.NAME:handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.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_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.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message:<> +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:8 +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].payload:<> +TEST.VALUE:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].payload:"1" +TEST.EXPECTED:SystemCommMessages.handleTestSyringePumpHeprinBolusTargetRateOverrideRequest.message[0].hdr.payloadLen:8 +TEST.END + -- Subprogram: handleTestSyringePumpMeasuredForceOverrideRequest -- Test Case: handleTestSyringePumpMeasuredForceOverrideRequest.001 @@ -12794,6 +12913,23 @@ TEST.EXPECTED:uut_prototype_stubs.crc8.len:37 TEST.END +-- Subprogram: sendConsumableInstallCmdResponse + +-- Test Case: sendConsumableInstallCmdResponse.001 +TEST.UNIT:SystemCommMessages +TEST.SUBPROGRAM:sendConsumableInstallCmdResponse +TEST.NEW +TEST.NAME:sendConsumableInstallCmdResponse.001 +TEST.BASIS_PATH:1 of 1 +TEST.NOTES: + No branches in subprogram +TEST.END_NOTES: +TEST.VALUE:SystemCommMessages.sendConsumableInstallCmdResponse.accepted:<> +TEST.VALUE:SystemCommMessages.sendConsumableInstallCmdResponse.reason:<> +TEST.EXPECTED:SystemCommMessages.sendConsumableInstallCmdResponse.accepted:0 +TEST.EXPECTED:SystemCommMessages.sendConsumableInstallCmdResponse.reason:0 +TEST.END + -- Subprogram: sendContinueToTreatmentCmdResponse -- Test Case: sendContinueToTreatmentCmdResponse.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/TEMPERATURES/TEMPERATURES.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/TEMPERATURES/TEMPERATURES.tst (.../TEMPERATURES.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/TEMPERATURES/TEMPERATURES.tst (.../TEMPERATURES.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -111,7 +111,9 @@ (1) if ((1) == calStatus) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:Temperatures.execTemperaturesSelfTest.return:SELF_TEST_STATUS_IN_PROGRESS TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:<> +TEST.EXPECTED:Temperatures.execTemperaturesSelfTest.return:SELF_TEST_STATUS_FAILED TEST.END -- Test Case: execTemperaturesSelfTest.002 @@ -126,7 +128,9 @@ (1) if ((1) == calStatus) ==> TRUE Test Case Generation Notes: TEST.END_NOTES: +TEST.VALUE:Temperatures.execTemperaturesSelfTest.return:SELF_TEST_STATUS_IN_PROGRESS TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.return:1 +TEST.EXPECTED:Temperatures.execTemperaturesSelfTest.return:SELF_TEST_STATUS_PASSED TEST.END -- Subprogram: getPublishTemperaturesDataInterval @@ -464,24 +468,6 @@ TEST.EXPECTED:uut_prototype_stubs.broadcastData.length:24 TEST.END --- Test Case: publishTemperaturesData.002 -TEST.UNIT:Temperatures -TEST.SUBPROGRAM:publishTemperaturesData -TEST.NEW -TEST.NAME:publishTemperaturesData.002 -TEST.MCDC_BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (++dataPublishCounter > getPublishTemperaturesDataInterval()) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "a". - Condition a ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.STUB:Temperatures.getPublishTemperaturesDataInterval -TEST.VALUE:Temperatures.getPublishTemperaturesDataInterval.return:<> -TEST.END - -- Subprogram: testResetMeasuredTemperatureOverride -- Test Case: testResetMeasuredTemperatureOverride.001 Index: vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst (.../TREATMENTSTOP.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/TREATMENTSTOP/TREATMENTSTOP.tst (.../TREATMENTSTOP.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -235,6 +235,11 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.STUB:TreatmentStop.handleTreatmentStopAlarmsAndSignals +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.return:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE +TEST.EXPECTED:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE +TEST.EXPECTED:TreatmentStop.handleTreatmentStopBloodRecircState.return:TREATMENT_STOP_RECIRC_BLOOD_ONLY_STATE TEST.END -- Subprogram: handleTreatmentStopBloodSittingTimer @@ -284,6 +289,11 @@ TEST.NOTES: No branches in subprogram TEST.END_NOTES: +TEST.STUB:TreatmentStop.handleTreatmentStopAlarmsAndSignals +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.VALUE:TreatmentStop.handleTreatmentStopAlarmsAndSignals.return:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.EXPECTED:TreatmentStop.handleTreatmentStopAlarmsAndSignals.state:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE +TEST.EXPECTED:TreatmentStop.handleTreatmentStopDialysateRecircState.return:TREATMENT_STOP_RECIRC_DIALYSATE_ONLY_STATE TEST.END -- Subprogram: handleTreatmentStopNoRecircState Index: vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.mfg =================================================================== diff -u -re3f1eb69b9178243dad8788a6d53be148c21fc84 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.mfg (.../VALVES.mfg) (revision e3f1eb69b9178243dad8788a6d53be148c21fc84) +++ vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.mfg (.../VALVES.mfg) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -4,8 +4,6 @@ COVERAGE_TYPE STATEMENT+MCDC - $(VCAST_SRC_DIR)/FWCommon/ - $(VCAST_SRC_DIR)/Common/ $(VCAST_SRC_DIR)/../../fwcommon/ $(VCAST_SRC_DIR)/../../common/ Index: vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.tst =================================================================== diff -u -rdbf9c245d46c7536c72d277da24f7b44d7a84118 -radc569e0a5f588e04e9224b4fa20b686f93a5a1f --- vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.tst (.../VALVES.tst) (revision dbf9c245d46c7536c72d277da24f7b44d7a84118) +++ vectorcast/Hercules_RM46_HD_Project/environment/VALVES/VALVES.tst (.../VALVES.tst) (revision adc569e0a5f588e04e9224b4fa20b686f93a5a1f) @@ -167,11 +167,7 @@ TEST.EXPECTED:Valves.<>.valvesStatus[VDO].controlMode:NUM_OF_VALVE_CONTROL_MODES TEST.EXPECTED:Valves.<>.valvesStatus[VBA].controlMode:NUM_OF_VALVE_CONTROL_MODES TEST.EXPECTED:Valves.<>.valvesStatus[VBV].controlMode:NUM_OF_VALVE_CONTROL_MODES -TEST.EXPECTED:Valves.areValvesFunctional.return:0 -TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarm:ALARM_ID_HD_SOFTWARE_FAULT -TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData1.dataType:ALARM_DATA_TYPE_U32 -TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData1.data.uInt.data:87 -TEST.EXPECTED:uut_prototype_stubs.activateAlarm2Data.alarmData2.dataType:ALARM_DATA_TYPE_U32 +TEST.EXPECTED:Valves.areValvesFunctional.return:1 TEST.END -- Test Case: areValvesFunctional_Disable_Failed @@ -1858,9 +1854,11 @@ TEST.NEW TEST.NAME:publishValvesData_No_Publish_Time TEST.IMPORT_FAILURES: -(S) @LINE: 1872 +(S) @LINE: 1899 >>> Warning: Setting data to out-of-range value. The value 100 does not correspond to an enumeral value. (E) Errors from previous script import(s) + >>> (S) @LINE: 1872 + >>> >>> Warning: Setting data to out-of-range value. The value 100 does not correspond to an enumeral value. >>> (S) @LINE: 1840 >>> >>> Warning: Setting data to out-of-range value. The value 100 does not correspond to an enumeral value. >>> (S) @LINE: 1838 @@ -2311,6 +2309,110 @@ TEST.EXPECTED:Valves.setValvePosition.return:0 TEST.END +-- Subprogram: testResetValvePWMOverride + +-- Test Case: testResetValvePWMOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvePWMOverride +TEST.NEW +TEST.NAME:testResetValvePWMOverride.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvePWMOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testResetValvePWMOverride.valve:4294967295 +TEST.END + +-- Test Case: testResetValvePWMOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvePWMOverride +TEST.NEW +TEST.NAME:testResetValvePWMOverride.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvePWMOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvePWMOverride.valve:0 +TEST.END + +-- Test Case: testResetValvePWMOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvePWMOverride +TEST.NEW +TEST.NAME:testResetValvePWMOverride.003 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvePWMOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvePWMOverride.valve:<> +TEST.END + +-- Subprogram: testResetValvesCurrentOverride + +-- Test Case: testResetValvesCurrentOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesCurrentOverride +TEST.NEW +TEST.NAME:testResetValvesCurrentOverride.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesCurrentOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testResetValvesCurrentOverride.valve:4294967295 +TEST.END + +-- Test Case: testResetValvesCurrentOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesCurrentOverride +TEST.NEW +TEST.NAME:testResetValvesCurrentOverride.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesCurrentOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvesCurrentOverride.valve:0 +TEST.END + +-- Test Case: testResetValvesCurrentOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesCurrentOverride +TEST.NEW +TEST.NAME:testResetValvesCurrentOverride.003 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesCurrentOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvesCurrentOverride.valve:<> +TEST.END + -- Subprogram: testResetValvesDataPublishInterval -- Test Case: testResetValvesDataPublishInterval_Log_Activated @@ -2343,6 +2445,58 @@ TEST.EXPECTED:Valves.testResetValvesDataPublishInterval.return:0 TEST.END +-- Subprogram: testResetValvesPositionCountOverride + +-- Test Case: testResetValvesPositionCountOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testResetValvesPositionCountOverride.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesPositionCountOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testResetValvesPositionCountOverride.valve:4294967295 +TEST.END + +-- Test Case: testResetValvesPositionCountOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testResetValvesPositionCountOverride.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesPositionCountOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvesPositionCountOverride.valve:0 +TEST.END + +-- Test Case: testResetValvesPositionCountOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testResetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testResetValvesPositionCountOverride.003 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testResetValvesPositionCountOverride.valve:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testResetValvesPositionCountOverride.valve:<> +TEST.END + -- Subprogram: testResetValvesPositionOverride -- Test Case: testResetValvesPositionOverride_Log_Activated_Valve_Invalid @@ -2393,6 +2547,209 @@ TEST.EXPECTED:Valves.testResetValvesPositionOverride.return:0 TEST.END +-- Subprogram: testSetValvePWMOverride + +-- Test Case: testSetValvePWMOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.001 +TEST.BASIS_PATH:1 of 3 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:4294967295 +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:0 +TEST.END + +-- Test Case: testSetValvePWMOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.002 +TEST.BASIS_PATH:2 of 3 (partial) +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + (2) if ((pwm <= 100U && direction < (NUM_OF_VALVE_DIRECTION)) && (1) == homingStatus) ==> FALSE + Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( Valves.testSetValvePWMOverride.valve ) in branches 1/2 +TEST.END_NOTES: +TEST.VALUE:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:<> +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:4294967295 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:4294967295 +TEST.END + +-- Test Case: testSetValvePWMOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.003 +TEST.BASIS_PATH:3 of 3 (partial) +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + (2) if ((pwm <= 100U && direction < (NUM_OF_VALVE_DIRECTION)) && (1) == homingStatus) ==> TRUE + Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( Valves.testSetValvePWMOverride.valve ) in branches 1/2 +TEST.END_NOTES: +TEST.VALUE:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:1 +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:1 +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:0 +TEST.END + +-- Test Case: testSetValvePWMOverride.004 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.004 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + (2) if ((pwm <= 100U && direction < (NUM_OF_VALVE_DIRECTION)) && (1) == homingStatus) ==> FALSE + Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( Valves.testSetValvePWMOverride.valve ) in branches 1/2 +TEST.END_NOTES: +TEST.VALUE:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:<> +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:<> +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:4294967295 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:4294967295 +TEST.END + +-- Test Case: testSetValvePWMOverride.005 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.005 +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + (2) if ((pwm <= 100U && direction < (NUM_OF_VALVE_DIRECTION)) && (1) == homingStatus) ==> TRUE + Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( Valves.testSetValvePWMOverride.valve ) in branches 1/2 +TEST.END_NOTES: +TEST.VALUE:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:1 +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:1 +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:<> +TEST.END + +-- Test Case: testSetValvePWMOverride.006 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvePWMOverride +TEST.NEW +TEST.NAME:testSetValvePWMOverride.006 +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + (2) if ((pwm <= 100U && direction < (NUM_OF_VALVE_DIRECTION)) && (1) == homingStatus) ==> TRUE + Test Case Generation Notes: + Conflict: Cannot resolve multiple comparisons ( Valves.testSetValvePWMOverride.valve ) in branches 1/2 +TEST.END_NOTES: +TEST.VALUE:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:0 +TEST.VALUE:Valves.testSetValvePWMOverride.valve:<> +TEST.VALUE:Valves.testSetValvePWMOverride.pwm:<> +TEST.VALUE:Valves.testSetValvePWMOverride.direction:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.<>.valvesStatus[VDI].hasValveBeenHomed:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.pwm:0 +TEST.EXPECTED:Valves.testSetValvePWMOverride.direction:0 +TEST.END + +-- Subprogram: testSetValvesCurrentOverride + +-- Test Case: testSetValvesCurrentOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesCurrentOverride +TEST.NEW +TEST.NAME:testSetValvesCurrentOverride.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesCurrentOverride.valve:<> +TEST.VALUE:Valves.testSetValvesCurrentOverride.current:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.valve:4294967295 +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.current:-3.40282E+38 +TEST.END + +-- Test Case: testSetValvesCurrentOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesCurrentOverride +TEST.NEW +TEST.NAME:testSetValvesCurrentOverride.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesCurrentOverride.valve:<> +TEST.VALUE:Valves.testSetValvesCurrentOverride.current:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.current:-3.40282E+38 +TEST.END + +-- Test Case: testSetValvesCurrentOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesCurrentOverride +TEST.NEW +TEST.NAME:testSetValvesCurrentOverride.003 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesCurrentOverride.valve:<> +TEST.VALUE:Valves.testSetValvesCurrentOverride.current:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.valve:<> +TEST.EXPECTED:Valves.testSetValvesCurrentOverride.current:-3.40282E+38 +TEST.END + -- Subprogram: testSetValvesDataPublishInterval -- Test Case: testSetValvesDataPublishInterval_Log_Activated @@ -2427,6 +2784,64 @@ TEST.ATTRIBUTES:Valves.<>.valvesPositionOverride[0].override:EXPECTED_BASE=16 TEST.END +-- Subprogram: testSetValvesPositionCountOverride + +-- Test Case: testSetValvesPositionCountOverride.001 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testSetValvesPositionCountOverride.001 +TEST.BASIS_PATH:1 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 1 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesPositionCountOverride.valve:<> +TEST.VALUE:Valves.testSetValvesPositionCountOverride.count:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:<> +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.valve:4294967295 +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.count:0 +TEST.END + +-- Test Case: testSetValvesPositionCountOverride.002 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testSetValvesPositionCountOverride.002 +TEST.BASIS_PATH:2 of 2 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesPositionCountOverride.valve:<> +TEST.VALUE:Valves.testSetValvesPositionCountOverride.count:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.valve:0 +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.count:0 +TEST.END + +-- Test Case: testSetValvesPositionCountOverride.003 +TEST.UNIT:Valves +TEST.SUBPROGRAM:testSetValvesPositionCountOverride +TEST.NEW +TEST.NAME:testSetValvesPositionCountOverride.003 +TEST.NOTES: +This is an automatically generated test case. + Test Path 2 + (1) if ((1) == isTestingActivated() && valve < (NUM_OF_VALVES)) ==> TRUE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:Valves.testSetValvesPositionCountOverride.valve:<> +TEST.VALUE:Valves.testSetValvesPositionCountOverride.count:<> +TEST.VALUE:uut_prototype_stubs.isTestingActivated.return:1 +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.valve:<> +TEST.EXPECTED:Valves.testSetValvesPositionCountOverride.count:0 +TEST.END + -- Subprogram: testSetValvesPositionOverride -- Test Case: testSetValvesPositionOverride_Log_Activated_Invalid_Valve