From 3451391a84edd6e211b9d6988e5db5e67375aa3f Mon Sep 17 00:00:00 2001 From: manjunathambiger23 Date: Mon, 6 Dec 2021 20:17:29 +0530 Subject: [PATCH] Adding PICS condition - Dec 6th (#12620) * Adding PICS condition for the following testcases: 1 .TC-BI-2.2 2 .TC-CC-9-1 3 .TC-CC-9.2 4 .TC-CC-9.3 5 .TC-DIAGSW-1.1 6 .TC-DIAGSW-2.1 7 .TC-DIAGSW-3.2 8 .TC-OOC-2.2 9 .TC-OO-2.3 10 .TC-PCC-2.2 11 .TC-PCC-2.3 12 .TC-RH-2.2 13 .TC-TM-2.2 14 .TC-TSTAT-2.2 15 .TC-TSUIC-2.2 16 .TC-WNCV-2.2 17 .TC-WNCV-2.4 18 .TC-WNCV-2.5 * Adding auto generated files --- src/app/tests/suites/certification/PICS.yaml | 193 ++++++++ .../suites/certification/Test_TC_BI_2_2.yaml | 21 + .../suites/certification/Test_TC_CC_9_1.yaml | 48 ++ .../suites/certification/Test_TC_CC_9_2.yaml | 23 +- .../suites/certification/Test_TC_CC_9_3.yaml | 23 +- .../certification/Test_TC_DIAGSW_1_1.yaml | 3 + .../certification/Test_TC_DIAGSW_2_1.yaml | 1 + .../certification/Test_TC_DIAGSW_3_2.yaml | 4 + .../suites/certification/Test_TC_OCC_2_2.yaml | 5 + .../suites/certification/Test_TC_OO_2_3.yaml | 105 ++++ .../suites/certification/Test_TC_PCC_2_2.yaml | 6 + .../suites/certification/Test_TC_PCC_2_3.yaml | 14 + .../suites/certification/Test_TC_RH_2_2.yaml | 5 + .../suites/certification/Test_TC_TM_2_2.yaml | 5 + .../certification/Test_TC_TSTAT_2_2.yaml | 75 +++ .../certification/Test_TC_TSUIC_2_2.yaml | 13 + .../certification/Test_TC_WNCV_2_2.yaml | 2 + .../certification/Test_TC_WNCV_2_4.yaml | 2 + .../certification/Test_TC_WNCV_2_5.yaml | 2 + .../chip-tool/zap-generated/test/Commands.h | 450 +++++++++++------- 20 files changed, 815 insertions(+), 185 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index c730e07ef46992..628d4ac8775ed8 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -29,3 +29,196 @@ PICS: - label: "Does the device support Intermediate CA Certificate" id: DM_ICACERT + + # Basic Inputcluster + - label: "Does the device implement the PresentValue attribute?" + id: A_PRESENTVALUE + + - label: "Does the device implement the OutOfService attribute?" + id: A_OUTOFSERVICE + + - label: "Does the device implement the StatusFlags attribute?" + id: A_STATUSFLAGS + + - label: "Can PresentValue be changed by manual operation at the DUT?" + id: MANUAL_OPERATE + + - label: "Can an OutOfService be triggered?" + id: MANUAL_OUTOFSERVICE + + - label: "Can an Alarm be triggered?" + id: MANUAL_ALARM + + - label: "Can a Fault be triggered?" + id: MANUAL_FAULT + + # Color Control cluster + - label: "Does the device implement receiving the ColorLoopSet command?" + id: CR_COLORLOOPSET + + - label: "Does the device implement the COLORLOOPACTIVE attribute?" + id: A_COLORLOOPACTIVE + + - label: "Does the device implement the COLORLOOPDIRECTION attribute?" + id: A_COLORLOOPDIRECTION + + - label: "Does the device implement the COLORLOOPTIME attribute?" + id: A_COLORLOOPTIME + + - label: + "Does the device implement the COLORLOOPSTARTENHANCEDHUE attribute?" + id: A_COLORLOOPSTARTENHANCEDHUE + + - label: + "Does the device implement the COLORLOOPSTOREDENHANCEDHUE attribute?" + id: A_COLORLOOPSTOREDENHANCEDHUE + + - label: "Does the device implement the ENHANCEDCURRENTHUE attribute?" + id: A_ENHANCEDCURRENTHUE + + - label: + "Does the device implement receiving the EnhancedMovetoHue command?" + id: CR_ENHANCEDMOVETOHUE + + # Relative Humidity cluster + - label: "Does the device implement the MeasuredValue attribute?" + id: A_RELATIVEHUMIDITY + + - label: "Does the device implement the MinMeasuredValue attribute?" + id: A_RELATIVEHUMIDITY_MIN + + - label: "Does the device implement the MaxMeasuredValue attribute?" + id: A_RELATIVEHUMIDITY_MAX + + - label: "Does the device implement the Tolerance attribute?" + id: A_RELATIVEHUMIDITY_TOLERANCE + + - label: + "Can the MeasuredValue attribute changed by physical control at the + device?" + id: MANUAL_RELATIVEHUMIDITY_CHANGE + + # Temperature Measurement cluster + - label: "Does the device implement the MeasuredValue attribute" + id: A_TEMPERATURE + + - label: + "Can the MeasuredValue attribute changed by physical control at the + device" + id: MANUAL_TEMPERATURE_CHANGE + + # Thermostat User Configuration cluster + - label: "Does the device implement the TemperatureDisplayMode attribute" + id: A_TEMPERATURE_DISPLAY_MODE + + - label: "Does the device implement the KeypadLockout attribute" + id: A_KEYPAD_LOCKOUT + + - label: + "Does the device implement the ScheduleProgrammingVisibility attribute" + id: A_SCHEDULE_PROGRAMMING_VISIBILITY + + # Software Diagnostics cluster + - label: "Does the device implement the SoftwareFault event?" + id: E_SOFTWAREFAULT + + - label: "Does the device implement the ThreadMetrics attribute" + id: A_THREADMETRICS + + - label: "Does the device implement the CurrentHeapUsed attribute" + id: A_CURRENTHEAPUSED + + - label: "Does the device implement the CurrentHeapHighWaterMark attribute" + id: A_CURRENTHEAPHIGHWATERMARK + + - label: "Does the device implement the ResetWaterMarks command?" + id: CR_RESETWATERMARKS + + # Pump Configuration and Control cluster + - label: "Does the device implement the attribute OperationMode" + id: A_OPERATIONMODE + + - label: "Does the device implement the attribute ControlMode" + id: A_CONTROLMODE + + - label: "Does the device implement the attribute EffectiveOperationMode" + id: A_EFFECTIVEOPERATIONMODE + + - label: "Does the device implement the attribute EffectiveControlMode" + id: A_EFFECTIVECONTROLMODE + + # Thermostat cluster + - label: "Does the device implement the OccupiedCoolingSetpoint attribute" + id: A_OCCUPIEDCOOLINGSETPOINT + + - label: "Does the device implement the OccupiedHeatingSetpoint attribute" + id: A_OCCUPIEDHEATINGSETPOINT + + - label: "Does the device implement the MinHeatSetpointLimit attribute" + id: A_MINHEATSETPOINTLIMIT + + - label: "Does the device implement the MaxHeatSetpointLimit attribute" + id: A_MAXHEATSETPOINTLIMIT + + - label: "Does the device implement the MinCoolSetpointLimit attribute" + id: A_MINCOOLSETPOINTLIMIT + + - label: "Does the device implement the MaxCoolSetpointLimit attribute" + id: A_MAXCOOLSETPOINTLIMIT + + - label: + "Does the device implement the ControlSequenceOfOperation attribute" + id: A_CONTROLSEQUENCEOFOPERATION + + - label: + "Does the device implement receiving the SetpointRaiseLower command?" + id: CR_SetpointRaiseLower + + # Occupency sensing cluster + - label: "Does the device implement the Occupancy attribute?" + id: A_OCCUPANCY + + - label: + "Can the Occupancy attribute changed by physical control at the + device?" + id: MANUAL_OCCUPANCY_CHANGE + + # Window covering cluster + - label: "Does the device implement the Type" + id: A_TYPE + + - label: "Does the device implement the ConfigStatus" + id: A_CONFIGSTATUS + + - label: "Does the device implement the EndProductType" + id: A_ENDPRODUCTTYPE + + # On/Off Cluster + - label: "Does the device implement the OnOff attribute?" + id: A_ONOFF + + - label: "Does the device implement the GlobalSceneControl attribute?" + id: A_GLOBALSCENECONTROL + + - label: "Does the device implement the OnTime attribute?" + id: A_ONTIME + + - label: "Does the device implement the OffWaitTime attribute?" + id: A_OFFWAITTIME + + - label: "Does the device implement receiving the Off command?" + id: CR_OFF + + - label: "Does the device implement sending the On command?" + id: CR_ON + + - label: "Does the device implement receiving the OffWithEffect command?" + id: CR_OFFWITHEFFECT + + - label: + "Does the device implement receiving the OnWithRecallGlobalScene + command?" + id: CR_ONWITHRECALL + + - label: "Does the device implement receiving the OnWithTimedOff command?" + id: CR_ONWITHTIMEOFF diff --git a/src/app/tests/suites/certification/Test_TC_BI_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BI_2_2.yaml index 0108f03e085a0e..b849c03eebed12 100644 --- a/src/app/tests/suites/certification/Test_TC_BI_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BI_2_2.yaml @@ -26,50 +26,59 @@ tests: - label: "Reads PresentValue attribute from DUT" command: "readAttribute" attribute: "present value" + PICS: A_PRESENTVALUE response: value: 0 - label: "Reads OutOfService attribute from DUT" command: "readAttribute" attribute: "out of service" + PICS: A_OUTOFSERVICE response: value: 0 - label: "Reads StatusFlags attribute from DUT" command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 0 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to change the sensor value to TRUE" disabled: true + PICS: MANUAL_OPERATE - label: "Reads PresentValue attribute from DUT" disabled: true command: "readAttribute" attribute: "present value" + PICS: A_PRESENTVALUE response: value: 1 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to change the sensor value to FALSE" disabled: true + PICS: MANUAL_OPERATE - label: "Reads PresentValue attribute from DUT" command: "readAttribute" attribute: "present value" + PICS: A_PRESENTVALUE response: value: 0 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to Trigger an OutOfService state" disabled: true + PICS: MANUAL_OUTOFSERVICE - label: "Reads OutOfService attribute from DUT" disabled: true command: "readAttribute" attribute: "out of service" + PICS: A_OUTOFSERVICE response: value: 1 @@ -77,62 +86,74 @@ tests: disabled: true command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 4 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to Clear the OutOfService state if possible" disabled: true + PICS: MANUAL_OUTOFSERVICE - label: "Reads OutOfService attribute from DUT" command: "readAttribute" attribute: "out of service" + PICS: A_OUTOFSERVICE response: value: 0 - label: "Reads StatusFlags attribute from DUT" command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 0 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to Trigger an Alarm state" disabled: true + PICS: MANUAL_ALARM - label: "Reads StatusFlags attribute from DUT" disabled: true command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 1 - label: "Operate on device to Clear the Alarm state if possible" disabled: true + PICS: MANUAL_ALARM - label: "Reads StatusFlags attribute from DUT" command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 0 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to Trigger an Fault state" disabled: true + PICS: MANUAL_FAULT - label: "Reads StatusFlags attribute from DUT" disabled: true command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 2 #issue #11475 User action needed, need to implement in YAML framework - label: "Operate on device to Clear the Fault state if possible" disabled: true + PICS: MANUAL_FAULT - label: "Reads StatusFlags attribute from DUT" command: "readAttribute" attribute: "status flags" + PICS: A_STATUSFLAGS response: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml index 6c6245900cc205..45a1c7ac1b5e73 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml @@ -36,6 +36,7 @@ tests: - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -56,11 +57,13 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -81,11 +84,13 @@ tests: - label: "Read ColorLoopDirection attribute from DUT" command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 0 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -106,11 +111,13 @@ tests: - label: "Read ColorLoopTime attribute from DUT" command: "readAttribute" attribute: "color loop time" + PICS: A_COLORLOOPTIME response: value: 30 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -131,11 +138,13 @@ tests: - label: "Read ColorLoopStartEnhancedHue attribute from DUT" command: "readAttribute" attribute: "color loop start enhanced hue" + PICS: A_COLORLOOPSTARTENHANCEDHUE response: value: 160 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -156,6 +165,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -164,6 +174,7 @@ tests: disabled: true command: "readAttribute" attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -173,6 +184,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -182,11 +194,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -207,6 +221,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -215,11 +230,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -240,11 +257,13 @@ tests: - label: "Read ColorLoopDirection attribute from DUT" command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 1 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -265,6 +284,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -273,6 +293,7 @@ tests: disabled: true command: "readAttribute" attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -282,6 +303,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -291,11 +313,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -316,6 +340,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -324,11 +349,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 - label: "Enhanced Move To Hue command 10" command: "EnhancedMoveToHue" + PICS: CR_ENHANCEDMOVETOHUE arguments: values: - name: "enhancedHue" @@ -353,11 +380,13 @@ tests: - label: "Read EnhancedCurrentHue attribute from DUT" command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 40960 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -378,11 +407,13 @@ tests: - label: "Read ColorLoopDirection attribute from DUT" command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 0 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -404,6 +435,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -412,6 +444,7 @@ tests: disabled: true command: "readAttribute" attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -421,6 +454,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -430,11 +464,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -455,6 +491,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -463,11 +500,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -489,11 +528,13 @@ tests: - label: "Read ColorLoopDirection attribute from DUT" command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 1 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -514,6 +555,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -522,6 +564,7 @@ tests: disabled: true command: "readAttribute" attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -531,6 +574,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -540,11 +584,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -565,6 +611,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -573,6 +620,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml index fb97619b694534..337269efcef2b9 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml @@ -38,6 +38,7 @@ tests: - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -58,29 +59,34 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 - label: "Read ColorLoopDirection attribute from DUT." command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 0 - label: "Read ColorLoopTime attribute from DUT." command: "readAttribute" attribute: "color loop time" + PICS: A_COLORLOOPTIME response: value: 30 - label: "Read ColorLoopStartEnhancedHue attribute from DUT." command: "readAttribute" attribute: "color loop start enhanced hue" + PICS: A_COLORLOOPSTARTENHANCEDHUE response: value: 160 - label: "Color Loop Set Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -101,6 +107,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT." command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -109,13 +116,15 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 - label: "Read ColorLoopStoredEnhancedHue attribute from DUT." disabled: true command: "readAttribute" - attribute: "color loop start enhanced hue" + attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 500 @@ -125,6 +134,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -134,11 +144,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Color Loop Set Command - Start Color Loop" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -159,6 +171,7 @@ tests: - label: "Read ColorLoopDirection attribute from DUT." command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 1 @@ -168,6 +181,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -177,11 +191,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Color Loop Set Command - Start Color Loop" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -202,6 +218,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -209,7 +226,8 @@ tests: - label: "Read ColorLoopStoredEnhancedHue attribute from DUT." disabled: true command: "readAttribute" - attribute: "color loop start enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE + attribute: "color loop stored enhanced hue" response: value: 0 @@ -217,6 +235,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml index 4a11e7a524d4d5..de2ecc07127915 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml @@ -37,6 +37,7 @@ tests: - label: "Sends ColorLoopSet Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -57,29 +58,34 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 - label: "Read ColorLoopDirection attribute from DUT." command: "readAttribute" attribute: "color loop direction" + PICS: A_COLORLOOPDIRECTION response: value: 0 - label: "Read ColorLoopTime attribute from DUT." command: "readAttribute" attribute: "color loop time" + PICS: A_COLORLOOPTIME response: value: 30 - label: "Read ColorLoopStartEnhancedHue attribute from DUT." command: "readAttribute" attribute: "color loop start enhanced hue" + PICS: A_COLORLOOPSTARTENHANCEDHUE response: value: 160 - label: "Color Loop Set Command - Set all Attributes" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -100,6 +106,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT." command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 1 @@ -108,13 +115,15 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 - label: "Read ColorLoopStoredEnhancedHue attribute from DUT." disabled: true command: "readAttribute" - attribute: "color loop start enhanced hue" + attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -124,6 +133,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -133,11 +143,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Color Loop Set Command - Start Color Loop" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -158,6 +170,7 @@ tests: - label: "Read ColorLoopTime attribute from DUT." command: "readAttribute" attribute: "color loop time" + PICS: A_COLORLOOPTIME response: value: 60 @@ -167,6 +180,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 @@ -176,11 +190,13 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 500 - label: "Color Loop Set Command - Start Color Loop" command: "ColorLoopSet" + PICS: CR_COLORLOOPSET arguments: values: - name: "updateFlags" @@ -201,6 +217,7 @@ tests: - label: "Read ColorLoopActive attribute from DUT" command: "readAttribute" attribute: "color loop active" + PICS: A_COLORLOOPACTIVE response: value: 0 @@ -208,7 +225,8 @@ tests: - label: "Read ColorLoopStoredEnhancedHue attribute from DUT." disabled: true command: "readAttribute" - attribute: "color loop start enhanced hue" + attribute: "color loop stored enhanced hue" + PICS: A_COLORLOOPSTOREDENHANCEDHUE response: value: 0 @@ -216,6 +234,7 @@ tests: disabled: true command: "readAttribute" attribute: "enhanced current hue" + PICS: A_ENHANCEDCURRENTHUE response: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_DIAGSW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DIAGSW_1_1.yaml index 5b79695ab41dbd..c1cfa8b19ac932 100644 --- a/src/app/tests/suites/certification/Test_TC_DIAGSW_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DIAGSW_1_1.yaml @@ -30,6 +30,7 @@ tests: optional: true command: "readAttribute" attribute: "ThreadMetrics" + PICS: A_THREADMETRICS response: constraints: value: 0 @@ -45,6 +46,7 @@ tests: - label: "Reads CurrentHeapUsed non-global attribute value from DUT" command: "readAttribute" attribute: "CurrentHeapUsed" + PICS: A_CURRENTHEAPUSED optional: true response: constraints: @@ -54,6 +56,7 @@ tests: "Reads CurrentHeapHighWaterMark non-global attribute value from DUT" command: "readAttribute" attribute: "CurrentHeapHighWatermark" + PICS: A_CURRENTHEAPHIGHWATERMARK optional: true response: constraints: diff --git a/src/app/tests/suites/certification/Test_TC_DIAGSW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DIAGSW_2_1.yaml index a209d855997609..f8ca71e75f3167 100644 --- a/src/app/tests/suites/certification/Test_TC_DIAGSW_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DIAGSW_2_1.yaml @@ -24,6 +24,7 @@ tests: disabled: true command: "readAttribute" attribute: "SoftwareFault" + PICS: E_SOFTWAREFAULT response: constraints: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_DIAGSW_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DIAGSW_3_2.yaml index 5b1d1f2164ebc7..0681abfe19be2a 100644 --- a/src/app/tests/suites/certification/Test_TC_DIAGSW_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DIAGSW_3_2.yaml @@ -27,11 +27,13 @@ tests: - label: "Sends ResetWatermarks to DUT" disabled: true command: "ResetWatermarks" + PICS: CR_RESETWATERMARKS - label: "Reads a list of ThreadMetrics struct attribute from DUT." disabled: true command: "readAttribute" attribute: "ThreadMetrics" + PICS: A_THREADMETRICS response: value: 0 @@ -39,6 +41,7 @@ tests: disabled: true command: "readAttribute" attribute: "CurrentHeapUsed" + PICS: A_CURRENTHEAPUSED response: value: 0 @@ -46,5 +49,6 @@ tests: disabled: true command: "readAttribute" attribute: "CurrentHeapHighWatermark" + PICS: A_CURRENTHEAPHIGHWATERMARK response: value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml index 53422d376a7f4d..e7ecd37d820d35 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_2.yaml @@ -28,12 +28,14 @@ tests: disabled: true command: "readAttribute" attribute: "occupancy" + PICS: A_OCCUPANCY response: value: 0 - label: "Reads Occupancy attribute from DUT" command: "readAttribute" attribute: "occupancy" + PICS: A_OCCUPANCY response: constraints: type: map8 @@ -41,18 +43,21 @@ tests: #Issue #10815 Disabled as UI prompts required for user action - label: "Operate on DUT to change the occupancy status" disabled: true + PICS: MANUAL_OCCUPANCY_CHANGE #Issue #10816 Disabled as values needs to be compared with the value read in step 2 - label: "Reads back Occupancy attribute from DUT after few seconds" disabled: true command: "readAttribute" attribute: "occupancy" + PICS: A_OCCUPANCY response: value: 0 - label: "Reads Occupancy attribute from DUT" command: "readAttribute" attribute: "occupancy" + PICS: A_OCCUPANCY response: constraints: type: map8 diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml index f0417aca5401aa..6aceab6a05aef4 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml @@ -25,6 +25,7 @@ tests: - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Wait 1000ms" cluster: "DelayCommands" @@ -37,12 +38,14 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 - label: "Reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 1 @@ -50,6 +53,7 @@ tests: - label: "Sends OffWithEffect command to DUT" disabled: true command: "OffWithEffect" + PICS: CR_OFFWITHEFFECT arguments: values: - name: "EffectId" @@ -70,6 +74,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -77,6 +82,7 @@ tests: disabled: true command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 0 @@ -84,6 +90,7 @@ tests: - label: "Sends OnWithRecallGlobalScene command to DUT" disabled: true command: "OnWithRecallGlobalScene" + PICS: CR_ONWITHRECALL - label: "Wait 1000ms" disabled: true @@ -98,6 +105,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -105,6 +113,7 @@ tests: disabled: true command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 1 @@ -112,6 +121,7 @@ tests: - label: "Sends OffWithEffect command to DUT" disabled: true command: "OffWithEffect" + PICS: CR_OFFWITHEFFECT arguments: values: - name: "EffectId" @@ -132,6 +142,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -139,11 +150,13 @@ tests: disabled: true command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 0 - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Wait 1000ms" cluster: "DelayCommands" @@ -156,12 +169,14 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 - label: "Reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 1 @@ -169,6 +184,7 @@ tests: - label: "Sends OffWithEffect command to DUT" disabled: true command: "OffWithEffect" + PICS: CR_OFFWITHEFFECT arguments: values: - name: "EffectId" @@ -189,6 +205,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -196,11 +213,13 @@ tests: disabled: true command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 0 - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Wait 1000ms" cluster: "DelayCommands" @@ -213,12 +232,14 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 - label: "Reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 1 @@ -226,6 +247,7 @@ tests: - label: "Sends OnWithRecallGlobalScene command to DUT" disabled: true command: "OnWithRecallGlobalScene" + PICS: CR_ONWITHRECALL - label: "Wait 1000ms" disabled: true @@ -240,6 +262,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -247,18 +270,21 @@ tests: disabled: true command: "readAttribute" attribute: "GlobalSceneControl" + PICS: A_GLOBALSCENECONTROL response: value: 1 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -266,6 +292,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -279,6 +306,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -286,6 +314,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 300 @@ -293,6 +322,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -300,6 +330,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -322,6 +353,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -344,6 +376,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -357,6 +390,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -364,6 +398,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 300 @@ -371,6 +406,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -387,6 +423,7 @@ tests: - label: "Sends OffWithEffect command to DUT" disabled: true command: "OffWithEffect" + PICS: CR_OFFWITHEFFECT arguments: values: - name: "EffectId" @@ -398,6 +435,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -405,6 +443,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -412,6 +451,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -428,6 +468,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -441,6 +482,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -448,6 +490,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -455,6 +498,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 200 @@ -469,22 +513,26 @@ tests: - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -501,6 +549,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -521,16 +570,19 @@ tests: - label: "Send Off Command" command: "Off" + PICS: CR_OFF - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -538,6 +590,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -553,18 +606,21 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -581,6 +637,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -594,6 +651,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 @@ -601,6 +659,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -608,11 +667,13 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Wait 10000ms" disabled: true @@ -627,6 +688,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -640,6 +702,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -647,6 +710,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 300 @@ -654,6 +718,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -670,18 +735,21 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -698,6 +766,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -711,6 +780,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -718,6 +788,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 300 @@ -725,6 +796,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -732,6 +804,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -754,6 +827,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -776,6 +850,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -783,6 +858,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 200 @@ -790,21 +866,25 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 - label: "Send Off Command" command: "Off" + PICS: CR_OFF - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -812,6 +892,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -819,6 +900,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -831,12 +913,14 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -844,27 +928,32 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 200 - label: "Send On Command" command: "On" + PICS: CR_ON - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -881,6 +970,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -892,16 +982,19 @@ tests: - label: "Send Off Command" command: "Off" + PICS: CR_OFF - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 @@ -909,6 +1002,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -924,18 +1018,21 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 @@ -943,6 +1040,7 @@ tests: - label: "Sends OnWithTimedOff command to DUT" disabled: true command: "OnWithTimedOff" + PICS: CR_ONWITHTIMEOFF arguments: values: - name: "OnOffControl" @@ -956,6 +1054,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 1 @@ -963,6 +1062,7 @@ tests: disabled: true command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 300 @@ -970,6 +1070,7 @@ tests: disabled: true command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 300 @@ -985,20 +1086,24 @@ tests: - label: "Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" + PICS: A_ONOFF response: value: 0 - label: "Reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" + PICS: A_ONTIME response: value: 0 - label: "Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" + PICS: A_OFFWAITTIME response: value: 0 - label: "Send Off Command" command: "Off" + PICS: CR_OFF diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml index 81469e0cc019eb..bfda9c0d323ba6 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml @@ -26,6 +26,7 @@ tests: - label: "Write 1 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" + PICS: A_OPERATIONMODE arguments: value: 1 @@ -33,12 +34,14 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveOperationMode" + PICS: A_EFFECTIVEOPERATIONMODE response: value: 1 - label: "Write 2 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" + PICS: A_OPERATIONMODE arguments: value: 2 @@ -46,12 +49,14 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveOperationMode" + PICS: A_EFFECTIVEOPERATIONMODE response: value: 2 - label: "Write 3 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" + PICS: A_OPERATIONMODE arguments: value: 3 @@ -59,5 +64,6 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveOperationMode" + PICS: A_EFFECTIVEOPERATIONMODE response: value: 3 diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml index a6aff112b914b1..02193ff2f428af 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml @@ -26,12 +26,14 @@ tests: - label: "Write 0 to the OperationMode attribute to DUT" command: "writeAttribute" attribute: "OperationMode" + PICS: A_OPERATIONMODE arguments: value: 0 - label: "Reads the attribute: EffectiveOperationMode" command: "readAttribute" attribute: "EffectiveOperationMode" + PICS: A_EFFECTIVEOPERATIONMODE response: value: 0 @@ -39,6 +41,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 0 @@ -46,6 +49,7 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 0 @@ -53,6 +57,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 1 @@ -60,6 +65,7 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 1 @@ -67,6 +73,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 2 @@ -74,6 +81,7 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 2 @@ -81,6 +89,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 3 @@ -88,6 +97,7 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 3 @@ -95,6 +105,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 5 @@ -102,6 +113,7 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 5 @@ -109,6 +121,7 @@ tests: disabled: true command: "writeAttribute" attribute: "ControlMode" + PICS: A_CONTROLMODE arguments: value: 7 @@ -116,5 +129,6 @@ tests: disabled: true command: "readAttribute" attribute: "EffectiveControlMode" + PICS: A_EFFECTIVECONTROLMODE response: value: 7 diff --git a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml index 8061b0336ca119..26ba28de6ad5ff 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml @@ -28,12 +28,14 @@ tests: disabled: true command: "readAttribute" attribute: "measured value" + PICS: A_RELATIVEHUMIDITY response: value: 0 - label: "Reads MeasuredValue attribute from DUT" command: "readAttribute" attribute: "measured value" + PICS: A_RELATIVEHUMIDITY response: constraints: type: uint16 @@ -41,18 +43,21 @@ tests: #Disabled as UI prompts required for user action - label: "Operate on device to change the relative humidity significantly" disabled: true + PICS: MANUAL_RELATIVEHUMIDITY_CHANGE #Disabled as values needs to be compared with the value read in step 2 - label: "Reads back MeasuredValue attribute from DUT after few seconds" disabled: true command: "readAttribute" attribute: "measured value" + PICS: A_RELATIVEHUMIDITY response: value: 0 - label: "Read the mandatory attribute: MeasuredValue" command: "readAttribute" attribute: "measured value" + PICS: A_RELATIVEHUMIDITY response: constraints: type: uint16 diff --git a/src/app/tests/suites/certification/Test_TC_TM_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TM_2_2.yaml index 90c272595407da..b0f13d593c8d7a 100644 --- a/src/app/tests/suites/certification/Test_TC_TM_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TM_2_2.yaml @@ -28,12 +28,14 @@ tests: disabled: true command: "readAttribute" attribute: "MeasuredValue" + PICS: A_TEMPERATURE response: value: 0 - label: "Reads MeasuredValue attribute from DUT" command: "readAttribute" attribute: "MeasuredValue" + PICS: A_TEMPERATURE response: constraints: type: uint16 @@ -41,18 +43,21 @@ tests: #Disabled as UI prompts required for user action - label: "Operate on device to change the temperature significantly" disabled: true + PICS: MANUAL_TEMPERATURE_CHANGE #Disabled as values needs to be compared with the value read in step 2 - label: "Reads back MeasuredValue attribute from DUT after few seconds" disabled: true command: "readAttribute" attribute: "MeasuredValue" + PICS: A_TEMPERATURE response: value: 0 - label: "Read the mandatory attribute: MeasuredValue" command: "readAttribute" attribute: "MeasuredValue" + PICS: A_TEMPERATURE response: constraints: type: uint16 diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml index 2091a1a3972f07..5b502b37d03c41 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml @@ -28,6 +28,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: 2600 constraints: @@ -40,6 +41,7 @@ tests: OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2000 @@ -48,6 +50,7 @@ tests: OccupiedCoolingSetpoint attribute" command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: 2000 @@ -58,6 +61,7 @@ tests: disabled: true command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 30 @@ -68,6 +72,7 @@ tests: disabled: true command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 4000 @@ -76,6 +81,7 @@ tests: attribute" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 1600 @@ -84,6 +90,7 @@ tests: attribute" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2600 @@ -92,6 +99,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: 2000 constraints: @@ -104,6 +112,7 @@ tests: OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 2100 @@ -112,6 +121,7 @@ tests: OccupiedHeatingSetpoint attribute" command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: 2100 @@ -122,6 +132,7 @@ tests: disabled: true command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 1002 @@ -132,6 +143,7 @@ tests: disabled: true command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 4010 @@ -140,6 +152,7 @@ tests: attribute" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 700 @@ -148,6 +161,7 @@ tests: attribute" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 3000 @@ -156,6 +170,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT response: value: 700 constraints: @@ -168,6 +183,7 @@ tests: MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 2000 @@ -176,6 +192,7 @@ tests: MinHeatSetpointLimit attribute" command: "readAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT response: value: 2000 @@ -186,6 +203,7 @@ tests: disabled: true command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 650 @@ -196,6 +214,7 @@ tests: disabled: true command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 4050 @@ -204,6 +223,7 @@ tests: attribute" command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 700 @@ -212,6 +232,7 @@ tests: attribute" command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 3000 @@ -220,6 +241,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT response: value: 3000 constraints: @@ -232,6 +254,7 @@ tests: MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT arguments: value: 2000 @@ -240,6 +263,7 @@ tests: MaxHeatSetpointLimit attribute" command: "readAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT response: value: 2000 @@ -250,6 +274,7 @@ tests: disabled: true command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT arguments: value: 500 @@ -260,6 +285,7 @@ tests: disabled: true command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT arguments: value: 4000 @@ -268,6 +294,7 @@ tests: attribute" command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT arguments: value: 700 @@ -276,6 +303,7 @@ tests: attribute" command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MAXHEATSETPOINTLIMIT arguments: value: 3000 @@ -284,6 +312,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT response: value: 1600 constraints: @@ -296,6 +325,7 @@ tests: MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 2000 @@ -304,6 +334,7 @@ tests: MinCoolSetpointLimit attribute" command: "readAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT response: value: 2000 @@ -314,6 +345,7 @@ tests: disabled: true command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 1000 @@ -323,6 +355,7 @@ tests: disabled: true command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 4000 @@ -331,6 +364,7 @@ tests: attribute" command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 1600 @@ -339,6 +373,7 @@ tests: attribute" command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 3200 @@ -347,6 +382,7 @@ tests: that the value is within range" command: "readAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT response: value: 3200 constraints: @@ -359,6 +395,7 @@ tests: MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 2000 @@ -367,6 +404,7 @@ tests: MaxCoolSetpointLimit attribute" command: "readAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT response: value: 2000 @@ -377,6 +415,7 @@ tests: disabled: true command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 1000 @@ -386,6 +425,7 @@ tests: disabled: true command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 4000 @@ -394,6 +434,7 @@ tests: attribute" command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 1600 @@ -402,6 +443,7 @@ tests: attribute" command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 3200 @@ -410,6 +452,7 @@ tests: MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 700 @@ -418,6 +461,7 @@ tests: MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "min heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 3000 @@ -426,6 +470,7 @@ tests: MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 700 @@ -434,6 +479,7 @@ tests: MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "max heat setpoint limit" + PICS: A_MINHEATSETPOINTLIMIT arguments: value: 3000 @@ -442,6 +488,7 @@ tests: MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 1600 @@ -450,6 +497,7 @@ tests: MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "min cool setpoint limit" + PICS: A_MINCOOLSETPOINTLIMIT arguments: value: 3200 @@ -458,6 +506,7 @@ tests: MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 1600 @@ -466,6 +515,7 @@ tests: MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "max cool setpoint limit" + PICS: A_MAXCOOLSETPOINTLIMIT arguments: value: 3200 @@ -474,6 +524,7 @@ tests: the value is valid" command: "readAttribute" attribute: "control sequence of operation" + PICS: A_CONTROLSEQUENCEOFOPERATION response: value: 4 constraints: @@ -486,18 +537,21 @@ tests: valid value" command: "writeAttribute" attribute: "control sequence of operation" + PICS: A_CONTROLSEQUENCEOFOPERATION arguments: value: 2 - label: "Read it back again to confirm the successful write" command: "readAttribute" attribute: "control sequence of operation" + PICS: A_CONTROLSEQUENCEOFOPERATION response: value: 2 - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 2000 @@ -505,6 +559,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -518,12 +573,14 @@ tests: disabled: true command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: -30 - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 2000 @@ -531,6 +588,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -544,12 +602,14 @@ tests: disabled: true command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: 30 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2600 @@ -557,6 +617,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -570,12 +631,14 @@ tests: disabled: true command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: -30 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2600 @@ -583,6 +646,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -596,18 +660,21 @@ tests: disabled: true command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: 30 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2600 - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 2000 @@ -615,6 +682,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -628,6 +696,7 @@ tests: disabled: true command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: -30 @@ -637,18 +706,21 @@ tests: disabled: true command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: -30 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT arguments: value: 2600 - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT arguments: value: 2000 @@ -656,6 +728,7 @@ tests: - label: "Sends SetpointRaise Command" disabled: true command: "SetpointRaiseLower" + PICS: CR_SetpointRaiseLower arguments: values: - name: "Mode" @@ -669,6 +742,7 @@ tests: disabled: true command: "readAttribute" attribute: "occupied cooling setpoint" + PICS: A_OCCUPIEDCOOLINGSETPOINT response: value: 30 @@ -678,5 +752,6 @@ tests: disabled: true command: "readAttribute" attribute: "occupied heating setpoint" + PICS: A_OCCUPIEDHEATINGSETPOINT response: value: 30 diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml index 25e7337fc1f51a..55ec48e64eb9ed 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml @@ -26,6 +26,7 @@ tests: - label: "Writes a value of 0 to TemperatureDisplayMode attribute of DUT" command: "writeAttribute" attribute: "temperature display mode" + PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 0 @@ -36,6 +37,7 @@ tests: - label: "Writes a value of 1 to TemperatureDisplayMode attribute of DUT" command: "writeAttribute" attribute: "temperature display mode" + PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 1 @@ -50,6 +52,7 @@ tests: disabled: true command: "writeAttribute" attribute: "temperature display mode" + PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 2 response: @@ -58,6 +61,7 @@ tests: - label: "Writes a value of 0 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 0 @@ -68,6 +72,7 @@ tests: - label: "Writes a value of 1 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 1 @@ -78,6 +83,7 @@ tests: - label: "Writes a value of 2 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 2 @@ -88,6 +94,7 @@ tests: - label: "Writes a value of 3 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 3 @@ -98,6 +105,7 @@ tests: - label: "Writes a value of 4 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 4 @@ -108,6 +116,7 @@ tests: - label: "Writes a value of 5 to KeypadLockout attribute of DUT" command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 5 @@ -121,6 +130,7 @@ tests: disabled: true command: "writeAttribute" attribute: "keypad lockout" + PICS: A_KEYPAD_LOCKOUT arguments: value: 6 response: @@ -130,6 +140,7 @@ tests: "Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT" command: "writeAttribute" attribute: "schedule programming visibility" + PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 0 @@ -143,6 +154,7 @@ tests: "Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT" command: "writeAttribute" attribute: "schedule programming visibility" + PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 1 @@ -159,6 +171,7 @@ tests: disabled: true command: "writeAttribute" attribute: "schedule programming visibility" + PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 2 response: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml index 1e18e7e10ca0ce..c894b7a53197ce 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml @@ -28,6 +28,7 @@ tests: disabled: true command: "readAttribute" attribute: "ConfigStatus" + PICS: A_CONFIGSTATUS response: value: 4 @@ -35,5 +36,6 @@ tests: disabled: true command: "readAttribute" attribute: "ConfigStatus" + PICS: A_CONFIGSTATUS response: value: 8 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml index 6a1d1482b4c253..1445d9af8e2ac5 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml @@ -27,12 +27,14 @@ tests: - label: "Reads Type attribute from DUT" command: "readAttribute" attribute: "Type" + PICS: A_TYPE response: value: 0 - label: "Reads Type attribute constraints" command: "readAttribute" attribute: "Type" + PICS: A_TYPE response: constraints: type: enum8 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml index 17c9d2fc1e8240..bf22f9b80bb428 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml @@ -26,12 +26,14 @@ tests: - label: "Reads EndProductType attribute from DUT" command: "readAttribute" attribute: "EndProductType" + PICS: A_ENDPRODUCTTYPE response: value: 0 - label: "Reads EndProductType attribute constraints from DUT" command: "readAttribute" attribute: "EndProductType" + PICS: A_ENDPRODUCTTYPE response: constraints: type: enum8 diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 2fccc60d1bca70..061713a964a522 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -793,35 +793,35 @@ class Test_TC_BI_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads PresentValue attribute from DUT\n"); - err = TestReadsPresentValueAttributeFromDut_1(); + err = ShouldSkip("A_PRESENTVALUE") ? CHIP_NO_ERROR : TestReadsPresentValueAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads OutOfService attribute from DUT\n"); - err = TestReadsOutOfServiceAttributeFromDut_2(); + err = ShouldSkip("A_OUTOFSERVICE") ? CHIP_NO_ERROR : TestReadsOutOfServiceAttributeFromDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads StatusFlags attribute from DUT\n"); - err = TestReadsStatusFlagsAttributeFromDut_3(); + err = ShouldSkip("A_STATUSFLAGS") ? CHIP_NO_ERROR : TestReadsStatusFlagsAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads PresentValue attribute from DUT\n"); - err = TestReadsPresentValueAttributeFromDut_4(); + err = ShouldSkip("A_PRESENTVALUE") ? CHIP_NO_ERROR : TestReadsPresentValueAttributeFromDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Reads OutOfService attribute from DUT\n"); - err = TestReadsOutOfServiceAttributeFromDut_5(); + err = ShouldSkip("A_OUTOFSERVICE") ? CHIP_NO_ERROR : TestReadsOutOfServiceAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads StatusFlags attribute from DUT\n"); - err = TestReadsStatusFlagsAttributeFromDut_6(); + err = ShouldSkip("A_STATUSFLAGS") ? CHIP_NO_ERROR : TestReadsStatusFlagsAttributeFromDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads StatusFlags attribute from DUT\n"); - err = TestReadsStatusFlagsAttributeFromDut_7(); + err = ShouldSkip("A_STATUSFLAGS") ? CHIP_NO_ERROR : TestReadsStatusFlagsAttributeFromDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads StatusFlags attribute from DUT\n"); - err = TestReadsStatusFlagsAttributeFromDut_8(); + err = ShouldSkip("A_STATUSFLAGS") ? CHIP_NO_ERROR : TestReadsStatusFlagsAttributeFromDut_8(); break; } @@ -11275,79 +11275,80 @@ class Test_TC_CC_9_1 : public TestCommand break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_3(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_4(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_5(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read ColorLoopDirection attribute from DUT\n"); - err = TestReadColorLoopDirectionAttributeFromDut_6(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_7(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Read ColorLoopTime attribute from DUT\n"); - err = TestReadColorLoopTimeAttributeFromDut_8(); + err = ShouldSkip("A_COLORLOOPTIME") ? CHIP_NO_ERROR : TestReadColorLoopTimeAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_9(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Read ColorLoopStartEnhancedHue attribute from DUT\n"); - err = TestReadColorLoopStartEnhancedHueAttributeFromDut_10(); + err = + ShouldSkip("A_COLORLOOPSTARTENHANCEDHUE") ? CHIP_NO_ERROR : TestReadColorLoopStartEnhancedHueAttributeFromDut_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_11(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_12(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_13(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_14(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_15(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Read ColorLoopDirection attribute from DUT\n"); - err = TestReadColorLoopDirectionAttributeFromDut_16(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_17(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_18(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_19(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_20(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Enhanced Move To Hue command 10\n"); - err = TestEnhancedMoveToHueCommand10_21(); + err = ShouldSkip("CR_ENHANCEDMOVETOHUE") ? CHIP_NO_ERROR : TestEnhancedMoveToHueCommand10_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Wait 2000ms\n"); @@ -11355,55 +11356,55 @@ class Test_TC_CC_9_1 : public TestCommand break; case 23: ChipLogProgress(chipTool, " ***** Test Step 23 : Read EnhancedCurrentHue attribute from DUT\n"); - err = TestReadEnhancedCurrentHueAttributeFromDut_23(); + err = ShouldSkip("A_ENHANCEDCURRENTHUE") ? CHIP_NO_ERROR : TestReadEnhancedCurrentHueAttributeFromDut_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_24(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Read ColorLoopDirection attribute from DUT\n"); - err = TestReadColorLoopDirectionAttributeFromDut_25(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_26(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_26(); break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_27(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_27(); break; case 28: ChipLogProgress(chipTool, " ***** Test Step 28 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_28(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_28(); break; case 29: ChipLogProgress(chipTool, " ***** Test Step 29 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_29(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_29(); break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_30(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_30(); break; case 31: ChipLogProgress(chipTool, " ***** Test Step 31 : Read ColorLoopDirection attribute from DUT\n"); - err = TestReadColorLoopDirectionAttributeFromDut_31(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_31(); break; case 32: ChipLogProgress(chipTool, " ***** Test Step 32 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_32(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_32(); break; case 33: ChipLogProgress(chipTool, " ***** Test Step 33 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_33(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_33(); break; case 34: ChipLogProgress(chipTool, " ***** Test Step 34 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_34(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_34(); break; case 35: ChipLogProgress(chipTool, " ***** Test Step 35 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_35(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_35(); break; case 36: ChipLogProgress(chipTool, " ***** Test Step 36 : Turn Off light for color control tests\n"); @@ -12500,47 +12501,47 @@ class Test_TC_CC_9_2 : public TestCommand break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_3(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_4(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Read ColorLoopDirection attribute from DUT.\n"); - err = TestReadColorLoopDirectionAttributeFromDut_5(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read ColorLoopTime attribute from DUT.\n"); - err = TestReadColorLoopTimeAttributeFromDut_6(); + err = ShouldSkip("A_COLORLOOPTIME") ? CHIP_NO_ERROR : TestReadColorLoopTimeAttributeFromDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Read ColorLoopStartEnhancedHue attribute from DUT.\n"); - err = TestReadColorLoopStartEnhancedHueAttributeFromDut_7(); + err = ShouldSkip("A_COLORLOOPSTARTENHANCEDHUE") ? CHIP_NO_ERROR : TestReadColorLoopStartEnhancedHueAttributeFromDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Color Loop Set Command - Set all Attributes\n"); - err = TestColorLoopSetCommandSetAllAttributes_8(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandSetAllAttributes_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Read ColorLoopActive attribute from DUT.\n"); - err = TestReadColorLoopActiveAttributeFromDut_9(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Color Loop Set Command - Start Color Loop\n"); - err = TestColorLoopSetCommandStartColorLoop_10(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandStartColorLoop_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Read ColorLoopDirection attribute from DUT.\n"); - err = TestReadColorLoopDirectionAttributeFromDut_11(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Color Loop Set Command - Start Color Loop\n"); - err = TestColorLoopSetCommandStartColorLoop_12(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandStartColorLoop_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_13(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Turn off light for color control tests\n"); @@ -13012,47 +13013,47 @@ class Test_TC_CC_9_3 : public TestCommand break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Sends ColorLoopSet Command - Set all Attributes\n"); - err = TestSendsColorLoopSetCommandSetAllAttributes_3(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestSendsColorLoopSetCommandSetAllAttributes_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_4(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Read ColorLoopDirection attribute from DUT.\n"); - err = TestReadColorLoopDirectionAttributeFromDut_5(); + err = ShouldSkip("A_COLORLOOPDIRECTION") ? CHIP_NO_ERROR : TestReadColorLoopDirectionAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read ColorLoopTime attribute from DUT.\n"); - err = TestReadColorLoopTimeAttributeFromDut_6(); + err = ShouldSkip("A_COLORLOOPTIME") ? CHIP_NO_ERROR : TestReadColorLoopTimeAttributeFromDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Read ColorLoopStartEnhancedHue attribute from DUT.\n"); - err = TestReadColorLoopStartEnhancedHueAttributeFromDut_7(); + err = ShouldSkip("A_COLORLOOPSTARTENHANCEDHUE") ? CHIP_NO_ERROR : TestReadColorLoopStartEnhancedHueAttributeFromDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Color Loop Set Command - Set all Attributes\n"); - err = TestColorLoopSetCommandSetAllAttributes_8(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandSetAllAttributes_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Read ColorLoopActive attribute from DUT.\n"); - err = TestReadColorLoopActiveAttributeFromDut_9(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Color Loop Set Command - Start Color Loop\n"); - err = TestColorLoopSetCommandStartColorLoop_10(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandStartColorLoop_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Read ColorLoopTime attribute from DUT.\n"); - err = TestReadColorLoopTimeAttributeFromDut_11(); + err = ShouldSkip("A_COLORLOOPTIME") ? CHIP_NO_ERROR : TestReadColorLoopTimeAttributeFromDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Color Loop Set Command - Start Color Loop\n"); - err = TestColorLoopSetCommandStartColorLoop_12(); + err = ShouldSkip("CR_COLORLOOPSET") ? CHIP_NO_ERROR : TestColorLoopSetCommandStartColorLoop_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Read ColorLoopActive attribute from DUT\n"); - err = TestReadColorLoopActiveAttributeFromDut_13(); + err = ShouldSkip("A_COLORLOOPACTIVE") ? CHIP_NO_ERROR : TestReadColorLoopActiveAttributeFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Turn off light for color control tests\n"); @@ -18324,11 +18325,11 @@ class Test_TC_OCC_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads Occupancy attribute from DUT\n"); - err = TestReadsOccupancyAttributeFromDut_1(); + err = ShouldSkip("A_OCCUPANCY") ? CHIP_NO_ERROR : TestReadsOccupancyAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads Occupancy attribute from DUT\n"); - err = TestReadsOccupancyAttributeFromDut_2(); + err = ShouldSkip("A_OCCUPANCY") ? CHIP_NO_ERROR : TestReadsOccupancyAttributeFromDut_2(); break; } @@ -19696,7 +19697,7 @@ class Test_TC_OO_2_3 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Send On Command\n"); - err = TestSendOnCommand_1(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Wait 1000ms\n"); @@ -19704,15 +19705,15 @@ class Test_TC_OO_2_3 : public TestCommand break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_3(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads GlobalSceneControl attribute from DUT\n"); - err = TestReadsGlobalSceneControlAttributeFromDut_4(); + err = ShouldSkip("A_GLOBALSCENECONTROL") ? CHIP_NO_ERROR : TestReadsGlobalSceneControlAttributeFromDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Send On Command\n"); - err = TestSendOnCommand_5(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Wait 1000ms\n"); @@ -19720,15 +19721,15 @@ class Test_TC_OO_2_3 : public TestCommand break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_7(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads GlobalSceneControl attribute from DUT\n"); - err = TestReadsGlobalSceneControlAttributeFromDut_8(); + err = ShouldSkip("A_GLOBALSCENECONTROL") ? CHIP_NO_ERROR : TestReadsGlobalSceneControlAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Send On Command\n"); - err = TestSendOnCommand_9(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Wait 1000ms\n"); @@ -19736,147 +19737,147 @@ class Test_TC_OO_2_3 : public TestCommand break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_11(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads GlobalSceneControl attribute from DUT\n"); - err = TestReadsGlobalSceneControlAttributeFromDut_12(); + err = ShouldSkip("A_GLOBALSCENECONTROL") ? CHIP_NO_ERROR : TestReadsGlobalSceneControlAttributeFromDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_13(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_14(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Send On Command\n"); - err = TestSendOnCommand_15(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_16(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_17(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_18(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Send Off Command\n"); - err = TestSendOffCommand_19(); + err = ShouldSkip("CR_OFF") ? CHIP_NO_ERROR : TestSendOffCommand_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_20(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_21(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_22(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_22(); break; case 23: ChipLogProgress(chipTool, " ***** Test Step 23 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_23(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_24(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Send On Command\n"); - err = TestSendOnCommand_25(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_26(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_26(); break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_27(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_27(); break; case 28: ChipLogProgress(chipTool, " ***** Test Step 28 : Send Off Command\n"); - err = TestSendOffCommand_28(); + err = ShouldSkip("CR_OFF") ? CHIP_NO_ERROR : TestSendOffCommand_28(); break; case 29: ChipLogProgress(chipTool, " ***** Test Step 29 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_29(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_29(); break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_30(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_30(); break; case 31: ChipLogProgress(chipTool, " ***** Test Step 31 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_31(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_31(); break; case 32: ChipLogProgress(chipTool, " ***** Test Step 32 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_32(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_32(); break; case 33: ChipLogProgress(chipTool, " ***** Test Step 33 : Send On Command\n"); - err = TestSendOnCommand_33(); + err = ShouldSkip("CR_ON") ? CHIP_NO_ERROR : TestSendOnCommand_33(); break; case 34: ChipLogProgress(chipTool, " ***** Test Step 34 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_34(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_34(); break; case 35: ChipLogProgress(chipTool, " ***** Test Step 35 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_35(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_35(); break; case 36: ChipLogProgress(chipTool, " ***** Test Step 36 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_36(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_36(); break; case 37: ChipLogProgress(chipTool, " ***** Test Step 37 : Send Off Command\n"); - err = TestSendOffCommand_37(); + err = ShouldSkip("CR_OFF") ? CHIP_NO_ERROR : TestSendOffCommand_37(); break; case 38: ChipLogProgress(chipTool, " ***** Test Step 38 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_38(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_38(); break; case 39: ChipLogProgress(chipTool, " ***** Test Step 39 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_39(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_39(); break; case 40: ChipLogProgress(chipTool, " ***** Test Step 40 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_40(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_40(); break; case 41: ChipLogProgress(chipTool, " ***** Test Step 41 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_41(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_41(); break; case 42: ChipLogProgress(chipTool, " ***** Test Step 42 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_42(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_42(); break; case 43: ChipLogProgress(chipTool, " ***** Test Step 43 : Reads OnOff attribute from DUT\n"); - err = TestReadsOnOffAttributeFromDut_43(); + err = ShouldSkip("A_ONOFF") ? CHIP_NO_ERROR : TestReadsOnOffAttributeFromDut_43(); break; case 44: ChipLogProgress(chipTool, " ***** Test Step 44 : Reads OnTime attribute from DUT\n"); - err = TestReadsOnTimeAttributeFromDut_44(); + err = ShouldSkip("A_ONTIME") ? CHIP_NO_ERROR : TestReadsOnTimeAttributeFromDut_44(); break; case 45: ChipLogProgress(chipTool, " ***** Test Step 45 : Reads OffWaitTime attribute from DUT\n"); - err = TestReadsOffWaitTimeAttributeFromDut_45(); + err = ShouldSkip("A_OFFWAITTIME") ? CHIP_NO_ERROR : TestReadsOffWaitTimeAttributeFromDut_45(); break; case 46: ChipLogProgress(chipTool, " ***** Test Step 46 : Send Off Command\n"); - err = TestSendOffCommand_46(); + err = ShouldSkip("CR_OFF") ? CHIP_NO_ERROR : TestSendOffCommand_46(); break; } @@ -22100,15 +22101,15 @@ class Test_TC_PCC_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Write 1 to the OperationMode attribute to DUT: OperationMode\n"); - err = TestWrite1ToTheOperationModeAttributeToDutOperationMode_1(); + err = ShouldSkip("A_OPERATIONMODE") ? CHIP_NO_ERROR : TestWrite1ToTheOperationModeAttributeToDutOperationMode_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Write 2 to the OperationMode attribute to DUT: OperationMode\n"); - err = TestWrite2ToTheOperationModeAttributeToDutOperationMode_2(); + err = ShouldSkip("A_OPERATIONMODE") ? CHIP_NO_ERROR : TestWrite2ToTheOperationModeAttributeToDutOperationMode_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Write 3 to the OperationMode attribute to DUT: OperationMode\n"); - err = TestWrite3ToTheOperationModeAttributeToDutOperationMode_3(); + err = ShouldSkip("A_OPERATIONMODE") ? CHIP_NO_ERROR : TestWrite3ToTheOperationModeAttributeToDutOperationMode_3(); break; } @@ -22242,11 +22243,11 @@ class Test_TC_PCC_2_3 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Write 0 to the OperationMode attribute to DUT\n"); - err = TestWrite0ToTheOperationModeAttributeToDut_1(); + err = ShouldSkip("A_OPERATIONMODE") ? CHIP_NO_ERROR : TestWrite0ToTheOperationModeAttributeToDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads the attribute: EffectiveOperationMode\n"); - err = TestReadsTheAttributeEffectiveOperationMode_2(); + err = ShouldSkip("A_EFFECTIVEOPERATIONMODE") ? CHIP_NO_ERROR : TestReadsTheAttributeEffectiveOperationMode_2(); break; } @@ -22611,11 +22612,11 @@ class Test_TC_RH_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads MeasuredValue attribute from DUT\n"); - err = TestReadsMeasuredValueAttributeFromDut_1(); + err = ShouldSkip("A_RELATIVEHUMIDITY") ? CHIP_NO_ERROR : TestReadsMeasuredValueAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the mandatory attribute: MeasuredValue\n"); - err = TestReadTheMandatoryAttributeMeasuredValue_2(); + err = ShouldSkip("A_RELATIVEHUMIDITY") ? CHIP_NO_ERROR : TestReadTheMandatoryAttributeMeasuredValue_2(); break; } @@ -23016,11 +23017,11 @@ class Test_TC_TM_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads MeasuredValue attribute from DUT\n"); - err = TestReadsMeasuredValueAttributeFromDut_1(); + err = ShouldSkip("A_TEMPERATURE") ? CHIP_NO_ERROR : TestReadsMeasuredValueAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the mandatory attribute: MeasuredValue\n"); - err = TestReadTheMandatoryAttributeMeasuredValue_2(); + err = ShouldSkip("A_TEMPERATURE") ? CHIP_NO_ERROR : TestReadTheMandatoryAttributeMeasuredValue_2(); break; } @@ -25355,264 +25356,344 @@ class Test_TC_TSTAT_2_2 : public TestCommand ChipLogProgress(chipTool, " ***** Test Step 1 : Reads OccupiedCoolingSetpoint attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsOccupiedCoolingSetpointAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_1(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") + ? CHIP_NO_ERROR + : TestReadsOccupiedCoolingSetpointAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_1(); break; case 2: ChipLogProgress( chipTool, " ***** Test Step 2 : Writes a value back that is different but valid for OccupiedCoolingSetpoint attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForOccupiedCoolingSetpointAttribute_2(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForOccupiedCoolingSetpointAttribute_2(); break; case 3: ChipLogProgress( chipTool, " ***** Test Step 3 : Reads it back again to confirm the successful write of OccupiedCoolingSetpoint attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfOccupiedCoolingSetpointAttribute_3(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfOccupiedCoolingSetpointAttribute_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Writes the limit of MinCoolSetpointLimit to OccupiedCoolingSetpoint attribute\n"); - err = TestWritesTheLimitOfMinCoolSetpointLimitToOccupiedCoolingSetpointAttribute_4(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMinCoolSetpointLimitToOccupiedCoolingSetpointAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Writes the limit of MaxCoolSetpointLimit to OccupiedCoolingSetpoint attribute\n"); - err = TestWritesTheLimitOfMaxCoolSetpointLimitToOccupiedCoolingSetpointAttribute_5(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMaxCoolSetpointLimitToOccupiedCoolingSetpointAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads OccupiedHeatingSetpoint attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsOccupiedHeatingSetpointAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_6(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") + ? CHIP_NO_ERROR + : TestReadsOccupiedHeatingSetpointAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_6(); break; case 7: ChipLogProgress( chipTool, " ***** Test Step 7 : Writes a value back that is different but valid for OccupiedHeatingSetpoint attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForOccupiedHeatingSetpointAttribute_7(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForOccupiedHeatingSetpointAttribute_7(); break; case 8: ChipLogProgress( chipTool, " ***** Test Step 8 : Reads it back again to confirm the successful write of OccupiedHeatingSetpoint attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfOccupiedHeatingSetpointAttribute_8(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfOccupiedHeatingSetpointAttribute_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Writes the limit of MinHeatSetpointLimit to OccupiedHeatingSetpoint attribute\n"); - err = TestWritesTheLimitOfMinHeatSetpointLimitToOccupiedHeatingSetpointAttribute_9(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMinHeatSetpointLimitToOccupiedHeatingSetpointAttribute_9(); break; case 10: ChipLogProgress( chipTool, " ***** Test Step 10 : Writes the limit of MaxHeatSetpointLimit to OccupiedHeatingSetpoint attribute\n"); - err = TestWritesTheLimitOfMaxHeatSetpointLimitToOccupiedHeatingSetpointAttribute_10(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMaxHeatSetpointLimitToOccupiedHeatingSetpointAttribute_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Reads MinHeatSetpointLimit attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsMinHeatSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_11(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsMinHeatSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_11(); break; case 12: ChipLogProgress( chipTool, " ***** Test Step 12 : Writes a value back that is different but valid for MinHeatSetpointLimit attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForMinHeatSetpointLimitAttribute_12(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForMinHeatSetpointLimitAttribute_12(); break; case 13: ChipLogProgress( chipTool, " ***** Test Step 13 : Reads it back again to confirm the successful write of MinHeatSetpointLimit attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMinHeatSetpointLimitAttribute_13(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMinHeatSetpointLimitAttribute_13(); break; case 14: ChipLogProgress( chipTool, " ***** Test Step 14 : Writes the limit of AbsMinHeatSetpointLimit to MinHeatSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMinHeatSetpointLimitToMinHeatSetpointLimitAttribute_14(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMinHeatSetpointLimitToMinHeatSetpointLimitAttribute_14(); break; case 15: ChipLogProgress( chipTool, " ***** Test Step 15 : Writes the limit of AbsMaxHeatSetpointLimit to MinHeatSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMaxHeatSetpointLimitToMinHeatSetpointLimitAttribute_15(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMaxHeatSetpointLimitToMinHeatSetpointLimitAttribute_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Reads MaxHeatSetpointLimit attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsMaxHeatSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_16(); + err = ShouldSkip("A_MAXHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsMaxHeatSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_16(); break; case 17: ChipLogProgress( chipTool, " ***** Test Step 17 : Writes a value back that is different but valid for MaxHeatSetpointLimit attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForMaxHeatSetpointLimitAttribute_17(); + err = ShouldSkip("A_MAXHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForMaxHeatSetpointLimitAttribute_17(); break; case 18: ChipLogProgress( chipTool, " ***** Test Step 18 : Reads it back again to confirm the successful write of MaxHeatSetpointLimit attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMaxHeatSetpointLimitAttribute_18(); + err = ShouldSkip("A_MAXHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMaxHeatSetpointLimitAttribute_18(); break; case 19: ChipLogProgress( chipTool, " ***** Test Step 19 : Writes the limit of AbsMinHeatSetpointLimit to MaxHeatSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMinHeatSetpointLimitToMaxHeatSetpointLimitAttribute_19(); + err = ShouldSkip("A_MAXHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMinHeatSetpointLimitToMaxHeatSetpointLimitAttribute_19(); break; case 20: ChipLogProgress( chipTool, " ***** Test Step 20 : Writes the limit of AbsMaxHeatSetpointLimit to MaxHeatSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMaxHeatSetpointLimitToMaxHeatSetpointLimitAttribute_20(); + err = ShouldSkip("A_MAXHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMaxHeatSetpointLimitToMaxHeatSetpointLimitAttribute_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Reads MinCoolSetpointLimit attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsMinCoolSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_21(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsMinCoolSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_21(); break; case 22: ChipLogProgress( chipTool, " ***** Test Step 22 : Writes a value back that is different but valid for MinCoolSetpointLimit attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForMinCoolSetpointLimitAttribute_22(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForMinCoolSetpointLimitAttribute_22(); break; case 23: ChipLogProgress( chipTool, " ***** Test Step 23 : Reads it back again to confirm the successful write of MinCoolSetpointLimit attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMinCoolSetpointLimitAttribute_23(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMinCoolSetpointLimitAttribute_23(); break; case 24: ChipLogProgress( chipTool, " ***** Test Step 24 : Writes the limit of AbsMinCoolSetpointLimit to MinCoolSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMinCoolSetpointLimitToMinCoolSetpointLimitAttribute_24(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMinCoolSetpointLimitToMinCoolSetpointLimitAttribute_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Writes the limit of MaxCoolSetpointLimit to MinCoolSetpointLimit attribute\n"); - err = TestWritesTheLimitOfMaxCoolSetpointLimitToMinCoolSetpointLimitAttribute_25(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMaxCoolSetpointLimitToMinCoolSetpointLimitAttribute_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Reads MaxCoolSetpointLimit attribute from Server DUT and verifies that the " "value is within range\n"); - err = TestReadsMaxCoolSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_26(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsMaxCoolSetpointLimitAttributeFromServerDutAndVerifiesThatTheValueIsWithinRange_26(); break; case 27: ChipLogProgress( chipTool, " ***** Test Step 27 : Writes a value back that is different but valid for MaxCoolSetpointLimit attribute\n"); - err = TestWritesAValueBackThatIsDifferentButValidForMaxCoolSetpointLimitAttribute_27(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesAValueBackThatIsDifferentButValidForMaxCoolSetpointLimitAttribute_27(); break; case 28: ChipLogProgress( chipTool, " ***** Test Step 28 : Reads it back again to confirm the successful write of MaxCoolSetpointLimit attribute\n"); - err = TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMaxCoolSetpointLimitAttribute_28(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestReadsItBackAgainToConfirmTheSuccessfulWriteOfMaxCoolSetpointLimitAttribute_28(); break; case 29: ChipLogProgress( chipTool, " ***** Test Step 29 : Writes the limit of AbsMinCoolSetpointLimit to MaxCoolSetpointLimit attribute\n"); - err = TestWritesTheLimitOfAbsMinCoolSetpointLimitToMaxCoolSetpointLimitAttribute_29(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfAbsMinCoolSetpointLimitToMaxCoolSetpointLimitAttribute_29(); break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Writes the limit of MaxCoolSetpointLimit to MaxCoolSetpointLimit attribute\n"); - err = TestWritesTheLimitOfMaxCoolSetpointLimitToMaxCoolSetpointLimitAttribute_30(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesTheLimitOfMaxCoolSetpointLimitToMaxCoolSetpointLimitAttribute_30(); break; case 31: ChipLogProgress( chipTool, " ***** Test Step 31 : Writes (sets back) the limit of MinHeatSetpointLimit to MinHeatSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMinHeatSetpointLimitToMinHeatSetpointLimitAttribute_31(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMinHeatSetpointLimitToMinHeatSetpointLimitAttribute_31(); break; case 32: ChipLogProgress( chipTool, " ***** Test Step 32 : Writes (sets back) the limit of MaxHeatSetpointLimit to MinHeatSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMaxHeatSetpointLimitToMinHeatSetpointLimitAttribute_32(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMaxHeatSetpointLimitToMinHeatSetpointLimitAttribute_32(); break; case 33: ChipLogProgress( chipTool, " ***** Test Step 33 : Writes (sets back) the limit of MinHeatSetpointLimit to MaxHeatSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMinHeatSetpointLimitToMaxHeatSetpointLimitAttribute_33(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMinHeatSetpointLimitToMaxHeatSetpointLimitAttribute_33(); break; case 34: ChipLogProgress( chipTool, " ***** Test Step 34 : Writes (sets back) the limit of MaxHeatSetpointLimit to MaxHeatSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMaxHeatSetpointLimitToMaxHeatSetpointLimitAttribute_34(); + err = ShouldSkip("A_MINHEATSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMaxHeatSetpointLimitToMaxHeatSetpointLimitAttribute_34(); break; case 35: ChipLogProgress( chipTool, " ***** Test Step 35 : Writes (sets back) the limit of MinCoolSetpointLimit to MinCoolSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMinCoolSetpointLimitToMinCoolSetpointLimitAttribute_35(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMinCoolSetpointLimitToMinCoolSetpointLimitAttribute_35(); break; case 36: ChipLogProgress( chipTool, " ***** Test Step 36 : Writes (sets back) the limit of MaxCoolSetpointLimit to MinCoolSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMaxCoolSetpointLimitToMinCoolSetpointLimitAttribute_36(); + err = ShouldSkip("A_MINCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMaxCoolSetpointLimitToMinCoolSetpointLimitAttribute_36(); break; case 37: ChipLogProgress( chipTool, " ***** Test Step 37 : Writes (sets back) the limit of MinCoolSetpointLimit to MaxCoolSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMinCoolSetpointLimitToMaxCoolSetpointLimitAttribute_37(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMinCoolSetpointLimitToMaxCoolSetpointLimitAttribute_37(); break; case 38: ChipLogProgress( chipTool, " ***** Test Step 38 : Writes (sets back) the limit of MaxCoolSetpointLimit to MaxCoolSetpointLimit attribute\n"); - err = TestWritesSetsBackTheLimitOfMaxCoolSetpointLimitToMaxCoolSetpointLimitAttribute_38(); + err = ShouldSkip("A_MAXCOOLSETPOINTLIMIT") + ? CHIP_NO_ERROR + : TestWritesSetsBackTheLimitOfMaxCoolSetpointLimitToMaxCoolSetpointLimitAttribute_38(); break; case 39: ChipLogProgress( chipTool, " ***** Test Step 39 : Reads ControlSequenceOfOperation from Server DUT and verifies that the value is valid\n"); - err = TestReadsControlSequenceOfOperationFromServerDutAndVerifiesThatTheValueIsValid_39(); + err = ShouldSkip("A_CONTROLSEQUENCEOFOPERATION") + ? CHIP_NO_ERROR + : TestReadsControlSequenceOfOperationFromServerDutAndVerifiesThatTheValueIsValid_39(); break; case 40: ChipLogProgress( chipTool, " ***** Test Step 40 : Write Attribute command for ControlSequenceOfOperation with a new valid value\n"); - err = TestWriteAttributeCommandForControlSequenceOfOperationWithANewValidValue_40(); + err = ShouldSkip("A_CONTROLSEQUENCEOFOPERATION") + ? CHIP_NO_ERROR + : TestWriteAttributeCommandForControlSequenceOfOperationWithANewValidValue_40(); break; case 41: ChipLogProgress(chipTool, " ***** Test Step 41 : Read it back again to confirm the successful write\n"); - err = TestReadItBackAgainToConfirmTheSuccessfulWrite_41(); + err = ShouldSkip("A_CONTROLSEQUENCEOFOPERATION") ? CHIP_NO_ERROR : TestReadItBackAgainToConfirmTheSuccessfulWrite_41(); break; case 42: ChipLogProgress(chipTool, " ***** Test Step 42 : Sets OccupiedHeatingSetpoint to default value\n"); - err = TestSetsOccupiedHeatingSetpointToDefaultValue_42(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedHeatingSetpointToDefaultValue_42(); break; case 43: ChipLogProgress(chipTool, " ***** Test Step 43 : Sets OccupiedHeatingSetpoint to default value\n"); - err = TestSetsOccupiedHeatingSetpointToDefaultValue_43(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedHeatingSetpointToDefaultValue_43(); break; case 44: ChipLogProgress(chipTool, " ***** Test Step 44 : Sets OccupiedCoolingSetpoint to default value\n"); - err = TestSetsOccupiedCoolingSetpointToDefaultValue_44(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedCoolingSetpointToDefaultValue_44(); break; case 45: ChipLogProgress(chipTool, " ***** Test Step 45 : Sets OccupiedCoolingSetpoint to default value\n"); - err = TestSetsOccupiedCoolingSetpointToDefaultValue_45(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedCoolingSetpointToDefaultValue_45(); break; case 46: ChipLogProgress(chipTool, " ***** Test Step 46 : Sets OccupiedCoolingSetpoint to default value\n"); - err = TestSetsOccupiedCoolingSetpointToDefaultValue_46(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedCoolingSetpointToDefaultValue_46(); break; case 47: ChipLogProgress(chipTool, " ***** Test Step 47 : Sets OccupiedHeatingSetpoint to default value\n"); - err = TestSetsOccupiedHeatingSetpointToDefaultValue_47(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedHeatingSetpointToDefaultValue_47(); break; case 48: ChipLogProgress(chipTool, " ***** Test Step 48 : Sets OccupiedCoolingSetpoint to default value\n"); - err = TestSetsOccupiedCoolingSetpointToDefaultValue_48(); + err = ShouldSkip("A_OCCUPIEDCOOLINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedCoolingSetpointToDefaultValue_48(); break; case 49: ChipLogProgress(chipTool, " ***** Test Step 49 : Sets OccupiedHeatingSetpoint to default value\n"); - err = TestSetsOccupiedHeatingSetpointToDefaultValue_49(); + err = ShouldSkip("A_OCCUPIEDHEATINGSETPOINT") ? CHIP_NO_ERROR : TestSetsOccupiedHeatingSetpointToDefaultValue_49(); break; } @@ -27599,45 +27680,51 @@ class Test_TC_TSUIC_2_2 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Writes a value of 0 to TemperatureDisplayMode attribute of DUT\n"); - err = TestWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1(); + err = ShouldSkip("A_TEMPERATURE_DISPLAY_MODE") ? CHIP_NO_ERROR + : TestWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Writes a value of 1 to TemperatureDisplayMode attribute of DUT\n"); - err = TestWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_2(); + err = ShouldSkip("A_TEMPERATURE_DISPLAY_MODE") ? CHIP_NO_ERROR + : TestWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Writes a value of 0 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf0ToKeypadLockoutAttributeOfDut_3(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf0ToKeypadLockoutAttributeOfDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Writes a value of 1 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf1ToKeypadLockoutAttributeOfDut_4(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf1ToKeypadLockoutAttributeOfDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Writes a value of 2 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf2ToKeypadLockoutAttributeOfDut_5(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf2ToKeypadLockoutAttributeOfDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Writes a value of 3 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf3ToKeypadLockoutAttributeOfDut_6(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf3ToKeypadLockoutAttributeOfDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Writes a value of 4 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf4ToKeypadLockoutAttributeOfDut_7(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf4ToKeypadLockoutAttributeOfDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Writes a value of 5 to KeypadLockout attribute of DUT\n"); - err = TestWritesAValueOf5ToKeypadLockoutAttributeOfDut_8(); + err = ShouldSkip("A_KEYPAD_LOCKOUT") ? CHIP_NO_ERROR : TestWritesAValueOf5ToKeypadLockoutAttributeOfDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT\n"); - err = TestWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_9(); + err = ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY") + ? CHIP_NO_ERROR + : TestWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT\n"); - err = TestWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_10(); + err = ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY") + ? CHIP_NO_ERROR + : TestWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_10(); break; } @@ -30348,11 +30435,11 @@ class Test_TC_WNCV_2_4 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads Type attribute from DUT\n"); - err = TestReadsTypeAttributeFromDut_1(); + err = ShouldSkip("A_TYPE") ? CHIP_NO_ERROR : TestReadsTypeAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads Type attribute constraints\n"); - err = TestReadsTypeAttributeConstraints_2(); + err = ShouldSkip("A_TYPE") ? CHIP_NO_ERROR : TestReadsTypeAttributeConstraints_2(); break; } @@ -30473,11 +30560,11 @@ class Test_TC_WNCV_2_5 : public TestCommand break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Reads EndProductType attribute from DUT\n"); - err = TestReadsEndProductTypeAttributeFromDut_1(); + err = ShouldSkip("A_ENDPRODUCTTYPE") ? CHIP_NO_ERROR : TestReadsEndProductTypeAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads EndProductType attribute constraints from DUT\n"); - err = TestReadsEndProductTypeAttributeConstraintsFromDut_2(); + err = ShouldSkip("A_ENDPRODUCTTYPE") ? CHIP_NO_ERROR : TestReadsEndProductTypeAttributeConstraintsFromDut_2(); break; } @@ -48811,11 +48898,12 @@ class Test_TC_DIAGSW_1_1 : public TestCommand break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads CurrentHeapUsed non-global attribute value from DUT\n"); - err = TestReadsCurrentHeapUsedNonGlobalAttributeValueFromDut_2(); + err = ShouldSkip("A_CURRENTHEAPUSED") ? CHIP_NO_ERROR : TestReadsCurrentHeapUsedNonGlobalAttributeValueFromDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Reads CurrentHeapHighWaterMark non-global attribute value from DUT\n"); - err = TestReadsCurrentHeapHighWaterMarkNonGlobalAttributeValueFromDut_3(); + err = ShouldSkip("A_CURRENTHEAPHIGHWATERMARK") ? CHIP_NO_ERROR + : TestReadsCurrentHeapHighWaterMarkNonGlobalAttributeValueFromDut_3(); break; }