Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_VALVES/INT_VALVES_cba.cvr =================================================================== diff -u -rdf608540e66b49eb8d755a5d2cb8f6b7c4a94820 -r306cea5ba8853b16f7da4b2b09928db073bb1d5e --- vectorcast/Hercules_RM46_HD_Project/environment/INT_VALVES/INT_VALVES_cba.cvr (.../INT_VALVES_cba.cvr) (revision df608540e66b49eb8d755a5d2cb8f6b7c4a94820) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_VALVES/INT_VALVES_cba.cvr (.../INT_VALVES_cba.cvr) (revision 306cea5ba8853b16f7da4b2b09928db073bb1d5e) @@ -144,7 +144,7 @@ IMPORT.SOURCE.COVER_FUNCTION_PARAMETERS:FALSE IMPORT.SOURCE.HAS_LOGICAL_OPS_IN_PARAMETERS:FALSE IMPORT.SOURCE.COVER_CONDITIONAL_OPERATOR:FALSE -IMPORT.SOURCE.HAS_CONDITIONAL_OPERATOR:TRUE +IMPORT.SOURCE.HAS_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.COVER_NESTED_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.HAS_NESTED_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.COVER_STATEMENTS_BY_BLOCK:FALSE @@ -166,7 +166,7 @@ IMPORT.SOURCE.COVER_FUNCTION_PARAMETERS:FALSE IMPORT.SOURCE.HAS_LOGICAL_OPS_IN_PARAMETERS:FALSE IMPORT.SOURCE.COVER_CONDITIONAL_OPERATOR:FALSE -IMPORT.SOURCE.HAS_CONDITIONAL_OPERATOR:TRUE +IMPORT.SOURCE.HAS_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.COVER_NESTED_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.HAS_NESTED_CONDITIONAL_OPERATOR:FALSE IMPORT.SOURCE.COVER_STATEMENTS_BY_BLOCK:FALSE @@ -248,7 +248,7 @@ RESULT.CBA.NOTES_END -RESULT.CBA.UNIT: /home/asif/Diality_CodeClinic_Lattix/workspace_hd_staging/hdfirmware/firmware/App/Controllers/Valves.c +RESULT.CBA.UNIT: /home/fw/workspace_hd/hdfirmware/firmware/App/Controllers/Valves.c RESULT.CBA.FUNCTION: getValveAirTrapStatus RESULT.CBA.LINE.BEGIN RESULT.CBA.LINE: 0 Index: vectorcast/Hercules_RM46_HD_Project/environment/INT_WATCHDOGMGMT/INT_WATCHDOGMGMT.tst =================================================================== diff -u -rdf608540e66b49eb8d755a5d2cb8f6b7c4a94820 -r306cea5ba8853b16f7da4b2b09928db073bb1d5e --- vectorcast/Hercules_RM46_HD_Project/environment/INT_WATCHDOGMGMT/INT_WATCHDOGMGMT.tst (.../INT_WATCHDOGMGMT.tst) (revision df608540e66b49eb8d755a5d2cb8f6b7c4a94820) +++ vectorcast/Hercules_RM46_HD_Project/environment/INT_WATCHDOGMGMT/INT_WATCHDOGMGMT.tst (.../INT_WATCHDOGMGMT.tst) (revision 306cea5ba8853b16f7da4b2b09928db073bb1d5e) @@ -23,12 +23,13 @@ TEST.NEW TEST.NAME:execWatchdogTest TEST.IMPORT_FAILURES: -(E) @LINE: 30 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.startMSCount:1000 - >>> Unknown parameter/object name startMSCount - >>> Value Line Error - Command Ignored -(E) @LINE: 31 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.timeoutPeriod:100 - >>> Unknown parameter/object name timeoutPeriod - >>> Value Line Error - Command Ignored +(E) Errors from previous script import(s) + >>> (E) @LINE: 30 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.startMSCount:1000 + >>> >>> Unknown parameter/object name startMSCount + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 31 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.timeoutPeriod:100 + >>> >>> Unknown parameter/object name timeoutPeriod + >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.VALUE:uut_prototype_stubs.gioGetBit.return:1000 TEST.VALUE:uut_prototype_stubs.sciReceiveByte.return:1 @@ -114,12 +115,13 @@ TEST.NEW TEST.NAME:execWatchdogMgmt TEST.IMPORT_FAILURES: -(E) @LINE: 118 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.startMSCount:1000 - >>> Unknown parameter/object name startMSCount - >>> Value Line Error - Command Ignored -(E) @LINE: 119 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.timeoutPeriod:45 - >>> Unknown parameter/object name timeoutPeriod - >>> Value Line Error - Command Ignored +(E) Errors from previous script import(s) + >>> (E) @LINE: 118 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.startMSCount:1000 + >>> >>> Unknown parameter/object name startMSCount + >>> >>> Value Line Error - Command Ignored + >>> (E) @LINE: 119 TEST.EXPECTED:uut_prototype_stubs.sciReceiveByte.timeoutPeriod:45 + >>> >>> Unknown parameter/object name timeoutPeriod + >>> >>> Value Line Error - Command Ignored TEST.END_IMPORT_FAILURES: TEST.VALUE:uut_prototype_stubs.gioGetBit.return:1050 TEST.VALUE:uut_prototype_stubs.sciReceiveByte.return:1 Index: vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst =================================================================== diff -u -rcb158bae5975a576505c11a54511c68f2cc39c63 -r306cea5ba8853b16f7da4b2b09928db073bb1d5e --- vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst (.../NVDATAMGMT.tst) (revision cb158bae5975a576505c11a54511c68f2cc39c63) +++ vectorcast/Hercules_RM46_HD_Project/environment/NVDATAMGMT/NVDATAMGMT.tst (.../NVDATAMGMT.tst) (revision 306cea5ba8853b16f7da4b2b09928db073bb1d5e) @@ -999,253 +999,6 @@ TEST.EXPECTED:NVDataMgmt.getAvailableRecordQueueCount.return:20 TEST.END --- Subprogram: getCalibrationRecord - --- Test Case: getCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getCalibrationRecord -TEST.NEW -TEST.NAME:getCalibrationRecord.001 -TEST.MCDC_BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (nvDataMgmtExecProcessRecordState == (NVDATAMGMT_PROCESS_RECORD_STATE_IDLE)) ==> 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:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.END - --- Test Case: getCalibrationRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getCalibrationRecord -TEST.NEW -TEST.NAME:getCalibrationRecord.002 -TEST.MCDC_BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (nvDataMgmtExecProcessRecordState == (NVDATAMGMT_PROCESS_RECORD_STATE_IDLE)) ==> 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.VALUE:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.END - --- Subprogram: getHDAccelerometerSensorCalibrationRecord - --- Test Case: getHDAccelerometerSensorCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDAccelerometerSensorCalibrationRecord -TEST.NEW -TEST.NAME:getHDAccelerometerSensorCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelXOffset:0.0 -TEST.VALUE:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelYOffset:0.0 -TEST.VALUE:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelZOffset:0.0 -TEST.VALUE:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.calibrationTime:0 -TEST.VALUE:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.crc:0 -TEST.EXPECTED:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelXOffset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelYOffset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.accelZOffset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.getHDAccelerometerSensorCalibrationRecord.return.crc:0 -TEST.END - --- Subprogram: getHDFlowSensorsCalibrationRecord - --- Test Case: getHDFlowSensorsCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDFlowSensorsCalibrationRecord -TEST.NEW -TEST.NAME:getHDFlowSensorsCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].fourthOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].thirdOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].secondOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].gain:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].offset:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].calibrationTime:0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].crc:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].fourthOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].thirdOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].secondOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].gain:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].offset:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.flowSensorsCalRecord.hdFlowSensors[CAL_DATA_HD_BLOOD_FLOW_SENSOR].crc:0 -TEST.END - --- Subprogram: getHDHeparinForceSensorCalibrationRecord - --- Test Case: getHDHeparinForceSensorCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDHeparinForceSensorCalibrationRecord -TEST.NEW -TEST.NAME:getHDHeparinForceSensorCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.fourthOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.thirdOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.secondOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.gain:0.0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.offset:0.0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.calibrationTime:0 -TEST.VALUE:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.crc:0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.fourthOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.thirdOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.secondOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.gain:0.0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.offset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.getHDHeparinForceSensorCalibrationRecord.return.hdHeparinForceSensor.crc:0 -TEST.END - --- Subprogram: getHDOcclusionSensrosCalibrationRecord - --- Test Case: getHDOcclusionSensrosCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDOcclusionSensrosCalibrationRecord -TEST.NEW -TEST.NAME:getHDOcclusionSensrosCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].fourthOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].thirdOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].secondOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].gain:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].offset:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].calibrationTime:0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].crc:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].fourthOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].thirdOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].secondOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].gain:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].offset:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.occlusionSensorsCalRecord.hdOcclusionSensors[CAL_DATA_BLOOD_PUMP_OCCLUSION_SENSOR].crc:0 -TEST.END - --- Subprogram: getHDPressureSensorsCalibrationRecord - --- Test Case: getHDPressureSensorsCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDPressureSensorsCalibrationRecord -TEST.NEW -TEST.NAME:getHDPressureSensorsCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].fourthOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].thirdOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].secondOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].gain:0.0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].offset:0.0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].calibrationTime:0 -TEST.VALUE:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].crc:0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].fourthOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].thirdOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].secondOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].gain:0.0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].offset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.getHDPressureSensorsCalibrationRecord.return.hdPressureSensors[CAL_DATA_ARTERIAL_PRESSURE_SENSOR].crc:0 -TEST.END - --- Subprogram: getHDPumpsCalibrationRecord - --- Test Case: getHDPumpsCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDPumpsCalibrationRecord -TEST.NEW -TEST.NAME:getHDPumpsCalibrationRecord.001 -TEST.STUB:NVDataMgmt.isHDCalibrationRecordValid -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].pwm2Speed:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].speed2Flow:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].minCurrentLimit:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].maxCurrentLimit:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].calibrationTime:0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].crc:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].pwm2Speed:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].speed2Flow:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].minCurrentLimit:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].maxCurrentLimit:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.pumpsCalRecord.hdPumps[CAL_DATA_BLOOD_PUMP].crc:0 -TEST.END - --- Subprogram: getHDServiceRecord - --- Test Case: getHDServiceRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDServiceRecord -TEST.NEW -TEST.NAME:getHDServiceRecord.001 -TEST.VALUE:NVDataMgmt.getHDServiceRecord.return.serviceLoc:0 -TEST.VALUE:NVDataMgmt.getHDServiceRecord.return.lastServiceEpochDate:0 -TEST.VALUE:NVDataMgmt.getHDServiceRecord.return.serviceIntervalSeconds:0 -TEST.VALUE:NVDataMgmt.getHDServiceRecord.return.crc:0 -TEST.EXPECTED:NVDataMgmt.getHDServiceRecord.return.serviceLoc:0 -TEST.EXPECTED:NVDataMgmt.getHDServiceRecord.return.lastServiceEpochDate:0 -TEST.EXPECTED:NVDataMgmt.getHDServiceRecord.return.serviceIntervalSeconds:0 -TEST.EXPECTED:NVDataMgmt.getHDServiceRecord.return.crc:0 -TEST.END - --- Subprogram: getHDSystemRecord - --- Test Case: getHDSystemRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDSystemRecord -TEST.NEW -TEST.NAME:getHDSystemRecord.001 -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.topLevelPN:<> -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.topLevelPN:"" -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.topLevelSN:<> -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.topLevelSN:"" -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.mfgLocation:0 -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.mfgDate:0 -TEST.VALUE:NVDataMgmt.getHDSystemRecord.return.crc:0 -TEST.EXPECTED:NVDataMgmt.getHDSystemRecord.return.topLevelPN:"" -TEST.EXPECTED:NVDataMgmt.getHDSystemRecord.return.topLevelSN:"" -TEST.EXPECTED:NVDataMgmt.getHDSystemRecord.return.mfgLocation:0 -TEST.EXPECTED:NVDataMgmt.getHDSystemRecord.return.mfgDate:0 -TEST.EXPECTED:NVDataMgmt.getHDSystemRecord.return.crc:0 -TEST.END - --- Subprogram: getHDTemperatureSensorsCalibrationRecord - --- Test Case: getHDTemperatureSensorsCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDTemperatureSensorsCalibrationRecord -TEST.NEW -TEST.NAME:getHDTemperatureSensorsCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].fourthOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].thirdOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].secondOrderCoeff:0.0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].gain:0.0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].offset:0.0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:0 -TEST.VALUE:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].crc:0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].fourthOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].thirdOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].secondOrderCoeff:0.0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].gain:0.0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].offset:0.0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.getHDTemperatureSensorsCalibrationRecord.return.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].crc:0 -TEST.END - --- Subprogram: getHDValvesCalibrationRecord - --- Test Case: getHDValvesCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getHDValvesCalibrationRecord -TEST.NEW -TEST.NAME:getHDValvesCalibrationRecord.001 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].counts2Position:0.0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].calibrationTime:0 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].crc:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].counts2Position:0.0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].calibrationTime:0 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.valvesCalRecord.hdvalves[CAL_DATA_BLOOD_VENOUS_VALVE].crc:0 -TEST.END - -- Subprogram: getNVRecord2Driver -- Test Case: getNVRecord2Driver.001 @@ -1315,7 +1068,14 @@ TEST.SUBPROGRAM:getNVRecord2Driver TEST.NEW TEST.NAME:getNVRecord2Driver.004 -TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.tempSensorsCalRecord.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:10 +TEST.IMPORT_FAILURES: +(E) @LINE: 1318 TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.tempSensorsCalRecord.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:10 + >>> Invalid array index value CAL_DATA_HD_BOARD_TEMP_SENSOR_1 + >>> Command Ignored. +(E) @LINE: 1327 TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.tempSensorsCalRecord.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:10 + >>> Invalid array index value CAL_DATA_HD_BOARD_TEMP_SENSOR_1 + >>> Command Ignored. +TEST.END_IMPORT_FAILURES: TEST.VALUE:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.bloodLeakSensorCalRecord.calibrationTime:10 TEST.VALUE:NVDataMgmt.getNVRecord2Driver.nvData:GET_CAL_TEMPERATURE_SESNORS TEST.VALUE:NVDataMgmt.getNVRecord2Driver.bufferAddress:<> @@ -1324,7 +1084,6 @@ TEST.VALUE:NVDataMgmt.getNVRecord2Driver.numOfSnsrs2Check:0 TEST.VALUE:NVDataMgmt.getNVRecord2Driver.nvAlarm:ALARM_ID_NO_ALARM TEST.VALUE:NVDataMgmt.getNVRecord2Driver.return:1 -TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.tempSensorsCalRecord.hdTemperatureSensors[CAL_DATA_HD_BOARD_TEMP_SENSOR_1].calibrationTime:10 TEST.EXPECTED:NVDataMgmt.<>.hdCalibrationRecord.hdCalibrationGroups.bloodLeakSensorCalRecord.calibrationTime:10 TEST.EXPECTED:NVDataMgmt.getNVRecord2Driver.nvData:GET_CAL_TEMPERATURE_SESNORS TEST.EXPECTED:NVDataMgmt.getNVRecord2Driver.bufferAddress:"" @@ -1354,95 +1113,6 @@ TEST.EXPECTED:NVDataMgmt.getNVRecord2Driver.return:0 TEST.END --- Subprogram: getServiceRecord - --- Test Case: getServiceRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getServiceRecord -TEST.NEW -TEST.NAME:getServiceRecord.001 -TEST.MCDC_BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((NVDATAMGMT_PROCESS_RECORD_STATE_IDLE) == nvDataMgmtExecProcessRecordState) ==> 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:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.END - --- Test Case: getServiceRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getServiceRecord -TEST.NEW -TEST.NAME:getServiceRecord.002 -TEST.MCDC_BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((NVDATAMGMT_PROCESS_RECORD_STATE_IDLE) == nvDataMgmtExecProcessRecordState) ==> 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.VALUE:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.END - --- Subprogram: getSystemRecord - --- Test Case: getSystemRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getSystemRecord -TEST.NEW -TEST.NAME:getSystemRecord.001 -TEST.MCDC_BASIS_PATH:2 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if (nvDataMgmtExecProcessRecordState == (NVDATAMGMT_PROCESS_RECORD_STATE_IDLE)) ==> 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:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_IDLE -TEST.END - --- Test Case: getSystemRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getSystemRecord -TEST.NEW -TEST.NAME:getSystemRecord.002 -TEST.MCDC_BASIS_PATH:1 of 2 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if (nvDataMgmtExecProcessRecordState == (NVDATAMGMT_PROCESS_RECORD_STATE_IDLE)) ==> 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.VALUE:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecProcessRecordState:NVDATAMGMT_PROCESS_RECORD_STATE_SEND_RECORD -TEST.END - --- Subprogram: getTreatmentTime - --- Test Case: getTreatmentTime.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:getTreatmentTime -TEST.NEW -TEST.NAME:getTreatmentTime.001 -TEST.VALUE:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.treatmentTime:0 -TEST.VALUE:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.crc:0 -TEST.EXPECTED:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.treatmentTime:0 -TEST.EXPECTED:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.crc:0 -TEST.END - -- Subprogram: handleExecEraseState -- Test Case: handleExecEraseState.001 @@ -3742,210 +3412,6 @@ TEST.EXPECTED:NVDataMgmt.readLogData.return:1 TEST.END --- Subprogram: setCalibrationRecord - --- Test Case: setCalibrationRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.001 -TEST.MCDC_BASIS_PATH:2 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.currentMessage:1 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.totalMessages:0 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.length:0 -TEST.END - --- Test Case: setCalibrationRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.002 -TEST.MCDC_BASIS_PATH:3 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "b". - Condition a ==> TRUE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.currentMessage:1 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.totalMessages:0 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.length:0 -TEST.END - --- Test Case: setCalibrationRecord.003 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.003 -TEST.MCDC_BASIS_PATH:1 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - Row number 3 forms a pair with Row 1 for Condition #1, subcondition "a". - Condition a ==> FALSE - Condition b ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.END - --- Test Case: setCalibrationRecord.004 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.004 -TEST.MCDC_BASIS_PATH:5 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.END - --- Test Case: setCalibrationRecord.005 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.005 -TEST.MCDC_BASIS_PATH:6 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 6 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #2, subcondition "b". - Condition a ==> TRUE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setCalibrationRecord.006 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.006 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.previousCalMessageNum:2 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.END - --- Test Case: setCalibrationRecord.007 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.007 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.<>.isNewCalAvailable:1 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:2 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.EXPECTED:NVDataMgmt.<>.isNewCalAvailable:1 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.totalMessages:2 -TEST.END - --- Test Case: setCalibrationRecord.008 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setCalibrationRecord -TEST.NEW -TEST.NAME:setCalibrationRecord.008 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.totalMessages:2 -TEST.VALUE:NVDataMgmt.setCalibrationRecord.length:<> -TEST.VALUE:NVDataMgmt.setCalibrationRecord.addressPtr:<> -TEST.VALUE:uut_prototype_stubs.crc16.return:100 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.currentMessage:2 -TEST.EXPECTED:NVDataMgmt.setCalibrationRecord.totalMessages:2 -TEST.END - -- Subprogram: setMemoryOpsStruct -- Test Case: setMemoryOpsStruct.001 @@ -4066,360 +3532,29 @@ TEST.EXPECTED:NVDataMgmt.<>.queueCount:1 TEST.END --- Subprogram: setServiceRecord +-- Subprogram: setTxTimeHours --- Test Case: setServiceRecord.001 +-- Test Case: getTreatmentTime.001 TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord +TEST.SUBPROGRAM:setTxTimeHours TEST.NEW -TEST.NAME:setServiceRecord.001 -TEST.MCDC_BASIS_PATH:2 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE +TEST.NAME:getTreatmentTime.001 +TEST.VALUE:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.txLastStartTimeEpoch:0 +TEST.VALUE:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.crc:0 +TEST.EXPECTED:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.txLastStartTimeEpoch:0 +TEST.EXPECTED:NVDataMgmt.<>.hdUsageInfoGroup.hdUsageInfo.crc:0 TEST.END --- Test Case: setServiceRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.002 -TEST.MCDC_BASIS_PATH:3 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "b". - Condition a ==> TRUE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setServiceRecord.003 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.003 -TEST.MCDC_BASIS_PATH:1 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - Row number 3 forms a pair with Row 1 for Condition #1, subcondition "a". - Condition a ==> FALSE - Condition b ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.END - --- Test Case: setServiceRecord.004 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.004 -TEST.MCDC_BASIS_PATH:5 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - (2) if (nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_RECEIVE) && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setServiceRecord.005 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.005 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - (2) if (nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_RECEIVE) && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.EXPECTED:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.END - --- Test Case: setServiceRecord.006 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.006 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - (2) if (nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_RECEIVE) && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:2 -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.END - --- Test Case: setServiceRecord.007 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setServiceRecord -TEST.NEW -TEST.NAME:setServiceRecord.007 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_IDLE)) ==> FALSE - (2) if (nvDataMgmtExecReceiveRecordState == (NVDATAMGMT_RECEIVE_RECORD_RECEIVE) && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:1 -TEST.VALUE:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.VALUE:NVDataMgmt.setServiceRecord.totalMessages:2 -TEST.VALUE:NVDataMgmt.setServiceRecord.length:<> -TEST.VALUE:NVDataMgmt.setServiceRecord.addressPtr:<> -TEST.VALUE:uut_prototype_stubs.crc16.address:"" -TEST.VALUE:uut_prototype_stubs.crc16.len:62 -TEST.VALUE:uut_prototype_stubs.crc16.return:1 -TEST.EXPECTED:NVDataMgmt.setServiceRecord.currentMessage:2 -TEST.EXPECTED:uut_prototype_stubs.crc16.len:62 -TEST.END - --- Subprogram: setSystemRecord - --- Test Case: setSystemRecord.001 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.001 -TEST.MCDC_BASIS_PATH:2 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 2 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setSystemRecord.002 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.002 -TEST.MCDC_BASIS_PATH:3 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 3 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - Row number 2 forms a pair with Row 1 for Condition #1, subcondition "b". - Condition a ==> TRUE - Condition b ==> FALSE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:1 -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setSystemRecord.003 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.003 -TEST.MCDC_BASIS_PATH:1 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 1 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - Row number 3 forms a pair with Row 1 for Condition #1, subcondition "a". - Condition a ==> FALSE - Condition b ==> TRUE - Test Case Generation Notes: -TEST.END_NOTES: -TEST.VALUE:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_IDLE -TEST.END - --- Test Case: setSystemRecord.004 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.004 -TEST.MCDC_BASIS_PATH:5 of 12 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.END - --- Test Case: setSystemRecord.005 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.005 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:2 -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.EXPECTED:NVDataMgmt.<>.previousCalMessageNum:3 -TEST.EXPECTED:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.END - --- Test Case: setSystemRecord.006 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.006 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:2 -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:3 -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.EXPECTED:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.EXPECTED:NVDataMgmt.setSystemRecord.totalMessages:3 -TEST.END - --- Test Case: setSystemRecord.007 -TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setSystemRecord -TEST.NEW -TEST.NAME:setSystemRecord.007 -TEST.NOTES: -This is an automatically generated test case. - Test Path 5 - (1) if ((1) == currentMessage && (NVDATAMGMT_RECEIVE_RECORD_IDLE) == nvDataMgmtExecReceiveRecordState) ==> FALSE - (2) if ((NVDATAMGMT_RECEIVE_RECORD_RECEIVE) == nvDataMgmtExecReceiveRecordState && currentMessage <= totalMessages) ==> 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:NVDataMgmt.<>.nvDataMgmtExecReceiveRecordState:NVDATAMGMT_RECEIVE_RECORD_RECEIVE -TEST.VALUE:NVDataMgmt.<>.previousCalMessageNum:2 -TEST.VALUE:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.VALUE:NVDataMgmt.setSystemRecord.totalMessages:3 -TEST.VALUE:NVDataMgmt.setSystemRecord.length:<> -TEST.VALUE:NVDataMgmt.setSystemRecord.addressPtr:<> -TEST.VALUE:uut_prototype_stubs.crc16.address:"" -TEST.VALUE:uut_prototype_stubs.crc16.len:46 -TEST.VALUE:uut_prototype_stubs.crc16.return:1 -TEST.EXPECTED:NVDataMgmt.setSystemRecord.currentMessage:3 -TEST.EXPECTED:NVDataMgmt.setSystemRecord.totalMessages:3 -TEST.EXPECTED:uut_prototype_stubs.crc16.len:46 -TEST.END - --- Subprogram: setTreatmentTime - -- Test Case: setTreatmentTim.001 TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setTreatmentTime +TEST.SUBPROGRAM:setTxTimeHours TEST.NEW TEST.NAME:setTreatmentTim.001 +TEST.IMPORT_FAILURES: +(E) @LINE: 4434 TEST.VALUE:NVDataMgmt.setTxTimeHours.return:1 + >>> Warning: Value already set + >>> Previous value <> ignored +TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:2 of 2 TEST.NOTES: This is an automatically generated test case. @@ -4430,17 +3565,21 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.STUB:NVDataMgmt.isQueueFull -TEST.VALUE:NVDataMgmt.setTreatmentTime.hours:<> -TEST.VALUE:NVDataMgmt.setTreatmentTime.return:1 +TEST.VALUE:NVDataMgmt.setTxTimeHours.return:1 TEST.VALUE:NVDataMgmt.isQueueFull.return:0 -TEST.EXPECTED:NVDataMgmt.setTreatmentTime.return:1 +TEST.EXPECTED:NVDataMgmt.setTxTimeHours.return:1 TEST.END -- Test Case: setTreatmentTim.002 TEST.UNIT:NVDataMgmt -TEST.SUBPROGRAM:setTreatmentTime +TEST.SUBPROGRAM:setTxTimeHours TEST.NEW TEST.NAME:setTreatmentTim.002 +TEST.IMPORT_FAILURES: +(E) @LINE: 4455 TEST.VALUE:NVDataMgmt.setTxTimeHours.return:0 + >>> Warning: Value already set + >>> Previous value <> ignored +TEST.END_IMPORT_FAILURES: TEST.MCDC_BASIS_PATH:1 of 2 TEST.NOTES: This is an automatically generated test case. @@ -4451,10 +3590,9 @@ Test Case Generation Notes: TEST.END_NOTES: TEST.STUB:NVDataMgmt.isQueueFull -TEST.VALUE:NVDataMgmt.setTreatmentTime.hours:<> -TEST.VALUE:NVDataMgmt.setTreatmentTime.return:0 +TEST.VALUE:NVDataMgmt.setTxTimeHours.return:0 TEST.VALUE:NVDataMgmt.isQueueFull.return:1 -TEST.EXPECTED:NVDataMgmt.setTreatmentTime.return:0 +TEST.EXPECTED:NVDataMgmt.setTxTimeHours.return:0 TEST.END -- Subprogram: signalPowerOffWarning Index: vectorcast/setup_env.sh =================================================================== diff -u -rdf608540e66b49eb8d755a5d2cb8f6b7c4a94820 -r306cea5ba8853b16f7da4b2b09928db073bb1d5e --- vectorcast/setup_env.sh (.../setup_env.sh) (revision df608540e66b49eb8d755a5d2cb8f6b7c4a94820) +++ vectorcast/setup_env.sh (.../setup_env.sh) (revision 306cea5ba8853b16f7da4b2b09928db073bb1d5e) @@ -5,15 +5,25 @@ # *** Insert any custom environment variables needed *** # ******************************************************* +doesDialityDirExist=false +# Check if this script is called from a Diality machine by checking the location that VectorCAST has been installed +if [[ -d /opt/VectorCASTSP3 ]]; then + doesDialityDirExist=true +fi + # VECTORCAST_DIR - Environment variable pointing to the base directory for VectorCAST -if [ -z "$VECTORCAST_DIR" ]; then - export VECTORCAST_DIR=/usr/local/vcast +if [ "$doesDialityDirExist" == false ]; then + export VECTORCAST_DIR=/usr/local/vcast/ +else + export VECTORCAST_DIR=~/vcast fi # VECTOR_LICENSE_FILE - Environment variable pointing to the license file -if [ -z "$VECTOR_LICENSE_FILE" ]; then +if [ "$doesDialityDirExist" == false ]; then export VECTOR_LICENSE_FILE=/usr/local/flexlm/licenses/license.dat +else + export VECTOR_LICENSE_FILE=27000@dvm-util01 fi # VCAST_COMPILER_DIR - Environment variable pointing to the base directory of compiler installation