-- VectorCAST 19.sp3 (11/13/19) -- Test Case Script -- -- Environment : MODESERVICE -- Unit(s) Under Test: ModeService -- -- Script Features TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS TEST.SCRIPT_FEATURE:VCAST_MAIN_NOT_RENAMED -- -- Unit: ModeService -- Subprogram: execServiceMode -- Test Case: execServiceMode.001 TEST.UNIT:ModeService TEST.SUBPROGRAM:execServiceMode TEST.NEW TEST.NAME:execServiceMode.001 TEST.BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. Test Path 1 (1) if ((1) == stop) ==> FALSE Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:ModeService.execServiceMode.return:1 TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:0 TEST.EXPECTED:ModeService.execServiceMode.return:0 TEST.END -- Test Case: execServiceMode.002 TEST.UNIT:ModeService TEST.SUBPROGRAM:execServiceMode TEST.NEW TEST.NAME:execServiceMode.002 TEST.BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. Test Path 2 (1) if ((1) == stop) ==> TRUE Test Case Generation Notes: TEST.END_NOTES: TEST.VALUE:ModeService.execServiceMode.return:1 TEST.VALUE:uut_prototype_stubs.isStopButtonPressed.return:1 TEST.EXPECTED:ModeService.execServiceMode.return:0 TEST.END -- Subprogram: initServiceMode -- Test Case: initServiceMode.001 TEST.UNIT:ModeService TEST.SUBPROGRAM:initServiceMode TEST.NEW TEST.NAME:initServiceMode.001 TEST.FLOW ModeService.c.initServiceMode ModeService.c.initServiceMode TEST.END_FLOW TEST.END -- Subprogram: signalAlarmActionToServiceMode -- Test Case: signalAlarmActionToServiceMode.001 TEST.UNIT:ModeService TEST.SUBPROGRAM:signalAlarmActionToServiceMode TEST.NEW TEST.NAME:signalAlarmActionToServiceMode.001 TEST.BASIS_PATH:1 of 1 TEST.NOTES: No branches in subprogram TEST.END_NOTES: TEST.EXPECTED:ModeService.signalAlarmActionToServiceMode.action:ALARM_ACTION_STOP TEST.END -- Subprogram: transitionToServiceMode -- Test Case: transitionToServiceMode.001 TEST.UNIT:ModeService TEST.SUBPROGRAM:transitionToServiceMode TEST.NEW TEST.NAME:transitionToServiceMode.001 TEST.BASIS_PATH:1 of 1 TEST.NOTES: No branches in subprogram TEST.END_NOTES: TEST.VALUE:uut_prototype_stubs.setAlarmUserActionEnabled.action:NUMBER_OF_ALARM_USER_ACTIONS,ALARM_USER_ACTION_RINSEBACK,ALARM_USER_ACTION_END_TREATMENT TEST.VALUE:uut_prototype_stubs.setAlarmUserActionEnabled.enabled:0 TEST.VALUE:uut_prototype_stubs.doorClosedRequired.door:0 TEST.VALUE:uut_prototype_stubs.doorClosedRequired.pumpTrack:0 TEST.VALUE:uut_prototype_stubs.syringeDetectionRequired.req:0 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:(3)0 TEST.EXPECTED:uut_prototype_stubs.doorClosedRequired.door:0 TEST.EXPECTED:uut_prototype_stubs.doorClosedRequired.pumpTrack:0 TEST.EXPECTED:uut_prototype_stubs.syringeDetectionRequired.req:0 TEST.END