Index: vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst =================================================================== diff -u -rcce4e06bbcd3dd60ed7fc20676dff3e54a4ae4a0 -r56faa29ac48ef065fe686d5578e8cf466a715d49 --- vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst (.../ALARMMGMT.tst) (revision cce4e06bbcd3dd60ed7fc20676dff3e54a4ae4a0) +++ vectorcast/Hercules_RM46_HD_Project/environment/ALARMMGMT/ALARMMGMT.tst (.../ALARMMGMT.tst) (revision 56faa29ac48ef065fe686d5578e8cf466a715d49) @@ -1624,11 +1624,15 @@ TEST.NEW TEST.NAME:handleActiveAlarmListRequest.001 TEST.IMPORT_FAILURES: -(I) @LINE: 1657 +(I) @LINE: 1661 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1660 +(I) @LINE: 1664 >>> '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: 1657 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1660 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1653 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1656 @@ -1670,29 +1674,51 @@ TEST.NEW TEST.NAME:handleActiveAlarmListRequest.002 TEST.IMPORT_FAILURES: -(I) @LINE: 1767 +(I) @LINE: 1793 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1768 +(I) @LINE: 1794 >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) + >>> (I) @LINE: 1767 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1768 + >>> >>> 'ALARM_ID_NO_ALARM' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1741 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1742 @@ -1805,11 +1831,15 @@ TEST.NEW TEST.NAME:handleActiveAlarmListRequest.003 TEST.IMPORT_FAILURES: -(I) @LINE: 1822 +(I) @LINE: 1852 >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 1824 +(I) @LINE: 1854 >>> '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: 1822 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 1824 + >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1792 >>> >>> 'REQUEST_REJECT_REASON_NONE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 1794 @@ -1880,10 +1910,13 @@ TEST.NEW TEST.NAME:handleResendActiveAlarmsRequest.002 TEST.IMPORT_FAILURES: -(S) @LINE: 1912 +(S) @LINE: 1945 >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 >>> Results in 325 Iterations. (E) Errors from previous script import(s) + >>> (S) @LINE: 1912 + >>> >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 + >>> >>> Results in 325 Iterations. >>> (S) @LINE: 1879 >>> >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 >>> >>> Results in 325 Iterations. @@ -1954,10 +1987,13 @@ TEST.NEW TEST.NAME:handleResendActiveAlarmsRequest.003 TEST.IMPORT_FAILURES: -(S) @LINE: 1987 +(S) @LINE: 2023 >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 >>> Results in 325 Iterations. (E) Errors from previous script import(s) + >>> (S) @LINE: 1987 + >>> >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 + >>> >>> Results in 325 Iterations. >>> (S) @LINE: 1951 >>> >>> Range Value Command VARY FROM:ALARM_ID_NO_ALARM TO:NUM_OF_ALARM_IDS BY: 1 >>> >>> Results in 325 Iterations. @@ -3062,27 +3098,6 @@ TEST.EXPECTED:uut_prototype_stubs.initiateAlarmAction.action:ALARM_ACTION_ACK TEST.END --- Test Case: signalAlarmUserActionInitiated.006 -TEST.UNIT:AlarmMgmt -TEST.SUBPROGRAM:signalAlarmUserActionInitiated -TEST.NEW -TEST.NAME:signalAlarmUserActionInitiated.006 -TEST.MCDC_BASIS_PATH:3 of 6 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if (action < (NUMBER_OF_ALARM_USER_ACTIONS)) ==> TRUE - (2) if ((ALARM_USER_ACTION_ACK) == action) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #2, subcondition "a". - Condition a ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:AlarmMgmt.signalAlarmUserActionInitiated.action:<> -TEST.VALUE:uut_prototype_stubs.initiateAlarmAction.action:ALARM_ACTION_RESUME -TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:1001 -TEST.EXPECTED:uut_prototype_stubs.initiateAlarmAction.action:ALARM_ACTION_RESUME -TEST.END - -- Test Case: signalAlarmUserActionInitiated_ACKNotAllowed TEST.UNIT:AlarmMgmt TEST.SUBPROGRAM:signalAlarmUserActionInitiated @@ -3111,6 +3126,49 @@ TEST.END_FLOW TEST.END +-- Test Case: signalAlarmUserActionInitiated_ResumeAllCleared +TEST.UNIT:AlarmMgmt +TEST.SUBPROGRAM:signalAlarmUserActionInitiated +TEST.NEW +TEST.NAME:signalAlarmUserActionInitiated_ResumeAllCleared +TEST.MCDC_BASIS_PATH:3 of 6 +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if (action < (NUMBER_OF_ALARM_USER_ACTIONS)) ==> TRUE + (2) if ((ALARM_USER_ACTION_ACK) == action) ==> FALSE + Row number 2 forms a pair with Row 1 for Condition #2, subcondition "a". + Condition a ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:AlarmMgmt.signalAlarmUserActionInitiated.action:<> +TEST.VALUE:uut_prototype_stubs.initiateAlarmAction.action:ALARM_ACTION_RESUME +TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:1001 +TEST.EXPECTED:uut_prototype_stubs.initiateAlarmAction.action:ALARM_ACTION_RESUME +TEST.END + +-- Test Case: signalAlarmUserActionInitiated_ResumeNotAllCleared +TEST.UNIT:AlarmMgmt +TEST.SUBPROGRAM:signalAlarmUserActionInitiated +TEST.NEW +TEST.NAME:signalAlarmUserActionInitiated_ResumeNotAllCleared +TEST.NOTES: +This is an automatically generated test case. + Test Path 3 + (1) if (action < (NUMBER_OF_ALARM_USER_ACTIONS)) ==> TRUE + (2) if ((ALARM_USER_ACTION_ACK) == action) ==> FALSE + Row number 2 forms a pair with Row 1 for Condition #2, subcondition "a". + Condition a ==> FALSE + Test Case Generation Notes: +TEST.END_NOTES: +TEST.VALUE:AlarmMgmt.<>.alarmIsActive[ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP]:1 +TEST.VALUE:AlarmMgmt.<>.alarmIsDetected[ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP]:1 +TEST.VALUE:AlarmMgmt.signalAlarmUserActionInitiated.action:ALARM_USER_ACTION_RESUME +TEST.VALUE:uut_prototype_stubs.calcTimeSince.return:1001 +TEST.EXPECTED:AlarmMgmt.<>.alarmIsActive[ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP]:1 +TEST.EXPECTED:AlarmMgmt.<>.alarmIsDetected[ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP]:1 +TEST.END + -- Test Case: signalAlarmUserActionInitiated_ResumeNotAllowed TEST.UNIT:AlarmMgmt TEST.SUBPROGRAM:signalAlarmUserActionInitiated @@ -3870,10 +3928,13 @@ TEST.NEW TEST.NAME:testSetAlarmStartOverride_NominalPath TEST.IMPORT_FAILURES: -(E) @LINE: 3911 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 +(E) @LINE: 3997 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 >>> Invalid array index value ALARM_ID_STUCK_BUTTON_TEST_FAILED >>> Command Ignored. (E) Errors from previous script import(s) + >>> (E) @LINE: 3911 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 + >>> >>> Invalid array index value ALARM_ID_STUCK_BUTTON_TEST_FAILED + >>> >>> Command Ignored. >>> (E) @LINE: 3872 TEST.ATTRIBUTES:AlarmMgmt.<>.alarmStartedAt[ALARM_ID_STUCK_BUTTON_TEST_FAILED].override::EXPECTED_BASE=16 >>> >>> Invalid array index value ALARM_ID_STUCK_BUTTON_TEST_FAILED >>> >>> Command Ignored.