Index: vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst =================================================================== diff -u -re9b8042fd703397914a792b993ee75e6db36ff8d -rfe916929aed79950967f3a6fe5a49b2424ee3491 --- vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst (.../MODESTANDBY.tst) (revision e9b8042fd703397914a792b993ee75e6db36ff8d) +++ vectorcast/Hercules_RM46_HD_Project/environment/MODESTANDBY/MODESTANDBY.tst (.../MODESTANDBY.tst) (revision fe916929aed79950967f3a6fe5a49b2424ee3491) @@ -114,19 +114,31 @@ TEST.NEW TEST.NAME:execStandbyMode.005 TEST.IMPORT_FAILURES: -(I) @LINE: 216 +(I) @LINE: 226 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 220 +(I) @LINE: 230 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) - >>> (I) @LINE: 108 + >>> (I) @LINE: 224 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 112 + >>> (I) @LINE: 228 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 208 + >>> (I) @LINE: 116 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 120 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 216 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 212 + >>> (I) @LINE: 220 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 108 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 112 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 208 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 212 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 204 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 208 @@ -230,19 +242,31 @@ TEST.NEW TEST.NAME:execStandbyMode.006 TEST.IMPORT_FAILURES: -(I) @LINE: 328 +(I) @LINE: 350 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 330 +(I) @LINE: 352 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) - >>> (I) @LINE: 215 + >>> (I) @LINE: 344 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 217 + >>> (I) @LINE: 346 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 312 + >>> (I) @LINE: 231 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 233 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 328 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 314 + >>> (I) @LINE: 330 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 215 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 217 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 312 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 314 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 304 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 306 @@ -366,19 +390,31 @@ TEST.NEW TEST.NAME:execStandbyMode.008 TEST.IMPORT_FAILURES: -(I) @LINE: 460 +(I) @LINE: 494 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 463 +(I) @LINE: 497 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) - >>> (I) @LINE: 320 + >>> (I) @LINE: 484 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 323 + >>> (I) @LINE: 487 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 436 + >>> (I) @LINE: 344 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 347 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 460 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 439 + >>> (I) @LINE: 463 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 320 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 323 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 436 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 439 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 424 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 427 @@ -481,19 +517,31 @@ TEST.NEW TEST.NAME:execStandbyMode.009 TEST.IMPORT_FAILURES: -(I) @LINE: 571 +(I) @LINE: 617 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 574 +(I) @LINE: 620 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) - >>> (I) @LINE: 426 + >>> (I) @LINE: 603 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 429 + >>> (I) @LINE: 606 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 539 + >>> (I) @LINE: 458 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 461 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 571 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 542 + >>> (I) @LINE: 574 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 426 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 429 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 539 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 542 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 523 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 526 @@ -647,19 +695,31 @@ TEST.NEW TEST.NAME:execStandbyMode.012 TEST.IMPORT_FAILURES: -(I) @LINE: 733 +(I) @LINE: 791 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. -(I) @LINE: 737 +(I) @LINE: 795 >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. (E) Errors from previous script import(s) - >>> (I) @LINE: 532 + >>> (I) @LINE: 773 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 536 + >>> (I) @LINE: 777 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 693 + >>> (I) @LINE: 572 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 576 + >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. + >>> (I) @LINE: 733 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. - >>> (I) @LINE: 697 + >>> (I) @LINE: 737 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 532 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 536 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 693 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. +>>> (I) @LINE: 697 +>>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 673 >>> >>> 'STANDBY_START_STATE' was specified as a macro, but it is in the symbol dictionary. >>> (I) @LINE: 677 @@ -3606,169 +3666,88 @@ -- Subprogram: isDGDisinfectValid --- Test Case: isDGDisinfectValid.001 +-- Test Case: isDGDisinfectValid_all_true TEST.UNIT:ModeStandby TEST.SUBPROGRAM:isDGDisinfectValid TEST.NEW -TEST.NAME:isDGDisinfectValid.001 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:0 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.002 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.002 +TEST.NAME:isDGDisinfectValid_all_true TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:0 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:200 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:200 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:220 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:150 TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[1]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[2]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[3]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[5]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[6]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[7]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[9]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[10]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[11]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:150 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[13]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[14]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[15]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:160 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:1 TEST.END --- Test Case: isDGDisinfectValid.003 +-- Test Case: isDGDisinfectValid_basic_flush_valid TEST.UNIT:ModeStandby TEST.SUBPROGRAM:isDGDisinfectValid TEST.NEW -TEST.NAME:isDGDisinfectValid.003 +TEST.NAME:isDGDisinfectValid_basic_flush_valid TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:0 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastBasicFlushCompleteDateEpoch:3000 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:100 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:200 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:220 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:150 TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.004 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.004 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:4000 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_FILTER_FLUSH_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.005 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.005 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.006 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.006 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatActiveCoolCompleteDateEpoch:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:1900000 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_DISINFECT_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.007 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.007 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatActiveCoolCompleteDateEpoch:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:10000000 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_FILTER_FLUSH_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.008 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.008 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_FILTER_FLUSH_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.009 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.009 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:10000 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:0 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_DISINFECT_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.010 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.010 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastBasicFlushCompleteDateEpoch:1 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_NONE -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.011 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.011 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatActiveCoolCompleteDateEpoch:1 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 -TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:1 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 -TEST.END - --- Test Case: isDGDisinfectValid.012 -TEST.UNIT:ModeStandby -TEST.SUBPROGRAM:isDGDisinfectValid -TEST.NEW -TEST.NAME:isDGDisinfectValid.012 -TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:2 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:20 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[1]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[2]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[3]:0 -TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:12 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[5]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[6]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[7]:0 -TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:15 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[9]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[10]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[11]:0 -TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:0 -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.rejReason[0]:REQUEST_REJECT_REASON_DG_FILTER_FLUSH_HAS_BEEN_EXPIRED -TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:150 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[13]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[14]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[15]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:8000 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:1 TEST.END --- Test Case: isDGDisinfectValid_all_true +-- Test Case: isDGDisinfectValid_chem_flush_valid TEST.UNIT:ModeStandby TEST.SUBPROGRAM:isDGDisinfectValid TEST.NEW -TEST.NAME:isDGDisinfectValid_all_true +TEST.NAME:isDGDisinfectValid_chem_flush_valid TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> TEST.VALUE:ModeStandby.isDGDisinfectValid.return:0 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:200 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastBasicFlushCompleteDateEpoch:50 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:100 TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:200 -TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:220 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:3000 TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:150 TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 @@ -3790,7 +3769,7 @@ TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 -TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:160 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:8000 TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:1 TEST.END @@ -3864,6 +3843,91 @@ TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 TEST.END +-- Test Case: isDGDisinfectValid_heat_dis_cool_valid +TEST.UNIT:ModeStandby +TEST.SUBPROGRAM:isDGDisinfectValid +TEST.NEW +TEST.NAME:isDGDisinfectValid_heat_dis_cool_valid +TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:1 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastBasicFlushCompleteDateEpoch:50 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:10 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:150 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:50 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:150 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatActiveCoolCompleteDateEpoch:999000 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[1]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[2]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[3]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[5]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[6]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[7]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[9]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[10]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[11]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[13]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[14]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[15]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:1000000 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.END + +-- Test Case: isDGDisinfectValid_heat_dis_cool_valid_dis_not_been_done +TEST.UNIT:ModeStandby +TEST.SUBPROGRAM:isDGDisinfectValid +TEST.NEW +TEST.NAME:isDGDisinfectValid_heat_dis_cool_valid_dis_not_been_done +TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:1 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastBasicFlushCompleteDateEpoch:50 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:10 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:150 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:900000 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:900000 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatActiveCoolCompleteDateEpoch:999000 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[1]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[2]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[3]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[5]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[6]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[7]:0xFF +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:0xFF +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[9]:0xFF +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[10]:0xFF +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[11]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[13]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[14]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[15]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:1000000 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.END + +-- Test Case: isDGDisinfectValid_info_not_available +TEST.UNIT:ModeStandby +TEST.SUBPROGRAM:isDGDisinfectValid +TEST.NEW +TEST.NAME:isDGDisinfectValid_info_not_available +TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:1 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:0 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.END + -- Test Case: isDGDisinfectValid_rej_reason_disinfect_expired TEST.UNIT:ModeStandby TEST.SUBPROGRAM:isDGDisinfectValid @@ -3878,6 +3942,41 @@ TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 TEST.END +-- Test Case: isDGDisinfectValid_treatment_after_heat_dis +TEST.UNIT:ModeStandby +TEST.SUBPROGRAM:isDGDisinfectValid +TEST.NEW +TEST.NAME:isDGDisinfectValid_treatment_after_heat_dis +TEST.VALUE:ModeStandby.isDGDisinfectValid.rejReason:<> +TEST.VALUE:ModeStandby.isDGDisinfectValid.return:1 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisStartDateEpoch:200 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisCompleteDateEpoch:180 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastChemDisFlushCompleteDateEpoch:220 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].dgUsageInfo.lastHeatDisCompleteDateEpoch:220 +TEST.VALUE:uut_prototype_stubs.getHDVersionDGServiceAndUsageData.data[0].isDGUsageInfoAvailable:1 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[0]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[1]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[2]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[3]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[4]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[5]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[6]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[7]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[8]:200 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[9]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[10]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[11]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[12]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[13]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[14]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[15]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[16]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferAddress[17]:0 +TEST.VALUE:uut_prototype_stubs.getNVRecord2Driver.bufferLength:18 +TEST.VALUE:uut_prototype_stubs.getRTCTimestamp.return:160 +TEST.EXPECTED:ModeStandby.isDGDisinfectValid.return:0 +TEST.END + -- Subprogram: setRequestedCleaningMode -- Test Case: setRequestedCleaningMode.001