From 9a04fc9cc8b7211c9433357e6f68ff106f33add4 Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Date: Wed, 6 Jul 2022 01:01:28 +0530 Subject: [PATCH] Added PICS Condition (#20263) * Added PICS Condition * Added Auto generated files * Restyled by whitespace * Restyled by clang-format Co-authored-by: Restyled.io --- src/app/tests/suites/certification/PICS.yaml | 331 ++++++++++++++-- .../suites/certification/Test_TC_BDX_2_2.yaml | 20 +- .../suites/certification/Test_TC_BR_1.yaml | 22 +- .../suites/certification/Test_TC_BR_2.yaml | 34 +- .../suites/certification/Test_TC_BR_3.yaml | 13 +- .../certification/Test_TC_DGGEN_2_1.yaml | 11 +- .../certification/Test_TC_DGGEN_2_2.yaml | 15 +- .../certification/Test_TC_DGGEN_2_3.yaml | 6 +- .../certification/Test_TC_DGGEN_3_1.yaml | 14 +- .../certification/Test_TC_DGGEN_3_2.yaml | 1 + .../suites/certification/Test_TC_FLW_2_1.yaml | 5 +- .../suites/certification/Test_TC_FLW_2_2.yaml | 4 +- .../suites/certification/Test_TC_FLW_3_1.yaml | 24 +- .../suites/certification/Test_TC_OO_1_1.yaml | 2 +- .../suites/certification/Test_TC_PCC_2_1.yaml | 23 ++ .../suites/certification/Test_TC_PCC_2_2.yaml | 12 +- .../suites/certification/Test_TC_PCC_2_3.yaml | 28 +- .../suites/certification/Test_TC_PCC_2_4.yaml | 12 + .../suites/certification/Test_TC_PCC_3_1.yaml | 6 + .../suites/certification/Test_TC_PRS_2_2.yaml | 3 + .../suites/certification/Test_TC_PRS_2_3.yaml | 81 ---- .../suites/certification/Test_TC_PRS_3_1.yaml | 202 ++++++++-- .../suites/certification/Test_TC_PS_2_1.yaml | 58 +-- .../suites/certification/Test_TC_PS_2_2.yaml | 20 +- .../suites/certification/Test_TC_PS_3_1.yaml | 150 +++++++- .../certification/Test_TC_TSTAT_3_2.yaml | 2 +- .../certification/Test_TC_TSUIC_2_1.yaml | 3 + .../certification/Test_TC_TSUIC_2_2.yaml | 52 +-- .../certification/Test_TC_TSUIC_3_1.yaml | 313 ++++++++++++--- .../tests/suites/certification/ci-pics-values | 115 +++++- src/app/tests/suites/tests.js | 1 - .../chip-tool/zap-generated/test/Commands.h | 269 +++++++------ .../zap-generated/test/Commands.h | 361 ++++++++++++++---- 33 files changed, 1677 insertions(+), 536 deletions(-) delete mode 100644 src/app/tests/suites/certification/Test_TC_PRS_2_3.yaml diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index b5bae947f30a70..1fb5b9230bc998 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -562,15 +562,16 @@ PICS: 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 TemperatureDisplayMode attribute?" + id: TSUIC.S.A0000 - - label: "Does the device implement the KeypadLockout attribute" - id: A_KEYPAD_LOCKOUT + - label: "Does the device implement the KeypadLockout attribute?" + id: TSUIC.S.A0001 - label: - "Does the device implement the ScheduleProgrammingVisibility attribute" - id: A_SCHEDULE_PROGRAMMING_VISIBILITY + "Does the device implement the ScheduleProgrammingVisibility + attribute?" + id: TSUIC.S.A0002 # Software Diagnostics cluster - label: "Does the device implement the SoftwareFault event?" @@ -591,19 +592,6 @@ PICS: - label: "Does the device implement the ResetWaterMarks command?" id: DGSW.S.C00 - # 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 @@ -960,6 +948,14 @@ PICS: - label: "Does the device implement the Scale attribute?" id: PRS.S.A0014 + - label: "Does the device support extended range and resolution?" + id: PRS.S.F00 + + - label: + "Can the MeasuredValue attribute changed by physical control at the + device?" + id: PRS.M.PressureChange + - label: "Does the device implement the Occupancy attribute?" id: OCC.S.A0000 @@ -1016,9 +1012,6 @@ PICS: - label: "Does the device implement the Tolerance attribute?" id: FLW.S.A0003 - - label: "Does the device support extended range and resolution?" - id: PRS.S.F00 - - label: "Does the DUT(server) support the Frequency attributes and behavior feature?" @@ -1985,3 +1978,297 @@ PICS: "Does the DUT support the Application Launcher server cluster, HideApp command?" id: MC_APPLAUNCHER.S.C0002 + #Bridge + - label: "Does the DUT implement a Bridge" + id: MCORE.BRIDGE + + - label: + "Does the DUT have information on battery level of (at least some of) + of its bridged devices" + id: MCORE.BRIDGE.BatInfo + + - label: + "Does the DUT have means to change the state of (at least some of) of + its bridged devices, e.g. through a manufacturer-provided app" + id: MCORE.BRIDGE.OtherControl + + - label: + "Does the DUT have means to change the name of (at least some of) of + its bridged devices, e.g. through a manufacturer-provided app" + id: MCORE.BRIDGE.AllowDeviceRename + + #Bulk Data Exchange Protocol + - label: "Does the DUT control the rate of the BDX transfer ?" + id: MCORE.BDX.Driver + + - label: "Does the DUT support sending the BlockQueryWithSkip message?" + id: MCORE.BDX.BlockQueryWithSkip + + #General Diagnostics Cluster + - label: + "Provides a node network interface information via NetworkInterface + structure." + id: DGGEN.S.A0000 + + - label: + "The number of times that the node has rebooted. Node low power or + sleep state shall not be counted and the count shall be reset by the + factory reset." + id: DGGEN.S.A0001 + + - label: + "The best effort assessment of the length of the time, in seconds, + since node’s last reboot. The UpTime should be incremented during + low-power or sleep state of the node. The UpTime shall be reset only + by a device reboot. The Uptime should not be subscribed." + id: DGGEN.S.A0002 + + - label: + "The best effort attempt to track the opeartional hours of node since + the node is operational. The operational hour should be incremented + during low-power or sleep state of the node. The TotalOperationalHours + shall be reset by the node factory reset." + id: DGGEN.S.A0003 + + - label: "Indicates the reason for the most recent node reboot." + id: DGGEN.S.A0004 + + - label: "Indicates a set of hardware fault detected by the node." + id: DGGEN.S.A0005 + + - label: "Indicates a set of radio fault detected by the node." + id: DGGEN.S.A0006 + + - label: "Indicates a set of network fault detected by the node." + id: DGGEN.S.A0007 + + - label: "Indicates that node is configured for test event triggers." + id: DGGEN.S.A0008 + + - label: "Indicates that node is configured for test event triggers." + id: DGGEN.S.C00 + + - label: + "Indicates a change in the set of hardware faults currently detected + by the Node." + id: DGGEN.S.E00 + + - label: + "Indicates a change in the set of radio faults currently detected by + the Node." + id: DGGEN.S.E01 + + - label: + "Indicates a change in the set of network faults currently detected by + the Node." + id: DGGEN.S.E02 + + - label: "Indicates the reason that caused the device to reboot start-up." + id: DGGEN.S.E03 + + #Flow Measurement Cluster + - label: "Does the device implement the MeasuredValue attribute?" + id: FLW.S.A0000 + + - label: "Does the device implement the MinMeasuredValue attribute?" + id: FLW.S.A0001 + + - label: "Does the device implement the MaxMeasuredValue attribute?" + id: FLW.S.A0002 + + - label: "Does the device implement the Tolerance attribute?" + id: FLW.S.A0003 + + - label: + "Can the MeasuredValue attribute changed by physical control at the + device?" + id: FLW.M.FlowChange + + # Pump Configuration and Control cluster + - label: "Does the device implement the MaxPressure attribute?" + id: PCC.S.A0000 + + - label: "Does the device implement the MaxSpeed attribute?" + id: PCC.S.A0001 + + - label: "Does the device implement the MaxFlow attribute?" + id: PCC.S.A0002 + + - label: "Does the device implement the MinConstPressure attribute?" + id: PCC.S.A0003 + + - label: "Does the device implement the MaxConstPressure attribute?" + id: PCC.S.A0004 + + - label: "Does the device implement the MinCompPressure attribute?" + id: PCC.S.A0005 + + - label: "Does the device implement the MaxCompPressure attribute?" + id: PCC.S.A0006 + + - label: "Does the device implement the MinConstSpeed attribute?" + id: PCC.S.A0007 + + - label: "Does the device implement the MaxConstSpeed attribute?" + id: PCC.S.A0008 + + - label: "Does the device implement the MinConstFlow attribute?" + id: PCC.S.A0009 + + - label: "Does the device implement the MaxConstFlow attribute?" + id: PCC.S.A000a + + - label: "Does the device implement the MinConstTemp attribute?" + id: PCC.S.A000b + + - label: "Does the device implement the MaxConstTemp attribute?" + id: PCC.S.A000c + + - label: "Does the device implement the PumpStatus attribute?" + id: PCC.S.A0010 + + - label: "Does the device implement the EffectiveOperationMode attribute?" + id: PCC.S.A0011 + + - label: "Does the device implement the EffectiveControlMode attribute?" + id: PCC.S.A0012 + + - label: "Does the device implement the Capacity attribute?" + id: PCC.S.A0013 + + - label: "Does the device implement the Speed attribute?" + id: PCC.S.A0014 + + - label: "Does the device implement the LifetimeRunningHours attribute?" + id: PCC.S.A0015 + + - label: "Does the device implement the Power attribute?" + id: PCC.S.A0016 + + - label: "Does the device implement the LifetimeEnergyConsumed attribute?" + id: PCC.S.A0017 + + - label: "Does the device implement the OperationMode attribute?" + id: PCC.S.A0020 + + - label: "Does the device implement the LifetimeEnergyConsumed attribute?" + id: PCC.S.A0021 + + #Power Source Cluster + - label: "Does the device implement the Status attribute?" + id: PS.S.A0000 + + - label: "Does the device implement the Order attribute?" + id: PS.S.A0001 + + - label: "Does the device implement the Description attribute?" + id: PS.S.A0002 + + - label: + "Does the device implement the WiredAssessedInputVoltage attribute?" + id: PS.S.A0003 + + - label: + "Does the device implement the WiredAssessedInputFrequency attribute?" + id: PS.S.A0004 + + - label: "Does the device implement the WiredCurrentType attribute?" + id: PS.S.A0005 + + - label: "Does the device implement the WiredAssessedCurrent attribute?" + id: PS.S.A0006 + + - label: "Does the device implement the WiredNominalVoltage attribute?" + id: PS.S.A0007 + + - label: "Does the device implement the WiredMaximumCurrent attribute?" + id: PS.S.A0008 + + - label: "Does the device implement the WiredPresent attribute?" + id: PS.S.A0009 + + - label: "Does the device implement the ActiveWiredFaults attribute?" + id: PS.S.A000a + + - label: "Does the device implement the BatVoltage attribute?" + id: PS.S.A000b + + - label: "Does the device implement the BatPercentRemaining attribute?" + id: PS.S.A000c + + - label: "Does the device implement the BatTimeRemaining attribute?" + id: PS.S.A000d + + - label: "Does the device implement the BatChargeLevel attribute?" + id: PS.S.A000e + + - label: "Does the device implement the BatReplacementNeeded attribute?" + id: PS.S.A000f + + - label: "Does the device implement the BatReplaceability attribute?" + id: PS.S.A0010 + + - label: "Does the device implement the BatPresent attribute?" + id: PS.S.A0011 + + - label: "Does the device implement the ActiveBatFaults attribute?" + id: PS.S.A0012 + + - label: + "Does the device implement the BatReplacementDescription attribute?" + id: PS.S.A0013 + + - label: "Does the device implement the BatCommonDesignation attribute?" + id: PS.S.A0014 + + - label: "Does the device implement the BatANSIDesignation attribute?" + id: PS.S.A0015 + + - label: "Does the device implement the BatIECDesignation attribute?" + id: PS.S.A0016 + + - label: "Does the device implement the BatApprovedChemistry attribute?" + id: PS.S.A0017 + + - label: "Does the device implement the BatCapacity attribute?" + id: PS.S.A0018 + + - label: "Does the device implement the BatQuantity attribute?" + id: PS.S.A0019 + + - label: "Does the device implement the BatChargeState attribute?" + id: PS.S.A001a + + - label: "Does the device implement the BatTimeToFullCharge attribute?" + id: PS.S.A001b + + - label: + "Does the device implement the BatFunctionalWhileCharging attribute?" + id: PS.S.A001c + + - label: "Does the device implement the BatChargingCurrent attribute?" + id: PS.S.A001d + + - label: "Does the device implement the ActiveBatChargeFaults attribute?" + id: PS.S.A001e + + - label: "Does the device implement the WiredFaultChange event?" + id: PS.S.E00 + + - label: "Does the device implement the BatFaultChange event?" + id: PS.S.E01 + + - label: "Does the device implement the BatChargeFaultChange event?" + id: PS.S.E02 + + #Thermostat User Configuration Cluster + - label: "Does the device implement the TemperatureDisplayMode attribute?" + id: TSUIC.S.A0000 + + - label: "Does the device implement the KeypadLockout attribute?" + id: TSUIC.S.A0001 + + - label: + "Does the device implement the ScheduleProgrammingVisibility + attribute?" + id: TSUIC.S.A0002 diff --git a/src/app/tests/suites/certification/Test_TC_BDX_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BDX_2_2.yaml index a0890f9a362a97..dc4fac9eb21748 100644 --- a/src/app/tests/suites/certification/Test_TC_BDX_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BDX_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 28.2.2. [TC-BDX-2.2] Synchronous file receiving +name: 30.2.2. [TC-BDX-2.2] Synchronous File Receiving config: nodeId: 0x12344321 @@ -21,10 +21,19 @@ config: endpoint: 0 tests: + - label: + "TH sends a SendInit message to DUT + DUT sends a SendAccept message + back to TH + TH sends a Block message to DUT + DUT sends a BlockAck + message back to TH" + verification: | + Out of scope for V1.0 + disabled: true + - label: "IF (PICS_DT_Receiver_Driver) TH sends a SendInit message to DUT + DUT sends a SendAccept message back to TH + DUT sends a BlockQuery message to TH + TH sends a Block message back to DUT" + PICS: MCORE.BDX.Driver verification: | 1. Verify that the OTA Reference Provider App logs show BlockQuery message from DUT @@ -36,6 +45,7 @@ tests: - label: "IF (PICS_DT_Receiver_Driver) DUT sends a BlockQuery message to TH + TH sends a Block message back to DUT" + PICS: MCORE.BDX.Driver verification: | 1. Verify from the OTA Reference Provider App logs that the BlockQuery messages are sent in ascending and sequential block counter order. @@ -48,6 +58,14 @@ tests: and so on disabled: true + - label: + "IF (PICS_DT_Receiver_Driver) DUT sends a BlockQueryWithSkip message + to TH + TH sends a Block message back to DUT" + PICS: MCORE.BDX.BlockQueryWithSkip + verification: | + Out of scope for V1.0 + disabled: true + - label: "TH sends a BlockEOF message to DUT + DUT sends a BlockAckEOF message back to TH" diff --git a/src/app/tests/suites/certification/Test_TC_BR_1.yaml b/src/app/tests/suites/certification/Test_TC_BR_1.yaml index fd803b532bd835..3db9afab23d850 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_1.yaml @@ -23,6 +23,7 @@ config: tests: - label: "Read attribute DeviceTypeList of the Descriptor cluster on endpoint 0" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read device-list 1 1 @@ -35,6 +36,7 @@ tests: disabled: true - label: "Read attribute PartsList of the Descriptor cluster on endpoint 0" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 1 @@ -75,6 +77,7 @@ tests: - label: "For each of the endpoints read in step 1b, read attribute DeviceTypeList of the Descriptor cluster on that endpoint" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read device-list 1 2 @@ -160,6 +163,7 @@ tests: - label: "Read attribute PartsList of the Descriptor cluster on endpoint found in step 1c" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 1 @@ -202,6 +206,7 @@ tests: DeviceTypeList attribute in the Descriptor cluster on such endpoint, and select those endpoints which have (at least) a device type of Bridged Node in their DeviceTypeList" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true @@ -209,6 +214,7 @@ tests: - label: "For each of the endpoints for the bridged devices found in step 2b, perform the tests for Bridged Device Basic Information cluster" + PICS: MCORE.BRIDGE verification: | ref to test plan for Bridged Device Basic Information cluster disabled: true @@ -219,14 +225,16 @@ tests: for this Power Source Configuration cluster plus the tests for the Power Source clusters at the endpoint(s) which this Power Source Configuration cluster refers to" + PICS: MCORE.BRIDGE && MCORE.BRIDGE.BatInfo verification: | ref to test plan for Power Source Configuration and Power Source clusters disabled: true - label: "For each of the endpoints found in step 2b, from the DeviceTypeList - attributute in their Descriptor cluster, derive the (application) - device type(s) of the bridged device" + attribute in their Descriptor cluster, derive the (application) device + type(s) of the bridged device" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read device-list 1 2 @@ -312,6 +320,7 @@ tests: - label: "From the list acquired in step 5, choose one of the bridged devices which is an actuator (e.g. light, window covering)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true @@ -319,18 +328,21 @@ tests: - label: "Read the state of this bridged device (through Matter), e.g. on/off, brightness" + PICS: MCORE.BRIDGE verification: | read actuator state disabled: true - label: "Change the state of this bridged device (through Matter), e.g. change - its brightness" + its brightness or toggle its on/off state" + PICS: MCORE.BRIDGE verification: | update actuator state (e.g. command) disabled: true - label: "Read the state of this bridged device (through Matter), as in 6b" + PICS: MCORE.BRIDGE verification: | read actuator state disabled: true @@ -339,6 +351,7 @@ tests: "From the list acquired in step 5, choose one of the bridged devices which is a sensor (e.g. occupancy sensor, contact sensor, temperature sensor)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true @@ -346,6 +359,7 @@ tests: - label: "Read the state of this bridged device (through Matter), e.g. occupancy status, contact status, current temperature" + PICS: MCORE.BRIDGE verification: | read sensor state disabled: true @@ -353,11 +367,13 @@ tests: - label: "Change the state of this sensor (e.g. cover the occupancy sensor, open the contact sensor, heat the temperature sensor)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true - label: "Read the state of this bridged device again, as in 7b" + PICS: MCORE.BRIDGE verification: | read sensor state disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BR_2.yaml b/src/app/tests/suites/certification/Test_TC_BR_2.yaml index 18f0588dac3c0a..525347629aec52 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_2.yaml @@ -22,9 +22,11 @@ config: tests: - label: - "- Read Descriptor cluster of endpoint 0 - Read Descriptor cluster of - all endpoints listed in the PartsList attribute in the Descriptor - cluster of endpoint 0" + "Read PartsList attribute of the Descriptor cluster of endpoint 0 For + each endpoint listed in the PartsList attribute of the Descriptor + cluster of endpoint 0: read the PartsList attribute of the Descriptor + cluster at that endpoint" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -62,19 +64,23 @@ tests: [1635666145.012850][3692:3697] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 48783i disabled: true - - label: "- Determine which endpoint has a device type of Aggregator" + - label: + "Determine which of those endpoints has a device type of Aggregator" + PICS: MCORE.BRIDGE verification: | disabled: true - label: "Add a bridged device (using a method indicated by the manufacturer)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true - label: - "Read the PartsList attribute in the Descriptor cluster on endpoint 0" + "Read the PartsList attribute of the Descriptor cluster on endpoint 0" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -112,7 +118,8 @@ tests: [1635666145.012850][3692:3697] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 48783i disabled: true - - label: "Repeat step 2b for endpoint found in step 1b" + - label: "Repeat step 2b for endpoint found in step 1b (the Aggregator EP)" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -153,6 +160,7 @@ tests: - label: "Read Descriptor cluster of all other endpoints listed in the PartsList attribute in the Descriptor cluster of endpoint 0" + PICS: MCORE.BRIDGE verification: | read EP . Descriptor . Partslist disabled: true @@ -160,6 +168,7 @@ tests: - label: "Perform step 6 (for an actuator) resp. step 7 (for a sensor) of TC-BR-1 for the bridged device added in step 2" + PICS: MCORE.BRIDGE verification: | disabled: true @@ -167,14 +176,15 @@ tests: - label: "Remove one of the bridged devices (but not the one which was added in step 2) (using a method indicated by the manufacturer)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true - label: "Read the PartsList attribute in the Descriptor cluster on endpoint 0" + PICS: MCORE.BRIDGE verification: | - ./chip-tool descriptor read parts-list 1 0 CHIP:DMG: ReportData = @@ -211,7 +221,8 @@ tests: [1635668330.266741][3951:3956] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 35287i disabled: true - - label: "Repeat step 4b for endpoint found in step 1b" + - label: "Repeat step 4b for endpoint found in step 1b (the Aggregator EP)" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -252,6 +263,7 @@ tests: - label: "Read Descriptor cluster of all other endpoints listed in the PartsList attribute in the Descriptor cluster of endpoint 0" + PICS: MCORE.BRIDGE verification: | read EP . Descriptor . Partslist disabled: true @@ -259,12 +271,14 @@ tests: - label: "Re-add the bridged device which was removed in the previous step (using a method indicated by the manufacturer)" + PICS: MCORE.BRIDGE verification: | no Matter messages for this step disabled: true - label: "Read the PartsList attribute in the Descriptor cluster on endpoint 0" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -302,7 +316,8 @@ tests: [1635668360.032686][3959:3964] CHIP:EM: Piggybacking Ack for MessageCounter:1 on exchange: 8102i disabled: true - - label: "Repeat step 5b for endpoint found in step 1b" + - label: "Repeat step 5b for endpoint found in step 1b (the Aggregator EP)" + PICS: MCORE.BRIDGE verification: | ./chip-tool descriptor read parts-list 1 0 @@ -343,6 +358,7 @@ tests: - label: "Read Descriptor cluster of all other endpoints listed in the PartsList attribute in the Descriptor cluster of endpoint 0" + PICS: MCORE.BRIDGE verification: | read EP . Descriptor . Partslist disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BR_3.yaml b/src/app/tests/suites/certification/Test_TC_BR_3.yaml index 180092de1e56e1..c8b8abab44b299 100644 --- a/src/app/tests/suites/certification/Test_TC_BR_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_BR_3.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 25.1.3. [TC-BR-3] Changing name and state of a bridged device +name: 3.1.3. [TC-BR-3] Changing name and state of a bridged device config: nodeId: 0x12344321 @@ -24,6 +24,7 @@ tests: - label: "Get the name of a bridged device: Read the NodeLabel attribute of the Bridged Device Basic Information cluster on the applicable endpoint" + PICS: MCORE.BRIDGE && MCORE.BRIDGE.AllowDeviceRename verification: | read EP n . Bridged Device Basic Information . NodeLabel disabled: true @@ -31,6 +32,7 @@ tests: - label: "Using manufacturer provided means (i.e. NOT using Matter protocol), update the name of this bridged device" + PICS: MCORE.BRIDGE && MCORE.BRIDGE.AllowDeviceRename verification: | no Matter messages for this step disabled: true @@ -38,6 +40,7 @@ tests: - label: "Read the NodeLabel attribute of the Bridged Device Basic Information cluster on the same endpoint as in 1a" + PICS: MCORE.BRIDGE && MCORE.BRIDGE.AllowDeviceRename verification: | read EP n . Bridged Device Basic Information . NodeLabel disabled: true @@ -47,23 +50,27 @@ tests: non-Matter interface (example: bridge manufacturer provides an app which can change the state of the bridged devices, e.g. change a lights brightness)" + PICS: MCORE.BRIDGE & MCORE.BRIDGE.OtherControl verification: | no Matter messages for this step disabled: true - label: "Read the state (e.g. on/off, brightness) of that bridged device" + PICS: MCORE.BRIDGE & MCORE.BRIDGE.OtherControl verification: | read device state disabled: true - label: - "Change the state (e.g. on/off, brightness) of that bridged device - with this 'other' interface." + 'Change the state (e.g. on/off, brightness) of that bridged device + with this "other" interface.' + PICS: MCORE.BRIDGE & MCORE.BRIDGE.OtherControl verification: | no Matter messages for this step disabled: true - label: "Read the state of that bridged device again (as in 2b)" + PICS: MCORE.BRIDGE & MCORE.BRIDGE.OtherControl verification: | read device state disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml index ac06a79dc21cf6..7ad5b29dc96e7f 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml @@ -30,6 +30,7 @@ tests: value: nodeId - label: "TH reads NetworkInterfaces structure attribute from DUT." + PICS: DGGEN.S.A0000 command: "readAttribute" attribute: "NetworkInterfaces" response: @@ -37,6 +38,7 @@ tests: type: list - label: "TH reads a RebootCount attribute value from DUT." + PICS: DGGEN.S.A0001 command: "readAttribute" attribute: "RebootCount" response: @@ -90,6 +92,7 @@ tests: - label: "DUT reboots and TH reads a UpTime attribute value of DUT since some arbitrary start time of DUT rebooting." + PICS: DGGEN.S.A0002 command: "readAttribute" attribute: "UpTime" response: @@ -97,6 +100,7 @@ tests: type: uint64 - label: "TH reads a TotalOperationalHours attribute value from DUT." + PICS: DGGEN.S.A0003 command: "readAttribute" attribute: "TotalOperationalHours" response: @@ -130,6 +134,7 @@ tests: value: nodeId - label: "TH reads BootReason attribute value from DUT." + PICS: DGGEN.S.A0004 command: "readAttribute" attribute: "BootReasons" response: @@ -146,7 +151,7 @@ tests: [1654682785.894952][33006:33011] CHIP:EM: Sending Standalone Ack for MessageCounter:30803984 on exchange 62441i cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGGEN.S.A0005 arguments: values: - name: "message" @@ -184,7 +189,7 @@ tests: [1654682933.933655][33037:33042] CHIP:DMG: Subscription established with SubscriptionID = 0xc5357d7e MinInterval = 100s MaxInterval = 1000s Peer = 01:0000000000000001 cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGGEN.S.A0006 arguments: values: - name: "message" @@ -201,7 +206,7 @@ tests: [1654683004.591526][33044:33049] CHIP:EM: Sending Standalone Ack for MessageCounter:113863817 on exchange 44900i cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && DGGEN.S.A0007 arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml index 08b4c4c938d7b3..9c563741ea65c2 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml @@ -26,7 +26,8 @@ tests: ENUM table 11.11.6.1. (Ex. Pull the DUT power plug off causing power source failure, and rejoin DUT back to previous TH fabric. Next, repeat power plug off and rejoining DUT back to previous TH fabric one - more time" + more time.)" + PICS: DGGEN.S.E00 verification: | ./chip-tool generaldiagnostics read-event hardware-fault-change 1 0 @@ -39,6 +40,7 @@ tests: disabled: true - label: "TH initiates the subscription of HardwareFault event from DUT." + PICS: DGGEN.S.E00 verification: | sudo ./chip-tool generaldiagnostics subscribe-event hardware-fault-change 100 1000 1 0 @@ -58,10 +60,11 @@ tests: - label: "Induce a DUT radio failure two times as addressed in RadioFault ENUM - table 11.11.6.2. Ex. Put the DUT under metalic cover causing WiFi + table 11.11.6.2. (Ex. Put the DUT under metalic cover causing WiFi failure. Uncover DUT and make DUT rejoining DUT back to previous TH fabric. Repeat the radio failure one more time and rejoin DUT back to previous TH fabric." + PICS: DGGEN.S.E01 verification: | ./chip-tool generaldiagnostics read-event radio-fault-change 1 0 @@ -74,6 +77,7 @@ tests: disabled: true - label: "TH initiates the subscription of RadioFault event from DUT." + PICS: DGGEN.S.E01 verification: | sudo ./chip-tool generaldiagnostics subscribe-event radio-fault-change 100 1000 1 0 @@ -93,10 +97,11 @@ tests: - label: "Induce a DUT radio failure two times as addressed in NetworkFault - ENUM table 11.11.6.3. Ex. Put the DUT under metalic cover causing + ENUM table 11.11.6.3. (Ex. Put the DUT under metalic cover causing network failure. Uncover DUT and rejoin DUT back to previous TH fabric. Pull the DUT power plug off causing power source failure. - rejoining DUT back to previous TH fabric." + rejoining DUT back to previous TH fabric.)" + PICS: DGGEN.S.E02 verification: | ./chip-tool generaldiagnostics read-event network-fault-change 1 0 @@ -109,6 +114,7 @@ tests: disabled: true - label: "TH initiates the subscription of NetworkFault event from DUT." + PICS: DGGEN.S.E02 verification: | sudo ./chip-tool generaldiagnostics subscribe-event network-fault-change 100 1000 1 0 [1653659901.757441][242605:242610] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:11933575 on exchange 20223i @@ -128,6 +134,7 @@ tests: - label: "Reboot DUT with a normal reboot process. Rejoin DUT back to previous TH fabric." + PICS: DGGEN.S.E03 verification: | ./chip-tool generaldiagnostics read-event boot-reason 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml index b520c3c0312c0b..d4a942defb92be 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml @@ -27,6 +27,10 @@ tests: manufacturer-specific means. EventTrigger value is configured and SHALL indicate the test or test mode which TH wants to trigger the testing use by manufacturers." + PICS: DGGEN.S.C00 verification: | - NOT AVAILABLE + 1. Read if TestEventTriggersEnabled attribute is set to true using ./chip-tool generaldiagnostics read test-event-triggers-enabled 1 0 + 2. when this attribute is false, do not need to verify rest of the below commands. + 3. When this attribute is true, the Node has been configured with one or more test event triggers by virtue of the internally programmed EnableKey value by the product vendor + 4. Use the manufacturer-provided EnableKey value and the EventTrigger value and send command using './chip-tool generaldiagnostics test-event-trigger ' 1 0 and verify if the DUT generated the desired event. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml index 605b5b99dbe0fd..50cc83bff87ee3 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml @@ -21,12 +21,8 @@ config: endpoint: 0 tests: - - label: "Commission DUT to TH" - verification: | - - disabled: true - - label: "TH reads NetworkInterfaces structure attribute from DUT." + PICS: DGGEN.S.A0000 verification: | ./chip-tool generaldiagnostics read network-interfaces 1 0 [1654682355.830733][32933:32938] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_0000 DataVersion: 2161135285 @@ -164,6 +160,7 @@ tests: - label: "TH reads a RebootCount attribute value from DUT. Then a DUT (node) gets rebooted more than 2 times." + PICS: DGGEN.S.A0001 verification: | ./chip-tool generaldiagnostics read reboot-count 1 0 @@ -201,6 +198,7 @@ tests: - label: "DUT reboots and TH reads a UpTime attribute value of DUT since some arbitrary start time of DUT rebooting." + PICS: DGGEN.S.A0002 verification: | ./chip-tool generaldiagnostics read up-time 1 0 [1650877936.461150][2360:2365] CHIP:DMG: ReportDataMessage = @@ -234,6 +232,7 @@ tests: disabled: true - label: "TH reads a TotalOpreationalHours attribute value from DUT." + PICS: DGGEN.S.A0003 verification: | ./chip-tool generaldiagnostics read total-operational-hours 1 0 @@ -269,6 +268,7 @@ tests: - label: "DUT undergoes a reboot process. TH reads a attribute value from DUT." + PICS: DGGEN.S.A0004 verification: | ./chip-tool generaldiagnostics read boot-reasons 1 0 @@ -305,6 +305,7 @@ tests: - label: "TH reads ActiveHardwareFaults attribute value from DUT. Subscription is possible option for this attribute." + PICS: DGGEN.S.A0005 verification: | ./chip-tool generaldiagnostics read active-hardware-faults 1 0 [1650878034.131791][2385:2390] CHIP:DMG: ReportDataMessage = @@ -342,6 +343,7 @@ tests: - label: "TH reads ActiveRadioFaults attribute value from DUT. Subscription is possible option for this attribute" + PICS: DGGEN.S.A0006 verification: | ./chip-tool generaldiagnostics read active-radio-faults 1 0 @@ -380,6 +382,7 @@ tests: - label: "TH reads ActiveNetworkFaults attribute value from DUT. Subscription is possible option for this attribute." + PICS: DGGEN.S.A0007 verification: | ./chip-tool generaldiagnostics read active-network-faults 1 0 [1650878077.693017][2399:2404] CHIP:DMG: ReportDataMessage = @@ -418,6 +421,7 @@ tests: "TH reads TestEventTriggersEnabled attribute value. If this value is set True, then a certain test mode will be performed (or triggered) according to pre-provisioned client and server test mode." + PICS: DGGEN.S.A0008 verification: | ./chip-tool generaldiagnostics read test-event-triggers-enabled 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_3_2.yaml index ca90d3bcfc3d52..093b45bbb5f476 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_3_2.yaml @@ -30,6 +30,7 @@ tests: execution. c. DUT checks TH sent EventTrigger mode if it is a DUT supported test mode. If not, INVALID_COMMAND is sent and stops the command execution." + PICS: DGGEN.S.C00 verification: | Need SDK implementation disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml index b285bd60bdb57d..1c7db189c2defe 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Read the mandatory attribute: MeasuredValue" + PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" response: @@ -36,6 +37,7 @@ tests: type: uint16 - label: "Read the mandatory attribute: MinMeasuredValue" + PICS: FLW.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" response: @@ -43,6 +45,7 @@ tests: type: uint16 - label: "Read the mandatory attribute: MaxMeasuredValue" + PICS: FLW.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" response: @@ -50,7 +53,7 @@ tests: type: uint16 - label: "read the optional attribute: Tolerance" - optional: true + PICS: FLW.S.A0003 command: "readAttribute" attribute: "Tolerance" response: diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml index b703a89d44fcff..b2b97cdbf31f5b 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "read the mandatory attribute: MeasuredValue" + PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" response: @@ -39,7 +40,7 @@ tests: - label: "operate on DUT to change the flow significantly" cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT + PICS: PICS_USER_PROMPT && FLW.M.FlowChange arguments: values: - name: "message" @@ -48,6 +49,7 @@ tests: value: "y" - label: "read the mandatory attribute: MeasuredValue" + PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" response: diff --git a/src/app/tests/suites/certification/Test_TC_FLW_3_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_3_1.yaml index 0a982d582dec12..e91666f64fe67c 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 30.3.1. [TC-FLW-3.1] Attributes with client as DUT +name: 31.3.1. [TC-FLW-3.1] Attributes with Client as DUT config: nodeId: 0x12344321 @@ -164,6 +164,26 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH again" verification: | + ./chip-tool flowmeasurement read attribute-list 1 1 + + [1656478164937] [49517:5732586] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0404 Attribute 0x0000_FFFB DataVersion: 3423686907 + [1656478164937] [49517:5732586] CHIP: [TOO] AttributeList: 8 entries + [1656478164937] [49517:5732586] CHIP: [TOO] [1]: 0 + [1656478164937] [49517:5732586] CHIP: [TOO] [2]: 1 + [1656478164937] [49517:5732586] CHIP: [TOO] [3]: 2 + [1656478164937] [49517:5732586] CHIP: [TOO] [4]: 65528 + [1656478164937] [49517:5732586] CHIP: [TOO] [5]: 65529 + [1656478164937] [49517:5732586] CHIP: [TOO] [6]: 65531 + [1656478164937] [49517:5732586] CHIP: [TOO] [7]: 65532 + [1656478164937] [49517:5732586] CHIP: [TOO] [8]: 65533 + + ./chip-tool flowmeasurement read feature-map 1 1 + + [1656478242820] [49526:5733040] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0404 Attribute 0x0000_FFFC DataVersion: 3423686907 + [1656478242820] [49526:5733040] CHIP: [TOO] FeatureMap: 0 + + + ./chip-tool flowmeasurement read measured-value 1 1 Verify on TestHarnes (all-cluster-app) a received read of measured-value printing the cluster ID endpoint used and attribute ID which is read in logs @@ -255,7 +275,7 @@ tests: "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - chip-tool flowmeasurement read tolerance 1 1 + ./chip-tool flowmeasurement read tolerance 1 1 General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml index bda34436d308b7..0536bbe5365a3a 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 3.1.1. [TC-OO-1] Global attributes with server as DUT +name: 4.1.1. [TC-OO-1.1] Global attributes with server as DUT config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml index b22915d4ba5754..5ce4bdf574593d 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Read the mandatory attribute: MaxPressure" + PICS: PCC.S.A0000 command: "readAttribute" attribute: "MaxPressure" response: @@ -38,6 +39,7 @@ tests: maxValue: 32767 - label: "Read the mandatory attribute: MaxSpeed" + PICS: PCC.S.A0001 command: "readAttribute" attribute: "MaxSpeed" response: @@ -47,6 +49,7 @@ tests: maxValue: 65535 - label: "Read the mandatory attribute: MaxFlow" + PICS: PCC.S.A0002 command: "readAttribute" attribute: "MaxFlow" response: @@ -56,6 +59,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: MinConstPressure" + PICS: PCC.S.A0003 optional: true command: "readAttribute" attribute: "MinConstPressure" @@ -66,6 +70,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: MaxConstPressure" + PICS: PCC.S.A0004 optional: true command: "readAttribute" attribute: "MaxConstPressure" @@ -76,6 +81,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: MinCompPressure" + PICS: PCC.S.A0005 optional: true command: "readAttribute" attribute: "MinCompPressure" @@ -86,6 +92,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: MaxCompPressure" + PICS: PCC.S.A0006 optional: true command: "readAttribute" attribute: "MaxCompPressure" @@ -96,6 +103,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: MinConstSpeed" + PICS: PCC.S.A0007 optional: true command: "readAttribute" attribute: "MinConstSpeed" @@ -106,6 +114,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: MaxConstSpeed" + PICS: PCC.S.A0008 optional: true command: "readAttribute" attribute: "MaxConstSpeed" @@ -116,6 +125,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: MinConstFlow" + PICS: PCC.S.A0009 optional: true command: "readAttribute" attribute: "MinConstFlow" @@ -126,6 +136,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: MaxConstFlow" + PICS: PCC.S.A000a optional: true command: "readAttribute" attribute: "MaxConstFlow" @@ -136,6 +147,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: MinConstTemp" + PICS: PCC.S.A000b optional: true command: "readAttribute" attribute: "MinConstTemp" @@ -146,6 +158,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: MaxConstTemp" + PICS: PCC.S.A000c optional: true command: "readAttribute" attribute: "MaxConstTemp" @@ -156,6 +169,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: PumpStatus" + PICS: PCC.S.A0010 optional: true command: "readAttribute" attribute: "PumpStatus" @@ -166,6 +180,7 @@ tests: maxValue: 8 - label: "Read attribute: EffectiveOperationMode" + PICS: PCC.S.A0011 command: "readAttribute" attribute: "EffectiveOperationMode" response: @@ -175,6 +190,7 @@ tests: maxValue: 3 - label: "Read attribute: EffectiveControlMode" + PICS: PCC.S.A0012 command: "readAttribute" attribute: "EffectiveControlMode" response: @@ -184,6 +200,7 @@ tests: maxValue: 7 - label: "Read attribute: Capacity" + PICS: PCC.S.A0013 command: "readAttribute" attribute: "Capacity" response: @@ -193,6 +210,7 @@ tests: maxValue: 32767 - label: "Read the optional attribute: Speed" + PICS: PCC.S.A0014 optional: true command: "readAttribute" attribute: "Speed" @@ -203,6 +221,7 @@ tests: maxValue: 65535 - label: "Read the optional attribute: LifetimeRunningHours" + PICS: PCC.S.A0015 optional: true command: "readAttribute" attribute: "LifetimeRunningHours" @@ -213,6 +232,7 @@ tests: maxValue: 16777215 - label: "Read the optional attribute: Power" + PICS: PCC.S.A0016 optional: true command: "readAttribute" attribute: "Power" @@ -223,6 +243,7 @@ tests: maxValue: 16777215 - label: "Read the optional attribute: LifetimeEnergyConsumed" + PICS: PCC.S.A0017 optional: true command: "readAttribute" attribute: "LifetimeEnergyConsumed" @@ -233,6 +254,7 @@ tests: maxValue: 4294967295 - label: "Read optional attribute: OperationMode" + PICS: PCC.S.A0020 command: "readAttribute" attribute: "OperationMode" response: @@ -242,6 +264,7 @@ tests: maxValue: 3 - label: "Read optional attribute: ControlMode" + PICS: PCC.S.A0021 optional: true command: "readAttribute" attribute: "ControlMode" 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 df45148e855468..c24059997de3a4 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 @@ -31,41 +31,41 @@ tests: - label: "Write 1 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" - PICS: A_OPERATIONMODE + PICS: PCC.S.A0020 arguments: value: 1 - label: "Reads the attribute: EffectiveOperationMode" command: "readAttribute" attribute: "EffectiveOperationMode" - PICS: A_EFFECTIVEOPERATIONMODE + PICS: PCC.S.A0011 response: value: 1 - label: "Write 2 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" - PICS: A_OPERATIONMODE + PICS: PCC.S.A0020 arguments: value: 2 - label: "Reads the attribute: EffectiveOperationMode" command: "readAttribute" attribute: "EffectiveOperationMode" - PICS: A_EFFECTIVEOPERATIONMODE + PICS: PCC.S.A0011 response: value: 2 - label: "Write 3 to the OperationMode attribute to DUT: OperationMode" command: "writeAttribute" attribute: "OperationMode" - PICS: A_OPERATIONMODE + PICS: PCC.S.A0020 arguments: value: 3 - label: "Reads the attribute: EffectiveOperationMode" command: "readAttribute" attribute: "EffectiveOperationMode" - PICS: A_EFFECTIVEOPERATIONMODE + PICS: PCC.S.A0011 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 28999176999bf8..5a5e0bae73791f 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 @@ -31,97 +31,97 @@ tests: - label: "Write 0 to the OperationMode attribute to DUT" command: "writeAttribute" attribute: "OperationMode" - PICS: A_OPERATIONMODE + PICS: PCC.S.A0020 arguments: value: 0 - label: "Reads the attribute: EffectiveOperationMode" command: "readAttribute" attribute: "EffectiveOperationMode" - PICS: A_EFFECTIVEOPERATIONMODE + PICS: PCC.S.A0011 response: value: 0 - label: "Write 0 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 0 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 0 - label: "Write 1 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 1 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 1 - label: "Write 2 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 2 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 2 - label: "Write 3 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 3 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 3 - label: "Write 5 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 5 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 5 - label: "Write 7 to the ControlMode attribute to DUT" command: "writeAttribute" attribute: "ControlMode" - PICS: A_CONTROLMODE + PICS: PCC.S.A0021 arguments: value: 7 - label: "Reads the attribute: EffectiveControlMode" command: "readAttribute" attribute: "EffectiveControlMode" - PICS: A_EFFECTIVECONTROLMODE + PICS: PCC.S.A0012 response: value: 7 diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml index 5535b6fa407af8..178c53dc9fbeb7 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml @@ -29,72 +29,84 @@ tests: value: nodeId - label: "Write 1 to the LifetimeRunningHours attribute to DUT" + PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 1 - label: "Reads the attribute: LifetimeRunningHours" + PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 1 - label: "Write 2 to the LifetimeRunningHours attribute to DUT" + PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 2 - label: "Reads the attribute: LifetimeRunningHours" + PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 2 - label: "Write 3 to the LifetimeRunningHours attribute to DUT" + PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 3 - label: "Reads the attribute: LifetimeRunningHours" + PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 3 - label: "Write 1 to the LifetimeEnergyConsumed attribute to DUT" + PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 1 - label: "Reads the attribute: LifetimeEnergyConsumed" + PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" response: value: 1 - label: "Write 2 to the LifetimeEnergyConsumed attribute to DUT" + PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 2 - label: "Reads the attribute: LifetimeEnergyConsumed" + PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" response: value: 2 - label: "Write 3 to the LifetimeEnergyConsumed attribute to DUT" + PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 3 - label: "Reads the attribute: LifetimeEnergyConsumed" + PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" response: diff --git a/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml index 2bb082a23cff2f..af7af8d67ba797 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_3_1.yaml @@ -665,6 +665,12 @@ tests: [1654247307401] [91803:4011207] CHIP: [TOO] [12]: 65533 + ./chip-tool pumpconfigurationandcontrol read feature-map 1 1 + [1656478569086] [49565:5734437] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0200 Attribute 0x0000_FFFC DataVersion: 1816685251 + [1656478569086] [49565:5734437] CHIP: [TOO] FeatureMap: 0 + + + "./chip-tool pumpconfigurationandcontrol read max-pressure 1 1 [1651148412.273866][2336:2336] CHIP:IM: Received Read request diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml index 12ee8c7b5e6887..22762869d02923 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml @@ -27,6 +27,7 @@ tests: disabled: true - label: "TH reads from the DUT the MeasuredValue attribute" + PICS: PRS.S.A0000 verification: | ./chip-tool pressuremeasurement read measured-value 1 1 @@ -34,6 +35,7 @@ tests: disabled: true - label: "Operate on device to change the pressure significantly" + PICS: PRS.M.PressureChange verification: | Operate at device disabled: true @@ -41,6 +43,7 @@ tests: - label: "After a few seconds, TH reads from the DUT the MeasuredValue attribute" + PICS: PRS.S.A0000 verification: | ./chip-tool pressuremeasurement read measured-value 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_3.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_3.yaml deleted file mode 100644 index af0080a6012ec9..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_PRS_2_3.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: 3.2.3. [TC-PRS-2.3] Secondary functionality with server as DUT - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "Commission DUT to TH" - verification: | - - disabled: true - - - label: "TH reads from the DUT the Tolerance attribute" - verification: | - ./chip-tool pressuremeasurement read tolerance 1 1 - - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - disabled: true - - - label: "TH reads from the DUT the MeasuredValue attribute" - verification: | - ./chip-tool pressuremeasurement read measured-value 1 1 - - [1646049376.457970][12096:12101] CHIP:DMG: SuppressResponse = true, - [1646049376.458003][12096:12101] CHIP:DMG: InteractionModelRevision = 1 - [1646049376.458033][12096:12101] CHIP:DMG: } - [1646049376.458206][12096:12101] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0000 - DataVersion: 781236764 - [1646049376.458395][12096:12101] CHIP:TOO: MeasuredValue: 0 - disabled: true - - - label: "TH reads from the DUT the MeasuredValue attribute" - verification: | - ./chip-tool pressuremeasurement read measured-value 1 1 - - CHIP:TOO: MeasuredValue: 0 - disabled: true - - - label: "TH reads from the DUT the Scale attribute" - verification: | - ./chip-tool pressuremeasurement read scale 1 1 - - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) NOT IMPLEMENTED IN SDK - disabled: true - - - label: "TH reads from the DUT the ScaledValue attribute" - verification: | - ./chip-tool pressuremeasurement read scaled-value 1 1 - - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) NOT IMPLEMENTED IN SDK - disabled: true - - - label: "TH reads from the DUT the ScaledTolerance attribute" - verification: | - ./chip-tool pressuremeasurement read scaled-tolerance 1 1 - - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) NOT IMPLEMENTED IN SDK - disabled: true - - - label: "TH reads from the DUT the ScaledValue attribute" - verification: | - ./chip-tool pressuremeasurement read scaled-value 1 1 - - General error: 0x86 (UNSUPPORTED_ATTRIBUTE) NOT IMPLEMENTED IN SDK - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PRS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_3_1.yaml index 029757f0f81ec9..c098a8ef348a77 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.3.1. [TC-PRS-3.1] Attributes with client as DUT +name: 34.3.1. [TC-PRS-3.1] Attributes with Client as DUT config: nodeId: 0x12344321 @@ -21,61 +21,207 @@ config: endpoint: 0 tests: - - label: "Commission DUT to TH" + - label: + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | + ./chip-tool pressuremeasurement read measured-value 1 1 + + [1653992317.047323][2347:2347] CHIP:IM: Received Read request + [1653992317.047382][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992317.047457][2347:2347] CHIP:DMG: { + [1653992317.047480][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992317.047507][2347:2347] CHIP:DMG: [ + [1653992317.047531][2347:2347] CHIP:DMG: AttributePathIB = + [1653992317.047563][2347:2347] CHIP:DMG: { + [1653992317.047592][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992317.047657][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992317.047695][2347:2347] CHIP:DMG: Attribute = 0x0000_0000, + [1653992317.047725][2347:2347] CHIP:DMG: } + [1653992317.047774][2347:2347] CHIP:DMG: + [1653992317.047803][2347:2347] CHIP:DMG: ], + [1653992317.047831][2347:2347] CHIP:DMG: + [1653992317.047859][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992317.047884][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992317.047908][2347:2347] CHIP:DMG: }, + [1653992317.047995][2347:2347] CHIP:DMG: IM RH moving to [GeneratingReports] + + ./chip-tool pressuremeasurement read min-measured-value 1 1 + [1653992385.759474][2347:2347] CHIP:IM: Received Read request + [1653992385.759533][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992385.759561][2347:2347] CHIP:DMG: { + [1653992385.759584][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992385.759618][2347:2347] CHIP:DMG: [ + [1653992385.759647][2347:2347] CHIP:DMG: AttributePathIB = + [1653992385.759678][2347:2347] CHIP:DMG: { + [1653992385.759745][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992385.759781][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992385.759859][2347:2347] CHIP:DMG: Attribute = 0x0000_0001, + [1653992385.759918][2347:2347] CHIP:DMG: } + [1653992385.759971][2347:2347] CHIP:DMG: + [1653992385.760000][2347:2347] CHIP:DMG: ], + [1653992385.760049][2347:2347] CHIP:DMG: + [1653992385.760100][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992385.760125][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992385.760168][2347:2347] CHIP:DMG: }, + + ./chip-tool pressuremeasurement read max-measured-value 1 1 + + [1653992415.580348][2347:2347] CHIP:IM: Received Read request + [1653992415.580414][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992415.580442][2347:2347] CHIP:DMG: { + [1653992415.580473][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992415.580501][2347:2347] CHIP:DMG: [ + [1653992415.580534][2347:2347] CHIP:DMG: AttributePathIB = + [1653992415.580563][2347:2347] CHIP:DMG: { + [1653992415.580602][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992415.580674][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992415.580713][2347:2347] CHIP:DMG: Attribute = 0x0000_0002, + [1653992415.580746][2347:2347] CHIP:DMG: } + [1653992415.580786][2347:2347] CHIP:DMG: + [1653992415.580812][2347:2347] CHIP:DMG: ], + [1653992415.580852][2347:2347] CHIP:DMG: + [1653992415.580879][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992415.580913][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992415.580936][2347:2347] CHIP:DMG: }, disabled: true - - label: "DUT reads attribute value from TH." + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" verification: | - ./chip-tool pressuremeasurement read measured-value 1 1 + NOT IMPLEMENTED - Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0000DataVersion: 3000764473 - [1646127393.744240][2874:2879] CHIP:TOO: MeasuredValue: 0 + ./chip-tool pressuremeasurement read tolerance 1 1 + ./chip-tool pressuremeasurement read scaled-value 1 1 + ./chip-tool pressuremeasurement read min-scaled-value 1 1 + ./chip-tool pressuremeasurement read max-scaled-value 1 1 + ./chip-tool pressuremeasurement read scaled-tolerance 1 1 + ./chip-tool pressuremeasurement read scale 1 1 disabled: true - - label: "DUT reads attribute value from TH." + - label: + "DUT writes a suitable value to all supported mandatory attributes on + the TH one at a time in a manufacturer specific order" verification: | - ./chip-tool pressuremeasurement read min-measured-value 1 1 + No writable attributes + disabled: true - Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0001DataVersion: 3000764473 - [1646127524.530004][2882:2888] CHIP:TOO: MinMeasuredValue: 0 + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" + verification: | + No writable attributes disabled: true - - label: "DUT reads attribute value from TH." + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again" verification: | + ./chip-tool pressuremeasurement read attribute-list 1 1 + [1654246805586] [91746:4008896] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_FFFB DataVersion: 2053900777 + [1654246805586] [91746:4008896] CHIP: [TOO] AttributeList: 8 entries + [1654246805586] [91746:4008896] CHIP: [TOO] [1]: 0 + [1654246805586] [91746:4008896] CHIP: [TOO] [2]: 1 + [1654246805586] [91746:4008896] CHIP: [TOO] [3]: 2 + [1654246805586] [91746:4008896] CHIP: [TOO] [4]: 65528 + [1654246805586] [91746:4008896] CHIP: [TOO] [5]: 65529 + [1654246805586] [91746:4008896] CHIP: [TOO] [6]: 65531 + [1654246805586] [91746:4008896] CHIP: [TOO] [7]: 65532 + [1654246805586] [91746:4008896] CHIP: [TOO] [8]: 65533 + + + " ./chip-tool pressuremeasurement read measured-value 1 1 + + [1653992317.047323][2347:2347] CHIP:IM: Received Read request + [1653992317.047382][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992317.047457][2347:2347] CHIP:DMG: { + [1653992317.047480][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992317.047507][2347:2347] CHIP:DMG: [ + [1653992317.047531][2347:2347] CHIP:DMG: AttributePathIB = + [1653992317.047563][2347:2347] CHIP:DMG: { + [1653992317.047592][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992317.047657][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992317.047695][2347:2347] CHIP:DMG: Attribute = 0x0000_0000, + [1653992317.047725][2347:2347] CHIP:DMG: } + [1653992317.047774][2347:2347] CHIP:DMG: + [1653992317.047803][2347:2347] CHIP:DMG: ], + [1653992317.047831][2347:2347] CHIP:DMG: + [1653992317.047859][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992317.047884][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992317.047908][2347:2347] CHIP:DMG: }, + [1653992317.047995][2347:2347] CHIP:DMG: IM RH moving to [GeneratingReports] + + ./chip-tool pressuremeasurement read min-measured-value 1 1 + [1653992385.759474][2347:2347] CHIP:IM: Received Read request + [1653992385.759533][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992385.759561][2347:2347] CHIP:DMG: { + [1653992385.759584][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992385.759618][2347:2347] CHIP:DMG: [ + [1653992385.759647][2347:2347] CHIP:DMG: AttributePathIB = + [1653992385.759678][2347:2347] CHIP:DMG: { + [1653992385.759745][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992385.759781][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992385.759859][2347:2347] CHIP:DMG: Attribute = 0x0000_0001, + [1653992385.759918][2347:2347] CHIP:DMG: } + [1653992385.759971][2347:2347] CHIP:DMG: + [1653992385.760000][2347:2347] CHIP:DMG: ], + [1653992385.760049][2347:2347] CHIP:DMG: + [1653992385.760100][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992385.760125][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992385.760168][2347:2347] CHIP:DMG: }, + + ./chip-tool pressuremeasurement read max-measured-value 1 1 - Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0002DataVersion: 3000764473 - [1646127595.013597][2891:2896] CHIP:TOO: MaxMeasuredValue: 0 + [1653992415.580348][2347:2347] CHIP:IM: Received Read request + [1653992415.580414][2347:2347] CHIP:DMG: ReadRequestMessage = + [1653992415.580442][2347:2347] CHIP:DMG: { + [1653992415.580473][2347:2347] CHIP:DMG: AttributePathIBs = + [1653992415.580501][2347:2347] CHIP:DMG: [ + [1653992415.580534][2347:2347] CHIP:DMG: AttributePathIB = + [1653992415.580563][2347:2347] CHIP:DMG: { + [1653992415.580602][2347:2347] CHIP:DMG: Endpoint = 0x1, + [1653992415.580674][2347:2347] CHIP:DMG: Cluster = 0x403, + [1653992415.580713][2347:2347] CHIP:DMG: Attribute = 0x0000_0002, + [1653992415.580746][2347:2347] CHIP:DMG: } + [1653992415.580786][2347:2347] CHIP:DMG: + [1653992415.580812][2347:2347] CHIP:DMG: ], + [1653992415.580852][2347:2347] CHIP:DMG: + [1653992415.580879][2347:2347] CHIP:DMG: isFabricFiltered = true, + [1653992415.580913][2347:2347] CHIP:DMG: InteractionModelRevision = 1 + [1653992415.580936][2347:2347] CHIP:DMG: }," disabled: true - - label: "DUT reads attribute value from TH." + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" verification: | ./chip-tool pressuremeasurement read tolerance 1 1 - disabled: true + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - label: "DUT reads attribute value from TH." - verification: | ./chip-tool pressuremeasurement read scaled-value 1 1 - disabled: true + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - label: "DUT reads attribute value from TH." - verification: | ./chip-tool pressuremeasurement read min-scaled-value 1 1 - disabled: true + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - label: "DUT reads attribute value from TH." - verification: | ./chip-tool pressuremeasurement read max-scaled-value 1 1 - disabled: true + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) - - label: "DUT reads attribute value from TH." - verification: | ./chip-tool pressuremeasurement read scaled-tolerance 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + + ./chip-tool pressuremeasurement read scale 1 1 + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - - label: "DUT reads attribute value from TH." + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" verification: | - ./chip-tool pressuremeasurement read scale 1 1 + No writable attributes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml index 77ce288221f775..6034c6eaf08151 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Test Harness Client reads Status attribute from Server DUT" + PICS: PS.S.A0000 command: "readAttribute" attribute: "Status" response: @@ -38,6 +39,7 @@ tests: maxValue: 3 - label: "Test Harness Client reads Order attribute from Server DUT" + PICS: PS.S.A0001 command: "readAttribute" attribute: "Order" response: @@ -45,6 +47,7 @@ tests: type: uint8 - label: "Test Harness Client reads Description attribute from Server DUT" + PICS: PS.S.A0002 command: "readAttribute" attribute: "Description" response: @@ -54,7 +57,7 @@ tests: - label: "Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0003 command: "readAttribute" attribute: "WiredAssessedInputVoltage" response: @@ -64,7 +67,7 @@ tests: - label: "Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0004 command: "readAttribute" attribute: "WiredAssessedInputFrequency" response: @@ -73,7 +76,7 @@ tests: - label: "Test Harness Client reads WiredCurrentType attribute from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0005 command: "readAttribute" attribute: "WiredCurrentType" response: @@ -85,7 +88,7 @@ tests: - label: "Test Harness Client reads WiredAssessedCurrent attribute from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0006 command: "readAttribute" attribute: "WiredAssessedCurrent" response: @@ -93,7 +96,7 @@ tests: type: uint32 - label: "Test Harness Client reads WiredNominalVoltage from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0007 command: "readAttribute" attribute: "WiredNominalVoltage" response: @@ -101,7 +104,7 @@ tests: type: uint32 - label: "Test Harness Client reads WiredMaximumCurrent from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0008 command: "readAttribute" attribute: "WiredMaximumCurrent" response: @@ -109,7 +112,7 @@ tests: type: uint32 - label: "Test Harness Client reads WiredPresent from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0009 command: "readAttribute" attribute: "WiredPresent" response: @@ -117,7 +120,7 @@ tests: type: bool - label: "Test Harness Client reads ActiveWiredFaults from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000a command: "readAttribute" attribute: "ActiveWiredFaults" response: @@ -126,7 +129,7 @@ tests: maxlength: 8 - label: "Test Harness Client reads BatVoltage from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000b command: "readAttribute" attribute: "BatteryVoltage" response: @@ -134,7 +137,7 @@ tests: type: uint32 - label: "Test Harness Client reads BatPercentRemaining from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000c command: "readAttribute" attribute: "BatteryPercentRemaining" response: @@ -144,7 +147,7 @@ tests: maxvalue: 200 - label: "Test Harness Client reads BatTimeRemaining from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000d command: "readAttribute" attribute: "BatteryTimeRemaining" response: @@ -152,6 +155,7 @@ tests: type: uint32 - label: "Test Harness Client reads BatChargeLevel from Server DUT" + PICS: PS.S.A000e command: "readAttribute" attribute: "BatteryChargeLevel" response: @@ -161,7 +165,7 @@ tests: maxValue: 2 - label: "Test Harness Client reads BatReplacementNeeded from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000f command: "readAttribute" attribute: "BatteryReplacementNeeded" response: @@ -169,7 +173,7 @@ tests: type: bool - label: "Test Harness Client reads BatReplaceability from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0010 command: "readAttribute" attribute: "BatteryReplaceability" response: @@ -179,7 +183,7 @@ tests: maxValue: 3 - label: "Test Harness Client reads BatPresent from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0011 command: "readAttribute" attribute: "BatteryPresent" response: @@ -187,7 +191,7 @@ tests: type: bool - label: "Test Harness Client readsActiveBatFaults from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0012 command: "readAttribute" attribute: "ActiveBatteryFaults" response: @@ -197,7 +201,7 @@ tests: - label: "Test Harness Client reads BatReplacementDescription from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0013 command: "readAttribute" attribute: "BatteryReplacementDescription" response: @@ -206,7 +210,7 @@ tests: maxLength: 60 - label: "Test Harness Client reads BatCommonDesignation from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0014 command: "readAttribute" attribute: "BatteryCommonDesignation" response: @@ -216,7 +220,7 @@ tests: maxValue: 80 - label: "Test Harness Client reads BatANSIDesignation from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0015 command: "readAttribute" attribute: "BatteryANSIDesignation" response: @@ -225,7 +229,7 @@ tests: maxLength: 20 - label: "Test Harness Client reads BatIECDesignation from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0016 command: "readAttribute" attribute: "BatteryIECDesignation" response: @@ -234,7 +238,7 @@ tests: maxLength: 20 - label: "Test Harness Client reads BatApprovedChemistry from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0017 command: "readAttribute" attribute: "BatteryApprovedChemistry" response: @@ -244,7 +248,7 @@ tests: maxValue: 32 - label: "Test Harness Client reads BatCapacity from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0018 command: "readAttribute" attribute: "BatteryCapacity" response: @@ -252,7 +256,7 @@ tests: type: uint32 - label: "Test Harness Client reads BatQuantity from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0019 command: "readAttribute" attribute: "BatteryQuantity" response: @@ -260,7 +264,7 @@ tests: type: uint8 - label: "Test Harness Client reads BatChargeState from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001a command: "readAttribute" attribute: "BatteryChargeState" response: @@ -270,7 +274,7 @@ tests: maxValue: 3 - label: "Test Harness Client reads BatTimeToFullCharge from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001b command: "readAttribute" attribute: "BatteryTimeToFullCharge" response: @@ -279,7 +283,7 @@ tests: - label: "Test Harness Client reads BatFunctionalWhileCharging from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001c command: "readAttribute" attribute: "BatteryFunctionalWhileCharging" response: @@ -287,7 +291,7 @@ tests: type: bool - label: "Test Harness Client reads BatChargingCurrent from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001d command: "readAttribute" attribute: "BatteryChargingCurrent" response: @@ -295,7 +299,7 @@ tests: type: uint32 - label: "Test Harness Client reads ActiveBatChargeFaults from Server DUT" - PICS: PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001e command: "readAttribute" attribute: "ActiveBatteryChargeFaults" response: diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index d28e7caf968208..a6306b71cf6fc5 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 33.2.2. [TC-PRS-2.2] Primary functionality with server as DUT +name: 62.2.2. [TC-PS-2.2] Event reporting with server as DUT config: nodeId: 0x12344321 @@ -27,11 +27,13 @@ tests: disabled: true - label: "Bring the DUT into a state without any wired faults." + PICS: PS.S.A000a verification: | disabled: true - label: "TH reads the ActiveWiredFaults attribute from the DUT" + PICS: PS.S.A000a verification: | ./chip-tool powersource read active-wired-faults 1 1 @@ -40,6 +42,7 @@ tests: disabled: true - label: "Set up subscription to WiredFaultChange event" + PICS: PS.S.E00 verification: | ./chip-tool interactive start @@ -68,11 +71,13 @@ tests: disabled: true - label: "Bring the DUT into a wired fault state." + PICS: PS.S.E00 verification: | DUT ACTION REQUIRED disabled: true - label: "TH reads the ActiveWiredFaults attribute from the DUT" + PICS: PS.S.A000a verification: | ./chip-tool powersource read active-wired-faults 1 1 @@ -81,16 +86,19 @@ tests: disabled: true - label: "Bring the DUT back into a clean state." + PICS: PS.S.E00 verification: | DUT ACTION REQUIRED disabled: true - label: "Bring the DUT into a state without any battery faults." + PICS: PS.S.A0012 verification: | disabled: true - label: "TH reads the ActiveBatFaults attribute from the DUT" + PICS: PS.S.A0012 verification: | ./apps/chip-tool powersource read active-battery-faults 12345 1 @@ -99,6 +107,7 @@ tests: disabled: true - label: "Set up subscription to BatFaultChange event" + PICS: PS.S.E01 verification: | ./chip-tool interactive start powersource subscribe-event-by-id 0 100 1 1 @@ -126,11 +135,13 @@ tests: disabled: true - label: "Bring the DUT into a battery fault state." + PICS: PS.S.E01 verification: | DUT ACTION REQUIRED disabled: true - label: "TH reads the ActiveBatFaults attribute from the DUT" + PICS: PS.S.A0012 verification: | ./chip-tool powersource read active-battery-faults 1 1 @@ -138,16 +149,19 @@ tests: disabled: true - label: "Bring the DUT back into a clean state." + PICS: PS.S.E01 verification: | DUT ACTION REQUIRED disabled: true - label: "Bring the DUT into a state without any charge faults." + PICS: PS.S.A001e verification: | disabled: true - label: "TH reads the ActiveBatChargeFaults attribute from the DUT" + PICS: PS.S.A001e verification: | ./chip-tool powersource read active-battery-charge-faults 1 1 @@ -155,6 +169,7 @@ tests: disabled: true - label: "Set up subscription to BatChargeFaultChange event" + PICS: PS.S.E02 verification: | ./chip-tool interactive start @@ -184,11 +199,13 @@ tests: disabled: true - label: "Bring the DUT into a charge fault state." + PICS: PS.S.E02 verification: | DUT ACTION REQUIRED disabled: true - label: "TH reads the ActiveBatChargeFaults attribute from the DUT" + PICS: PS.S.A001e verification: | ./apps/chip-tool powersource read active-battery-charge-faults 1 1 @@ -196,6 +213,7 @@ tests: disabled: true - label: "Bring the DUT back into a clean state." + PICS: PS.S.E02 verification: | DUT ACTION REQUIRED disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml index 2f11fb6a717820..b73bb666c964a3 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 60.3.1. [TC-PS-3.1] Attributes with client as DUT +name: 62.3.1. [TC-PS-3.1] Attributes with client as DUT config: nodeId: 0x12344321 @@ -22,10 +22,12 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | On TestHarnes (all-cluster-app) a received read of Staus attribute (id 0) looks like this: + ./chip-tool powersource read status 1 1 + [1646155382.977445][33190:33190] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:685127 on exchange 16568r [1646155382.977534][33190:33190] CHIP:EM: Handling via exchange: 16568r, Delegate: 0xaaaace1730c8 @@ -51,25 +53,159 @@ tests: [1646155382.979729][33190:33190] CHIP:DMG: Reading attribute: Cluster=0x0000_002F Endpoint=1 AttributeId=0x0000_0000 (expanded=0) [1646155382.979764][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_002F e=1 p=v [1646010346.974150][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + + ./chip-tool powersource read order 1 1 + [1653395573.862606][19412:19412] CHIP:IM: Received Read request + [1653395573.862690][19412:19412] CHIP:DMG: ReadRequestMessage = + [1653395573.862739][19412:19412] CHIP:DMG: { + [1653395573.862779][19412:19412] CHIP:DMG: AttributePathIBs = + [1653395573.862827][19412:19412] CHIP:DMG: [ + [1653395573.862872][19412:19412] CHIP:DMG: AttributePathIB = + [1653395573.862928][19412:19412] CHIP:DMG: { + [1653395573.862980][19412:19412] CHIP:DMG: Endpoint = 0x1, + [1653395573.863037][19412:19412] CHIP:DMG: Cluster = 0x2f, + [1653395573.863101][19412:19412] CHIP:DMG: Attribute = 0x0000_0001, + [1653395573.863161][19412:19412] CHIP:DMG: } + [1653395573.863217][19412:19412] CHIP:DMG: + [1653395573.863267][19412:19412] CHIP:DMG: ], + [1653395573.863319][19412:19412] CHIP:DMG: + [1653395573.863367][19412:19412] CHIP:DMG: isFabricFiltered = true, + [1653395573.863413][19412:19412] CHIP:DMG: InteractionModelRevision = 1 + [1653395573.863456][19412:19412] CHIP:DMG: }, + [1653395573.863589][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports] + [1653395573.863720][19412:19412] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 + + ./chip-tool powersource read description 1 1 + + CHIP:IM: Received Read request + [1653395620.020314][19412:19412] CHIP:DMG: ReadRequestMessage = + [1653395620.020364][19412:19412] CHIP:DMG: { + [1653395620.020406][19412:19412] CHIP:DMG: AttributePathIBs = + [1653395620.020463][19412:19412] CHIP:DMG: [ + [1653395620.020511][19412:19412] CHIP:DMG: AttributePathIB = + [1653395620.020576][19412:19412] CHIP:DMG: { + [1653395620.020635][19412:19412] CHIP:DMG: Endpoint = 0x1, + [1653395620.020703][19412:19412] CHIP:DMG: Cluster = 0x2f, + [1653395620.020770][19412:19412] CHIP:DMG: Attribute = 0x0000_0002, + [1653395620.020833][19412:19412] CHIP:DMG: } + [1653395620.020893][19412:19412] CHIP:DMG: + [1653395620.020945][19412:19412] CHIP:DMG: ], + [1653395620.020999][19412:19412] CHIP:DMG: + [1653395620.021052][19412:19412] CHIP:DMG: isFabricFiltered = true, + [1653395620.021104][19412:19412] CHIP:DMG: InteractionModelRevision = 1 + [1653395620.021153][19412:19412] CHIP:DMG: }, + [1653395620.021252][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports] disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in + "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - see above + No optional attribute is implemented disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | No writable attributes disabled: true - label: "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" + verification: | + No writable attributes + disabled: true + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again" + verification: | + "On TestHarnes (all-cluster-app) a received read of Staus attribute (id 0) looks like this: + ./chip-tool powersource read status 1 1 + + + [1646155382.977445][33190:33190] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:685127 on exchange 16568r + [1646155382.977534][33190:33190] CHIP:EM: Handling via exchange: 16568r, Delegate: 0xaaaace1730c8 + [1646155382.978021][33190:33190] CHIP:IM: Received Read request + [1646155382.978109][33190:33190] CHIP:DMG: ReadRequestMessage = + [1646155382.978143][33190:33190] CHIP:DMG: { + [1646155382.978167][33190:33190] CHIP:DMG: AttributePathIBs = + [1646155382.978204][33190:33190] CHIP:DMG: [ + [1646155382.978309][33190:33190] CHIP:DMG: AttributePathIB = + [1646155382.978369][33190:33190] CHIP:DMG: { + [1646155382.978408][33190:33190] CHIP:DMG: Endpoint = 0x1, + [1646155382.978459][33190:33190] CHIP:DMG: Cluster = 0x2f, + [1646155382.978513][33190:33190] CHIP:DMG: Attribute = 0x0000_0000, + [1646155382.978545][33190:33190] CHIP:DMG: } + [1646155382.978767][33190:33190] CHIP:DMG: + [1646155382.978804][33190:33190] CHIP:DMG: ], + [1646155382.978836][33190:33190] CHIP:DMG: + [1646155382.978872][33190:33190] CHIP:DMG: isFabricFiltered = false, + [1646155382.978901][33190:33190] CHIP:DMG: InteractionModelRevision = 1 + [1646155382.978927][33190:33190] CHIP:DMG: }, + [1646155382.978998][33190:33190] CHIP:DMG: IM RH moving to [GeneratingReports] + [1646155382.979658][33190:33190] CHIP:DMG: Cluster 2f, Attribute 0 is dirty + [1646155382.979729][33190:33190] CHIP:DMG: Reading attribute: Cluster=0x0000_002F Endpoint=1 AttributeId=0x0000_0000 (expanded=0) + [1646155382.979764][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_002F e=1 p=v + [1646010346.974150][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=v + + ./chip-tool powersource read order 1 1 + [1653395573.862606][19412:19412] CHIP:IM: Received Read request + [1653395573.862690][19412:19412] CHIP:DMG: ReadRequestMessage = + [1653395573.862739][19412:19412] CHIP:DMG: { + [1653395573.862779][19412:19412] CHIP:DMG: AttributePathIBs = + [1653395573.862827][19412:19412] CHIP:DMG: [ + [1653395573.862872][19412:19412] CHIP:DMG: AttributePathIB = + [1653395573.862928][19412:19412] CHIP:DMG: { + [1653395573.862980][19412:19412] CHIP:DMG: Endpoint = 0x1, + [1653395573.863037][19412:19412] CHIP:DMG: Cluster = 0x2f, + [1653395573.863101][19412:19412] CHIP:DMG: Attribute = 0x0000_0001, + [1653395573.863161][19412:19412] CHIP:DMG: } + [1653395573.863217][19412:19412] CHIP:DMG: + [1653395573.863267][19412:19412] CHIP:DMG: ], + [1653395573.863319][19412:19412] CHIP:DMG: + [1653395573.863367][19412:19412] CHIP:DMG: isFabricFiltered = true, + [1653395573.863413][19412:19412] CHIP:DMG: InteractionModelRevision = 1 + [1653395573.863456][19412:19412] CHIP:DMG: }, + [1653395573.863589][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports] + [1653395573.863720][19412:19412] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 + + ./chip-tool powersource read description 1 1 + + CHIP:IM: Received Read request + [1653395620.020314][19412:19412] CHIP:DMG: ReadRequestMessage = + [1653395620.020364][19412:19412] CHIP:DMG: { + [1653395620.020406][19412:19412] CHIP:DMG: AttributePathIBs = + [1653395620.020463][19412:19412] CHIP:DMG: [ + [1653395620.020511][19412:19412] CHIP:DMG: AttributePathIB = + [1653395620.020576][19412:19412] CHIP:DMG: { + [1653395620.020635][19412:19412] CHIP:DMG: Endpoint = 0x1, + [1653395620.020703][19412:19412] CHIP:DMG: Cluster = 0x2f, + [1653395620.020770][19412:19412] CHIP:DMG: Attribute = 0x0000_0002, + [1653395620.020833][19412:19412] CHIP:DMG: } + [1653395620.020893][19412:19412] CHIP:DMG: + [1653395620.020945][19412:19412] CHIP:DMG: ], + [1653395620.020999][19412:19412] CHIP:DMG: + [1653395620.021052][19412:19412] CHIP:DMG: isFabricFiltered = true, + [1653395620.021104][19412:19412] CHIP:DMG: InteractionModelRevision = 1 + [1653395620.021153][19412:19412] CHIP:DMG: }, + [1653395620.021252][19412:19412] CHIP:DMG: IM RH moving to [GeneratingReports]" + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + No optional attribute is implemented + disabled: true + + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" verification: | No writable attributes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml index 6e8032fb73e4ae..eaa21fc192d4de 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_3_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 42.3.2. [TC-TSAT-3.2] Functionality with client as DUT +name: 41.3.2. [TC-TSTAT-3.2] Functionality with client as DUT config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml index 2d20fa3004d283..74ca11d1c5f04a 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml @@ -29,6 +29,7 @@ tests: value: nodeId - label: "Read the mandatory attribute: TemperatureDisplayMode" + PICS: TSUIC.S.A0000 command: "readAttribute" attribute: "temperature display mode" response: @@ -38,6 +39,7 @@ tests: maxValue: 1 - label: "Read the mandatory attribute: KeypadLockout" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" response: @@ -47,6 +49,7 @@ tests: maxValue: 5 - label: "Read the optional attribute: ScheduleProgrammingVisibility" + PICS: TSUIC.S.A0002 command: "readAttribute" attribute: "schedule programming visibility" response: 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 e4542a229f76d7..bd11c9f5e0fd53 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 @@ -29,9 +29,9 @@ tests: value: nodeId - label: "Writes a value of 0 to TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 0 @@ -47,16 +47,16 @@ tests: value: "y" - label: "TH reads the TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "readAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 0 - label: "Writes a value of 1 to TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 1 @@ -72,34 +72,34 @@ tests: value: "y" - label: "TH reads the TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "readAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE response: value: 1 - label: "Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE arguments: value: 2 response: error: CONSTRAINT_ERROR - label: "TH reads the TemperatureDisplayMode attribute of DUT" + PICS: TSUIC.S.A0000 command: "readAttribute" attribute: "temperature display mode" - PICS: A_TEMPERATURE_DISPLAY_MODE response: value: 1 - label: "Writes a value of 0 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 0 @@ -115,16 +115,16 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 0 - label: "Writes a value of 1 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 1 @@ -140,16 +140,16 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 1 - label: "Writes a value of 2 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 2 @@ -165,16 +165,16 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 2 - label: "Writes a value of 3 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 3 @@ -190,16 +190,16 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 3 - label: "Writes a value of 4 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 4 @@ -215,16 +215,16 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 4 - label: "Writes a value of 5 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 5 @@ -240,34 +240,34 @@ tests: value: "y" - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 5 - label: "Writes a value of greater than 5 to KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT arguments: value: 6 response: error: CONSTRAINT_ERROR - label: "TH reads the KeypadLockout attribute of DUT" + PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "keypad lockout" - PICS: A_KEYPAD_LOCKOUT response: value: 5 - label: "Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 0 @@ -285,17 +285,17 @@ tests: value: "y" - label: "TH reads the ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0002 command: "readAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY response: value: 0 - label: "Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0002 command: "writeAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 1 @@ -313,26 +313,26 @@ tests: value: "y" - label: "TH reads the ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0002 command: "readAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY response: value: 1 - label: "Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0002 command: "writeAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY arguments: value: 2 response: error: CONSTRAINT_ERROR - label: "TH reads the ScheduleProgrammingVisibility attribute of DUT" + PICS: TSUIC.S.A0002 command: "readAttribute" attribute: "schedule programming visibility" - PICS: A_SCHEDULE_PROGRAMMING_VISIBILITY response: value: 1 diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml index 136dc9e5e6d5f4..ffad9e801b272e 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 12.3.1. [TC-TSUIC-3.1] Attributes with client as DUT +name: 13.3.1. [TC-TSUIC-3.1] Attributes with client as DUT config: nodeId: 0x12344321 @@ -22,82 +22,277 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | On TestHarnes (all-cluster-app) a received read of the TemperatureDisplayMode attribute (id 0) looks like this: - [1646160935.509019][33190:33190] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:16016787 on exchange 34750r - [1646160935.509071][33190:33190] CHIP:EM: Handling via exchange: 34750r, Delegate: 0xaaaace1730c8 - [1646160935.509632][33190:33190] CHIP:IM: Received Read request - [1646160935.509731][33190:33190] CHIP:DMG: ReadRequestMessage = - [1646160935.509771][33190:33190] CHIP:DMG: { - [1646160935.509800][33190:33190] CHIP:DMG: AttributePathIBs = - [1646160935.509834][33190:33190] CHIP:DMG: [ - [1646160935.509868][33190:33190] CHIP:DMG: AttributePathIB = - [1646160935.509912][33190:33190] CHIP:DMG: { - [1646160935.509951][33190:33190] CHIP:DMG: Endpoint = 0x1, - [1646160935.509995][33190:33190] CHIP:DMG: Cluster = 0x204, - [1646160935.510038][33190:33190] CHIP:DMG: Attribute = 0x0000_0000, - [1646160935.510077][33190:33190] CHIP:DMG: } - [1646160935.510115][33190:33190] CHIP:DMG: - [1646160935.510148][33190:33190] CHIP:DMG: ], - [1646160935.510185][33190:33190] CHIP:DMG: - [1646160935.510221][33190:33190] CHIP:DMG: isFabricFiltered = false, - [1646160935.510255][33190:33190] CHIP:DMG: InteractionModelRevision = 1 - [1646160935.510285][33190:33190] CHIP:DMG: }, - [1646160935.510371][33190:33190] CHIP:DMG: IM RH moving to [GeneratingReports] - [1646160935.510982][33190:33190] CHIP:DMG: Cluster 204, Attribute 0 is dirty - [1646160935.511047][33190:33190] CHIP:DMG: Reading attribute: Cluster=0x0000_0204 Endpoint=1 AttributeId=0x0000_0000 (expanded=0) - [1646160935.511083][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=v + ./chip-tool thermostatuserinterfaceconfiguration read temperature-display-mode 12345 1 + + verify that you see something like this: + + [1650966000.959191][11186:11191] CHIP:DMG: ReportDataMessage = + [1650966000.959287][11186:11191] CHIP:DMG: { + [1650966000.959338][11186:11191] CHIP:DMG: AttributeReportIBs = + [1650966000.959390][11186:11191] CHIP:DMG: [ + [1650966000.959430][11186:11191] CHIP:DMG: AttributeReportIB = + [1650966000.959504][11186:11191] CHIP:DMG: { + [1650966000.959548][11186:11191] CHIP:DMG: AttributeDataIB = + [1650966000.959613][11186:11191] CHIP:DMG: { + [1650966000.959682][11186:11191] CHIP:DMG: DataVersion = 0x90d9261a, + [1650966000.959736][11186:11191] CHIP:DMG: AttributePathIB = + [1650966000.959803][11186:11191] CHIP:DMG: { + [1650966000.959861][11186:11191] CHIP:DMG: Endpoint = 0x1, + [1650966000.959934][11186:11191] CHIP:DMG: Cluster = 0x204, + [1650966000.960001][11186:11191] CHIP:DMG: Attribute = 0x0000_0000, + [1650966000.960055][11186:11191] CHIP:DMG: } + [1650966000.960128][11186:11191] CHIP:DMG: + [1650966000.960191][11186:11191] CHIP:DMG: Data = 0, + [1650966000.960259][11186:11191] CHIP:DMG: }, + [1650966000.960328][11186:11191] CHIP:DMG: + [1650966000.960374][11186:11191] CHIP:DMG: }, + [1650966000.960441][11186:11191] CHIP:DMG: + [1650966000.960481][11186:11191] CHIP:DMG: ], + [1650966000.960545][11186:11191] CHIP:DMG: + [1650966000.960588][11186:11191] CHIP:DMG: SuppressResponse = true, + [1650966000.960645][11186:11191] CHIP:DMG: InteractionModelRevision = 1 + [1650966000.960684][11186:11191] CHIP:DMG: } + [1650966000.960934][11186:11191] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0000 DataVersion: 2430150170 + [1650966000.961031][11186:11191] CHIP:TOO: temperature display mode: 0 + + + + + ./chip-tool thermostatuserinterfaceconfiguration read keypad-lockout 12345 1 + + verify that you see something like this: + [1650966035.736227][11195:11200] CHIP:DMG: ReportDataMessage = + [1650966035.736277][11195:11200] CHIP:DMG: { + [1650966035.736317][11195:11200] CHIP:DMG: AttributeReportIBs = + [1650966035.736374][11195:11200] CHIP:DMG: [ + [1650966035.736419][11195:11200] CHIP:DMG: AttributeReportIB = + [1650966035.736484][11195:11200] CHIP:DMG: { + [1650966035.736532][11195:11200] CHIP:DMG: AttributeDataIB = + [1650966035.736589][11195:11200] CHIP:DMG: { + [1650966035.736649][11195:11200] CHIP:DMG: DataVersion = 0x90d9261a, + [1650966035.736708][11195:11200] CHIP:DMG: AttributePathIB = + [1650966035.736770][11195:11200] CHIP:DMG: { + [1650966035.736832][11195:11200] CHIP:DMG: Endpoint = 0x1, + [1650966035.736892][11195:11200] CHIP:DMG: Cluster = 0x204, + [1650966035.736962][11195:11200] CHIP:DMG: Attribute = 0x0000_0001, + [1650966035.737028][11195:11200] CHIP:DMG: } + [1650966035.737092][11195:11200] CHIP:DMG: + [1650966035.737155][11195:11200] CHIP:DMG: Data = 0, + [1650966035.737216][11195:11200] CHIP:DMG: }, + [1650966035.737279][11195:11200] CHIP:DMG: + [1650966035.737328][11195:11200] CHIP:DMG: }, + [1650966035.737387][11195:11200] CHIP:DMG: + [1650966035.737431][11195:11200] CHIP:DMG: ], + [1650966035.737486][11195:11200] CHIP:DMG: + [1650966035.737532][11195:11200] CHIP:DMG: SuppressResponse = true, + [1650966035.737579][11195:11200] CHIP:DMG: InteractionModelRevision = 1 + [1650966035.737622][11195:11200] CHIP:DMG: } + [1650966035.737848][11195:11200] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_0001 DataVersion: 2430150170 + [1650966035.737952][11195:11200] CHIP:TOO: keypad lockout: 0" disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in + "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - see above + ./chip-tool thermostatuserinterfaceconfiguration read schedule-programming-visibility 1 1 + + [1654689278.722504][8215:8215] CHIP:DMG: ReadRequestMessage = + [1654689278.722531][8215:8215] CHIP:DMG: { + [1654689278.722552][8215:8215] CHIP:DMG: AttributePathIBs = + [1654689278.722578][8215:8215] CHIP:DMG: [ + [1654689278.722602][8215:8215] CHIP:DMG: AttributePathIB = + [1654689278.722638][8215:8215] CHIP:DMG: { + [1654689278.722667][8215:8215] CHIP:DMG: Endpoint = 0x1, + [1654689278.722703][8215:8215] CHIP:DMG: Cluster = 0x204, + [1654689278.722739][8215:8215] CHIP:DMG: Attribute = 0x0000_0002, + [1654689278.722766][8215:8215] CHIP:DMG: } + [1654689278.722792][8215:8215] CHIP:DMG: + [1654689278.722814][8215:8215] CHIP:DMG: ], + [1654689278.722843][8215:8215] CHIP:DMG: + [1654689278.722870][8215:8215] CHIP:DMG: isFabricFiltered = true, + [1654689278.722895][8215:8215] CHIP:DMG: InteractionModelRevision = 1 + [1654689278.722919][8215:8215] CHIP:DMG: }, + [1654689278.723033][8215:8215] CHIP:DMG: IM RH moving to [GeneratingReports] + [1654689278.723134][8215:8215] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | On TestHarnes (all-cluster-app) a received write request looks like this (f.e TemperatureDisplayMode (id 0) value 1): - [1646160997.869977][33190:33190] CHIP:EM: Received message of type 0x6 with protocolId (0, 1) and MessageCounter:372309 on exchange 57309r - [1646160997.870023][33190:33190] CHIP:EM: Handling via exchange: 57309r, Delegate: 0xaaaace1730c8 - [1646160997.870554][33190:33190] CHIP:IM: Received Write request - [1646160997.870609][33190:33190] CHIP:DMG: IM WH moving to [Initialized] - [1646160997.870676][33190:33190] CHIP:DMG: WriteRequestMessage = - [1646160997.870711][33190:33190] CHIP:DMG: { - [1646160997.870738][33190:33190] CHIP:DMG: timedRequest = false, - [1646160997.870771][33190:33190] CHIP:DMG: AttributeDataIBs = - [1646160997.870810][33190:33190] CHIP:DMG: [ - [1646160997.870840][33190:33190] CHIP:DMG: AttributeDataIB = - [1646160997.870877][33190:33190] CHIP:DMG: { - [1646160997.870912][33190:33190] CHIP:DMG: AttributePathIB = - [1646160997.870952][33190:33190] CHIP:DMG: { - [1646160997.870995][33190:33190] CHIP:DMG: Endpoint = 0x1, - [1646160997.871040][33190:33190] CHIP:DMG: Cluster = 0x204, - [1646160997.871083][33190:33190] CHIP:DMG: Attribute = 0x0000_0000, - [1646160997.871121][33190:33190] CHIP:DMG: } - [1646160997.871161][33190:33190] CHIP:DMG: - [1646160997.871204][33190:33190] CHIP:DMG: Data = 1, - [1646160997.871278][33190:33190] CHIP:DMG: }, - [1646160997.871320][33190:33190] CHIP:DMG: - [1646160997.871350][33190:33190] CHIP:DMG: ], - [1646160997.871385][33190:33190] CHIP:DMG: - [1646160997.871416][33190:33190] CHIP:DMG: moreChunkedMessages = false, - [1646160997.871447][33190:33190] CHIP:DMG: InteractionModelRevision = 1 - [1646160997.871475][33190:33190] CHIP:DMG: }, - [1646160997.871571][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0204 e=1 p=o - [1646160997.871635][33190:33190] CHIP:DMG: Endpoint 1, Cluster 0x0000_0204 update version to ed28a81d + ./chip-tool thermostatuserinterfaceconfiguration write temperature-display-mode 1 1 1 + + [1649674212.150303][2241:2241] CHIP:DMG: WriteRequestMessage = + [1649674212.150341][2241:2241] CHIP:DMG: { + [1649674212.150375][2241:2241] CHIP:DMG: suppressResponse = false, + [1649674212.150414][2241:2241] CHIP:DMG: timedRequest = false, + [1649674212.150464][2241:2241] CHIP:DMG: AttributeDataIBs = + [1649674212.150509][2241:2241] CHIP:DMG: [ + [1649674212.150558][2241:2241] CHIP:DMG: AttributeDataIB = + [1649674212.150616][2241:2241] CHIP:DMG: { + [1649674212.150656][2241:2241] CHIP:DMG: AttributePathIB = + [1649674212.150714][2241:2241] CHIP:DMG: { + [1649674212.150766][2241:2241] CHIP:DMG: Endpoint = 0x1, + [1649674212.150830][2241:2241] CHIP:DMG: Cluster = 0x204, + [1649674212.150893][2241:2241] CHIP:DMG: Attribute = 0x0000_0000, + [1649674212.150945][2241:2241] CHIP:DMG: } + [1649674212.151007][2241:2241] CHIP:DMG: + [1649674212.151057][2241:2241] CHIP:DMG: Data = 1, + [1649674212.151114][2241:2241] CHIP:DMG: }, + [1649674212.151199][2241:2241] CHIP:DMG: + [1649674212.151239][2241:2241] CHIP:DMG: ], + [1649674212.151284][2241:2241] CHIP:DMG: + [1649674212.151333][2241:2241] CHIP:DMG: moreChunkedMessages = false, + [1649674212.151371][2241:2241] CHIP:DMG: InteractionModelRevision = 1 + [1649674212.151417][2241:2241] CHIP:DMG: }, + + + + ./chip-tool thermostatuserinterfaceconfiguration write keypad-lockout 1 1 1 + [1649674352.430976][2241:2241] CHIP:DMG: WriteRequestMessage = + [1649674352.431028][2241:2241] CHIP:DMG: { + [1649674352.431064][2241:2241] CHIP:DMG: suppressResponse = false, + [1649674352.431116][2241:2241] CHIP:DMG: timedRequest = false, + [1649674352.431153][2241:2241] CHIP:DMG: AttributeDataIBs = + [1649674352.431227][2241:2241] CHIP:DMG: [ + [1649674352.431277][2241:2241] CHIP:DMG: AttributeDataIB = + [1649674352.431342][2241:2241] CHIP:DMG: { + [1649674352.431382][2241:2241] CHIP:DMG: AttributePathIB = + [1649674352.431440][2241:2241] CHIP:DMG: { + [1649674352.431491][2241:2241] CHIP:DMG: Endpoint = 0x1, + [1649674352.431555][2241:2241] CHIP:DMG: Cluster = 0x204, + [1649674352.431618][2241:2241] CHIP:DMG: Attribute = 0x0000_0001, + [1649674352.431665][2241:2241] CHIP:DMG: } + [1649674352.431728][2241:2241] CHIP:DMG: + [1649674352.431778][2241:2241] CHIP:DMG: Data = 1, + [1649674352.431823][2241:2241] CHIP:DMG: }, + [1649674352.431883][2241:2241] CHIP:DMG: + [1649674352.431919][2241:2241] CHIP:DMG: ], + [1649674352.431975][2241:2241] CHIP:DMG: + [1649674352.432012][2241:2241] CHIP:DMG: moreChunkedMessages = false, + [1649674352.432062][2241:2241] CHIP:DMG: InteractionModelRevision = 1 + [1649674352.432097][2241:2241] CHIP:DMG: }, disabled: true - label: "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" + verification: | + ./chip-tool thermostatuserinterfaceconfiguration write schedule-programming-visibility 1 1 1 + + + [1649673609.998586][2338:2344] CHIP:DMG: AttributePathIB = + [1649673609.998644][2338:2344] CHIP:DMG: { + [1649673609.998690][2338:2344] CHIP:DMG: Endpoint = 0x1, + [1649673609.998748][2338:2344] CHIP:DMG: Cluster = 0x204, + [1649673609.998805][2338:2344] CHIP:DMG: Attribute = 0x0000_0002, + [1649673609.998844][2338:2344] CHIP:DMG: } + [1649673609.998902][2338:2344] CHIP:DMG: + [1649673609.998945][2338:2344] CHIP:DMG: StatusIB = + [1649673609.999000][2338:2344] CHIP:DMG: { + [1649673609.999057][2338:2344] CHIP:DMG: status = 0x00 (SUCCESS), + [1649673609.999101][2338:2344] CHIP:DMG: }, + disabled: true + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again" verification: | - see above + ./chip-tool thermostatuserinterfaceconfiguration read attribute-list 1 1 + [1654248197885] [91899:4015040] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0204 Attribute 0x0000_FFFB DataVersion: 2039959817 + [1654248197885] [91899:4015040] CHIP: [TOO] AttributeList: 7 entries + [1654248197885] [91899:4015040] CHIP: [TOO] [1]: 0 + [1654248197885] [91899:4015040] CHIP: [TOO] [2]: 1 + [1654248197885] [91899:4015040] CHIP: [TOO] [3]: 65528 + [1654248197885] [91899:4015040] CHIP: [TOO] [4]: 65529 + [1654248197885] [91899:4015040] CHIP: [TOO] [5]: 65531 + [1654248197885] [91899:4015040] CHIP: [TOO] [6]: 65532 + [1654248197885] [91899:4015040] CHIP: [TOO] [7]: 65533 + + + + + + "On TestHarnes (all-cluster-app) a received write request looks like this (f.e TemperatureDisplayMode (id 0) value 1): + + ./chip-tool thermostatuserinterfaceconfiguration write temperature-display-mode 1 1 1 + + [1649674212.150303][2241:2241] CHIP:DMG: WriteRequestMessage = + [1649674212.150341][2241:2241] CHIP:DMG: { + [1649674212.150375][2241:2241] CHIP:DMG: suppressResponse = false, + [1649674212.150414][2241:2241] CHIP:DMG: timedRequest = false, + [1649674212.150464][2241:2241] CHIP:DMG: AttributeDataIBs = + [1649674212.150509][2241:2241] CHIP:DMG: [ + [1649674212.150558][2241:2241] CHIP:DMG: AttributeDataIB = + [1649674212.150616][2241:2241] CHIP:DMG: { + [1649674212.150656][2241:2241] CHIP:DMG: AttributePathIB = + [1649674212.150714][2241:2241] CHIP:DMG: { + [1649674212.150766][2241:2241] CHIP:DMG: Endpoint = 0x1, + [1649674212.150830][2241:2241] CHIP:DMG: Cluster = 0x204, + [1649674212.150893][2241:2241] CHIP:DMG: Attribute = 0x0000_0000, + [1649674212.150945][2241:2241] CHIP:DMG: } + [1649674212.151007][2241:2241] CHIP:DMG: + [1649674212.151057][2241:2241] CHIP:DMG: Data = 1, + [1649674212.151114][2241:2241] CHIP:DMG: }, + [1649674212.151199][2241:2241] CHIP:DMG: + [1649674212.151239][2241:2241] CHIP:DMG: ], + [1649674212.151284][2241:2241] CHIP:DMG: + [1649674212.151333][2241:2241] CHIP:DMG: moreChunkedMessages = false, + [1649674212.151371][2241:2241] CHIP:DMG: InteractionModelRevision = 1 + [1649674212.151417][2241:2241] CHIP:DMG: }, + + + + ./chip-tool thermostatuserinterfaceconfiguration write keypad-lockout 1 1 1 + [1649674352.430976][2241:2241] CHIP:DMG: WriteRequestMessage = + [1649674352.431028][2241:2241] CHIP:DMG: { + [1649674352.431064][2241:2241] CHIP:DMG: suppressResponse = false, + [1649674352.431116][2241:2241] CHIP:DMG: timedRequest = false, + [1649674352.431153][2241:2241] CHIP:DMG: AttributeDataIBs = + [1649674352.431227][2241:2241] CHIP:DMG: [ + [1649674352.431277][2241:2241] CHIP:DMG: AttributeDataIB = + [1649674352.431342][2241:2241] CHIP:DMG: { + [1649674352.431382][2241:2241] CHIP:DMG: AttributePathIB = + [1649674352.431440][2241:2241] CHIP:DMG: { + [1649674352.431491][2241:2241] CHIP:DMG: Endpoint = 0x1, + [1649674352.431555][2241:2241] CHIP:DMG: Cluster = 0x204, + [1649674352.431618][2241:2241] CHIP:DMG: Attribute = 0x0000_0001, + [1649674352.431665][2241:2241] CHIP:DMG: } + [1649674352.431728][2241:2241] CHIP:DMG: + [1649674352.431778][2241:2241] CHIP:DMG: Data = 1, + [1649674352.431823][2241:2241] CHIP:DMG: }, + [1649674352.431883][2241:2241] CHIP:DMG: + [1649674352.431919][2241:2241] CHIP:DMG: ], + [1649674352.431975][2241:2241] CHIP:DMG: + [1649674352.432012][2241:2241] CHIP:DMG: moreChunkedMessages = false, + [1649674352.432062][2241:2241] CHIP:DMG: InteractionModelRevision = 1 + [1649674352.432097][2241:2241] CHIP:DMG: }," + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + ./chip-tool thermostatuserinterfaceconfiguration read schedule-programming-visibility 1 1 + + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" + verification: | + ./chip-tool thermostatuserinterfaceconfiguration write schedule-programming-visibility 1 1 1 + + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index b542ddfa599303..62fbb5b98be9ec 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -19,19 +19,12 @@ A_RELATIVEHUMIDITY_TOLERANCE=1 MANUAL_RELATIVEHUMIDITY_CHANGE=1 A_TEMPERATURE=1 MANUAL_TEMPERATURE_CHANGE=1 -A_TEMPERATURE_DISPLAY_MODE=1 -A_KEYPAD_LOCKOUT=1 -A_SCHEDULE_PROGRAMMING_VISIBILITY=1 DGSW.S.E00=1 DGSW.S.A0001=1 DGSW.S.A0002=1 DGSW.S.A0003=1 DGSW.S.A0004=1 DGSW.S.C00=1 -A_OPERATIONMODE=1 -A_CONTROLMODE=1 -A_EFFECTIVEOPERATIONMODE=1 -A_EFFECTIVECONTROLMODE=1 A_OCCUPIEDCOOLINGSETPOINT=1 A_OCCUPIEDHEATINGSETPOINT=1 A_MINHEATSETPOINTLIMIT=1 @@ -201,7 +194,6 @@ CC.S.C41.Rsp=1 CC.S.C42.Rsp=1 CC.S.C43.Rsp=1 CC.S.C44.Rsp=1 -PRS.S.F00=0 CC.S.F00=1 CC.S.F01=1 CC.S.F02=1 @@ -434,6 +426,8 @@ PRS.S.A0011=0 PRS.S.A0012=0 PRS.S.A0013=0 PRS.S.A0014=0 +PRS.S.F00=0 +PRS.M.PressureChange=0 #Groups Cluster G.S.A0000=0 @@ -563,4 +557,107 @@ OTAC.C.M.NotifyUpdateApplied=1 #User Label ULABEL.S.A0000=1 #Fixed Label -FLABEL.S.A0000=1 \ No newline at end of file +FLABEL.S.A0000=1 +#Thermostat User Configuration Cluster +TSUIC.S.A0000=1 +TSUIC.S.A0001=1 +TSUIC.S.A0002=1 + +#Bridge +MCORE.BRIDGE=1 +MCORE.BRIDGE.BatInfo=1 +MCORE.BRIDGE.OtherControl=1 +MCORE.BRIDGE.AllowDeviceRename=1 + +#Bulk Data Exchange Protocol +MCORE.BDX.Driver=1 +MCORE.BDX.BlockQueryWithSkip=1 + +#General Diagnostics Cluster +DGGEN.S.A0000=1 +DGGEN.S.A0001=1 +DGGEN.S.A0002=1 +DGGEN.S.A0003=1 +DGGEN.S.A0004=1 +DGGEN.S.A0005=1 +DGGEN.S.A0006=1 +DGGEN.S.A0007=1 +DGGEN.S.A0008=1 +DGGEN.S.C00=1 +DGGEN.S.E00=1 +DGGEN.S.E01=1 +DGGEN.S.E02=1 +DGGEN.S.E03=1 + +#Flow Measurement Cluster +FLW.S.A0000=1 +FLW.S.A0001=1 +FLW.S.A0002=1 +FLW.S.A0003=1 +FLW.M.FlowChange=1 + +#Pump Configuration and Control +PCC.S.A0000=1 +PCC.S.A0001=1 +PCC.S.A0002=1 +PCC.S.A0003=1 +PCC.S.A0004=1 +PCC.S.A0005=1 +PCC.S.A0006=1 +PCC.S.A0007=1 +PCC.S.A0008=1 +PCC.S.A0009=1 +PCC.S.A000a=1 +PCC.S.A000b=1 +PCC.S.A000c=1 +PCC.S.A0010=1 +PCC.S.A0011=1 +PCC.S.A0012=1 +PCC.S.A0013=1 +PCC.S.A0014=1 +PCC.S.A0015=1 +PCC.S.A0016=1 +PCC.S.A0017=1 +PCC.S.A0020=1 +PCC.S.A0021=1 + +#Power Source Cluster +PS.S.A0000=1 +PS.S.A0001=1 +PS.S.A0002=1 +PS.S.A0003=1 +PS.S.A0004=1 +PS.S.A0005=1 +PS.S.A0006=1 +PS.S.A0007=1 +PS.S.A0008=1 +PS.S.A0009=1 +PS.S.A000a=1 +PS.S.A000b=1 +PS.S.A000c=1 +PS.S.A000d=1 +PS.S.A000e=1 +PS.S.A000f=1 +PS.S.A0010=1 +PS.S.A0011=1 +PS.S.A0012=1 +PS.S.A0013=1 +PS.S.A0014=1 +PS.S.A0015=1 +PS.S.A0016=1 +PS.S.A0017=1 +PS.S.A0018=1 +PS.S.A0019=1 +PS.S.A001a=1 +PS.S.A001b=1 +PS.S.A001c=1 +PS.S.A001d=1 +PS.S.A001e=1 +PS.S.E00=1 +PS.S.E01=1 +PS.S.E02=1 + +#Thermostat User Configuration Cluster +TSUIC.S.A0000=1 +TSUIC.S.A0001=1 +TSUIC.S.A0002=1 diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index 1c0753aa354ab0..1445964cde50a4 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -347,7 +347,6 @@ function getManualTests() { const PressureMeasurement = [ 'Test_TC_PRS_2_2', - 'Test_TC_PRS_2_3', 'Test_TC_PRS_3_1', ]; diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 0ea2ba019a2ae2..9c2c21f6ff14b2 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -478,7 +478,6 @@ class ManualTestList : public Command printf("Test_TC_OCC_3_1\n"); printf("Test_TC_OCC_3_2\n"); printf("Test_TC_PRS_2_2\n"); - printf("Test_TC_PRS_2_3\n"); printf("Test_TC_PRS_3_1\n"); printf("Test_TC_PS_2_2\n"); printf("Test_TC_PS_3_1\n"); @@ -10950,10 +10949,6 @@ class Test_TC_FLW_2_1Suite : public TestCommand } break; case 4: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint16_t value; @@ -10987,21 +10982,25 @@ class Test_TC_FLW_2_1Suite : public TestCommand } case 1: { LogStep(1, "Read the mandatory attribute: MeasuredValue"); + VerifyOrDo(!ShouldSkip("FLW.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::MeasuredValue::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Read the mandatory attribute: MinMeasuredValue"); + VerifyOrDo(!ShouldSkip("FLW.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::MinMeasuredValue::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Read the mandatory attribute: MaxMeasuredValue"); + VerifyOrDo(!ShouldSkip("FLW.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::MaxMeasuredValue::Id, true, chip::NullOptional); } case 4: { LogStep(4, "read the optional attribute: Tolerance"); + VerifyOrDo(!ShouldSkip("FLW.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::Tolerance::Id, true, chip::NullOptional); } @@ -11673,11 +11672,13 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand } case 1: { LogStep(1, "TH reads NetworkInterfaces structure attribute from DUT."); + VerifyOrDo(!ShouldSkip("DGGEN.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::NetworkInterfaces::Id, true, chip::NullOptional); } case 2: { LogStep(2, "TH reads a RebootCount attribute value from DUT."); + VerifyOrDo(!ShouldSkip("DGGEN.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::RebootCount::Id, true, chip::NullOptional); } @@ -11727,11 +11728,13 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand case 8: { LogStep(8, "DUT reboots and TH reads a UpTime attribute value of DUT since some arbitrary start time of DUT rebooting."); + VerifyOrDo(!ShouldSkip("DGGEN.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::UpTime::Id, true, chip::NullOptional); } case 9: { LogStep(9, "TH reads a TotalOperationalHours attribute value from DUT."); + VerifyOrDo(!ShouldSkip("DGGEN.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::TotalOperationalHours::Id, true, chip::NullOptional); } @@ -11762,12 +11765,13 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand } case 13: { LogStep(13, "TH reads BootReason attribute value from DUT."); + VerifyOrDo(!ShouldSkip("DGGEN.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), GeneralDiagnostics::Id, GeneralDiagnostics::Attributes::BootReasons::Id, true, chip::NullOptional); } case 14: { LogStep(14, "TH reads ActiveHardwareFaults attribute value from DUT."); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -11777,7 +11781,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand } case 15: { LogStep(15, "TH reads ActiveRadioFaults attribute value from DUT."); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -11787,7 +11791,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand } case 16: { LogStep(16, "TH reads ActiveNetworkFaults attribute value from DUT."); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -23426,183 +23430,187 @@ class Test_TC_PS_2_1Suite : public TestCommand } case 1: { LogStep(1, "Test Harness Client reads Status attribute from Server DUT"); + VerifyOrDo(!ShouldSkip("PS.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::Status::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Test Harness Client reads Order attribute from Server DUT"); + VerifyOrDo(!ShouldSkip("PS.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::Order::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Test Harness Client reads Description attribute from Server DUT"); + VerifyOrDo(!ShouldSkip("PS.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::Description::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputVoltage::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredAssessedInputFrequency::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Test Harness Client reads WiredCurrentType attribute from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredCurrentType::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Test Harness Client reads WiredAssessedCurrent attribute from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredAssessedCurrent::Id, true, chip::NullOptional); } case 8: { LogStep(8, "Test Harness Client reads WiredNominalVoltage from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredNominalVoltage::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Test Harness Client reads WiredMaximumCurrent from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredMaximumCurrent::Id, true, chip::NullOptional); } case 10: { LogStep(10, "Test Harness Client reads WiredPresent from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::WiredPresent::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Test Harness Client reads ActiveWiredFaults from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::ActiveWiredFaults::Id, true, chip::NullOptional); } case 12: { LogStep(12, "Test Harness Client reads BatVoltage from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryVoltage::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Test Harness Client reads BatPercentRemaining from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryPercentRemaining::Id, true, chip::NullOptional); } case 14: { LogStep(14, "Test Harness Client reads BatTimeRemaining from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryTimeRemaining::Id, true, chip::NullOptional); } case 15: { LogStep(15, "Test Harness Client reads BatChargeLevel from Server DUT"); + VerifyOrDo(!ShouldSkip("PS.S.A000e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryChargeLevel::Id, true, chip::NullOptional); } case 16: { LogStep(16, "Test Harness Client reads BatReplacementNeeded from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000f"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryReplacementNeeded::Id, true, chip::NullOptional); } case 17: { LogStep(17, "Test Harness Client reads BatReplaceability from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryReplaceability::Id, true, chip::NullOptional); } case 18: { LogStep(18, "Test Harness Client reads BatPresent from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryPresent::Id, true, chip::NullOptional); } case 19: { LogStep(19, "Test Harness Client readsActiveBatFaults from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::ActiveBatteryFaults::Id, true, chip::NullOptional); } case 20: { LogStep(20, "Test Harness Client reads BatReplacementDescription from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryReplacementDescription::Id, true, chip::NullOptional); } case 21: { LogStep(21, "Test Harness Client reads BatCommonDesignation from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryCommonDesignation::Id, true, chip::NullOptional); } case 22: { LogStep(22, "Test Harness Client reads BatANSIDesignation from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryANSIDesignation::Id, true, chip::NullOptional); } case 23: { LogStep(23, "Test Harness Client reads BatIECDesignation from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0016"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryIECDesignation::Id, true, chip::NullOptional); } case 24: { LogStep(24, "Test Harness Client reads BatApprovedChemistry from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryApprovedChemistry::Id, true, chip::NullOptional); } case 25: { LogStep(25, "Test Harness Client reads BatCapacity from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0018"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryCapacity::Id, true, chip::NullOptional); } case 26: { LogStep(26, "Test Harness Client reads BatQuantity from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0019"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryQuantity::Id, true, chip::NullOptional); } case 27: { LogStep(27, "Test Harness Client reads BatChargeState from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryChargeState::Id, true, chip::NullOptional); } case 28: { LogStep(28, "Test Harness Client reads BatTimeToFullCharge from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryTimeToFullCharge::Id, true, chip::NullOptional); } case 29: { LogStep(29, "Test Harness Client reads BatFunctionalWhileCharging from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryFunctionalWhileCharging::Id, true, chip::NullOptional); } case 30: { LogStep(30, "Test Harness Client reads BatChargingCurrent from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001d"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::BatteryChargingCurrent::Id, true, chip::NullOptional); } case 31: { LogStep(31, "Test Harness Client reads ActiveBatChargeFaults from Server DUT"); - VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001e"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PowerSource::Id, PowerSource::Attributes::ActiveBatteryChargeFaults::Id, true, chip::NullOptional); } @@ -24514,116 +24522,139 @@ class Test_TC_PCC_2_1Suite : public TestCommand } case 1: { LogStep(1, "Read the mandatory attribute: MaxPressure"); + VerifyOrDo(!ShouldSkip("PCC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxPressure::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Read the mandatory attribute: MaxSpeed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxSpeed::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Read the mandatory attribute: MaxFlow"); + VerifyOrDo(!ShouldSkip("PCC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxFlow::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Read the optional attribute: MinConstPressure"); + VerifyOrDo(!ShouldSkip("PCC.S.A0003"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MinConstPressure::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Read the optional attribute: MaxConstPressure"); + VerifyOrDo(!ShouldSkip("PCC.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxConstPressure::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Read the optional attribute: MinCompPressure"); + VerifyOrDo(!ShouldSkip("PCC.S.A0005"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MinCompPressure::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Read the optional attribute: MaxCompPressure"); + VerifyOrDo(!ShouldSkip("PCC.S.A0006"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxCompPressure::Id, true, chip::NullOptional); } case 8: { LogStep(8, "Read the optional attribute: MinConstSpeed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0007"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MinConstSpeed::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Read the optional attribute: MaxConstSpeed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0008"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxConstSpeed::Id, true, chip::NullOptional); } case 10: { LogStep(10, "Read the optional attribute: MinConstFlow"); + VerifyOrDo(!ShouldSkip("PCC.S.A0009"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MinConstFlow::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Read the optional attribute: MaxConstFlow"); + VerifyOrDo(!ShouldSkip("PCC.S.A000a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxConstFlow::Id, true, chip::NullOptional); } case 12: { LogStep(12, "Read the optional attribute: MinConstTemp"); + VerifyOrDo(!ShouldSkip("PCC.S.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MinConstTemp::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Read the optional attribute: MaxConstTemp"); + VerifyOrDo(!ShouldSkip("PCC.S.A000c"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::MaxConstTemp::Id, true, chip::NullOptional); } case 14: { LogStep(14, "Read the optional attribute: PumpStatus"); + VerifyOrDo(!ShouldSkip("PCC.S.A0010"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::PumpStatus::Id, true, chip::NullOptional); } case 15: { LogStep(15, "Read attribute: EffectiveOperationMode"); + VerifyOrDo(!ShouldSkip("PCC.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveOperationMode::Id, true, chip::NullOptional); } case 16: { LogStep(16, "Read attribute: EffectiveControlMode"); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 17: { LogStep(17, "Read attribute: Capacity"); + VerifyOrDo(!ShouldSkip("PCC.S.A0013"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::Capacity::Id, true, chip::NullOptional); } case 18: { LogStep(18, "Read the optional attribute: Speed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0014"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::Speed::Id, true, chip::NullOptional); } case 19: { LogStep(19, "Read the optional attribute: LifetimeRunningHours"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeRunningHours::Id, true, chip::NullOptional); } case 20: { LogStep(20, "Read the optional attribute: Power"); + VerifyOrDo(!ShouldSkip("PCC.S.A0016"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::Power::Id, true, chip::NullOptional); } case 21: { LogStep(21, "Read the optional attribute: LifetimeEnergyConsumed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::Id, true, chip::NullOptional); } case 22: { LogStep(22, "Read optional attribute: OperationMode"); + VerifyOrDo(!ShouldSkip("PCC.S.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::OperationMode::Id, true, chip::NullOptional); } case 23: { LogStep(23, "Read optional attribute: ControlMode"); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::ControlMode::Id, true, chip::NullOptional); } @@ -24729,7 +24760,7 @@ class Test_TC_PCC_2_2Suite : public TestCommand } case 1: { LogStep(1, "Write 1 to the OperationMode attribute to DUT: OperationMode"); - VerifyOrDo(!ShouldSkip("A_OPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpOperationMode value; value = static_cast(1); @@ -24739,13 +24770,13 @@ class Test_TC_PCC_2_2Suite : public TestCommand } case 2: { LogStep(2, "Reads the attribute: EffectiveOperationMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVEOPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveOperationMode::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Write 2 to the OperationMode attribute to DUT: OperationMode"); - VerifyOrDo(!ShouldSkip("A_OPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpOperationMode value; value = static_cast(2); @@ -24755,13 +24786,13 @@ class Test_TC_PCC_2_2Suite : public TestCommand } case 4: { LogStep(4, "Reads the attribute: EffectiveOperationMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVEOPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveOperationMode::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Write 3 to the OperationMode attribute to DUT: OperationMode"); - VerifyOrDo(!ShouldSkip("A_OPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpOperationMode value; value = static_cast(3); @@ -24771,7 +24802,7 @@ class Test_TC_PCC_2_2Suite : public TestCommand } case 6: { LogStep(6, "Reads the attribute: EffectiveOperationMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVEOPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveOperationMode::Id, true, chip::NullOptional); } @@ -24921,7 +24952,7 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 1: { LogStep(1, "Write 0 to the OperationMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_OPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0020"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpOperationMode value; value = static_cast(0); @@ -24931,13 +24962,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 2: { LogStep(2, "Reads the attribute: EffectiveOperationMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVEOPERATIONMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0011"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveOperationMode::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Write 0 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(0); @@ -24947,13 +24978,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 4: { LogStep(4, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Write 1 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(1); @@ -24963,13 +24994,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 6: { LogStep(6, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Write 2 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(2); @@ -24979,13 +25010,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 8: { LogStep(8, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Write 3 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(3); @@ -24995,13 +25026,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 10: { LogStep(10, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Write 5 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(5); @@ -25011,13 +25042,13 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 12: { LogStep(12, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } case 13: { LogStep(13, "Write 7 to the ControlMode attribute to DUT"); - VerifyOrDo(!ShouldSkip("A_CONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0021"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::PumpConfigurationAndControl::PumpControlMode value; value = static_cast(7); @@ -25027,7 +25058,7 @@ class Test_TC_PCC_2_3Suite : public TestCommand } case 14: { LogStep(14, "Reads the attribute: EffectiveControlMode"); - VerifyOrDo(!ShouldSkip("A_EFFECTIVECONTROLMODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PCC.S.A0012"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::EffectiveControlMode::Id, true, chip::NullOptional); } @@ -25172,6 +25203,7 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 1: { LogStep(1, "Write 1 to the LifetimeRunningHours attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25182,11 +25214,13 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 2: { LogStep(2, "Reads the attribute: LifetimeRunningHours"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeRunningHours::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Write 2 to the LifetimeRunningHours attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25197,11 +25231,13 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 4: { LogStep(4, "Reads the attribute: LifetimeRunningHours"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeRunningHours::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Write 3 to the LifetimeRunningHours attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25212,11 +25248,13 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 6: { LogStep(6, "Reads the attribute: LifetimeRunningHours"); + VerifyOrDo(!ShouldSkip("PCC.S.A0015"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeRunningHours::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Write 1 to the LifetimeEnergyConsumed attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25227,11 +25265,13 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 8: { LogStep(8, "Reads the attribute: LifetimeEnergyConsumed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Write 2 to the LifetimeEnergyConsumed attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25242,11 +25282,13 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 10: { LogStep(10, "Reads the attribute: LifetimeEnergyConsumed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::Id, true, chip::NullOptional); } case 11: { LogStep(11, "Write 3 to the LifetimeEnergyConsumed attribute to DUT"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::DataModel::Nullable value; value.SetNonNull(); @@ -25257,6 +25299,7 @@ class Test_TC_PCC_2_4Suite : public TestCommand } case 12: { LogStep(12, "Reads the attribute: LifetimeEnergyConsumed"); + VerifyOrDo(!ShouldSkip("PCC.S.A0017"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), PumpConfigurationAndControl::Id, PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::Id, true, chip::NullOptional); } @@ -29602,17 +29645,20 @@ class Test_TC_TSUIC_2_1Suite : public TestCommand } case 1: { LogStep(1, "Read the mandatory attribute: TemperatureDisplayMode"); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::Id, true, chip::NullOptional); } case 2: { LogStep(2, "Read the mandatory attribute: KeypadLockout"); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Read the optional attribute: ScheduleProgrammingVisibility"); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::Id, true, chip::NullOptional); @@ -29868,7 +29914,7 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 1: { LogStep(1, "Writes a value of 0 to TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 0U; @@ -29888,14 +29934,14 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 3: { LogStep(3, "TH reads the TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Writes a value of 1 to TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 1U; @@ -29915,14 +29961,14 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 6: { LogStep(6, "TH reads the TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::Id, true, chip::NullOptional); } case 7: { LogStep(7, "Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 2U; @@ -29932,14 +29978,14 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 8: { LogStep(8, "TH reads the TemperatureDisplayMode attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_TEMPERATURE_DISPLAY_MODE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::Id, true, chip::NullOptional); } case 9: { LogStep(9, "Writes a value of 0 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 0U; @@ -29959,13 +30005,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 11: { LogStep(11, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 12: { LogStep(12, "Writes a value of 1 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 1U; @@ -29985,13 +30031,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 14: { LogStep(14, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 15: { LogStep(15, "Writes a value of 2 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 2U; @@ -30011,13 +30057,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 17: { LogStep(17, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 18: { LogStep(18, "Writes a value of 3 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 3U; @@ -30037,13 +30083,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 20: { LogStep(20, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 21: { LogStep(21, "Writes a value of 4 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 4U; @@ -30063,13 +30109,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 23: { LogStep(23, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 24: { LogStep(24, "Writes a value of 5 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 5U; @@ -30089,13 +30135,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 26: { LogStep(26, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 27: { LogStep(27, "Writes a value of greater than 5 to KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 6U; @@ -30105,13 +30151,13 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 28: { LogStep(28, "TH reads the KeypadLockout attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_KEYPAD_LOCKOUT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::Id, true, chip::NullOptional); } case 29: { LogStep(29, "Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 0U; @@ -30131,14 +30177,14 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 31: { LogStep(31, "TH reads the ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::Id, true, chip::NullOptional); } case 32: { LogStep(32, "Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 1U; @@ -30158,14 +30204,14 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 34: { LogStep(34, "TH reads the ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::Id, true, chip::NullOptional); } case 35: { LogStep(35, "Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint8_t value; value = 2U; @@ -30175,7 +30221,7 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand } case 36: { LogStep(36, "TH reads the ScheduleProgrammingVisibility attribute of DUT"); - VerifyOrDo(!ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("TSUIC.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), ThermostatUserInterfaceConfiguration::Id, ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::Id, true, chip::NullOptional); @@ -78591,12 +78637,13 @@ class Test_TC_FLW_2_2Suite : public TestCommand } case 1: { LogStep(1, "read the mandatory attribute: MeasuredValue"); + VerifyOrDo(!ShouldSkip("FLW.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::MeasuredValue::Id, true, chip::NullOptional); } case 2: { LogStep(2, "operate on DUT to change the flow significantly"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && FLW.M.FlowChange"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -78606,6 +78653,7 @@ class Test_TC_FLW_2_2Suite : public TestCommand } case 3: { LogStep(3, "read the mandatory attribute: MeasuredValue"); + VerifyOrDo(!ShouldSkip("FLW.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), FlowMeasurement::Id, FlowMeasurement::Attributes::MeasuredValue::Id, true, chip::NullOptional); } @@ -79117,62 +79165,6 @@ class Test_TC_PRS_2_2Suite : public TestCommand } }; -class Test_TC_PRS_2_3Suite : public TestCommand -{ -public: - Test_TC_PRS_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_2_3", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_PRS_2_3Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - class Test_TC_PRS_3_1Suite : public TestCommand { public: @@ -87341,7 +87333,6 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index b0858c6aedf965..473388849bb5b0 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -18159,18 +18159,34 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Read the mandatory attribute: MeasuredValue\n"); + if (ShouldSkip("FLW.S.A0000")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMeasuredValue_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the mandatory attribute: MinMeasuredValue\n"); + if (ShouldSkip("FLW.S.A0001")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMinMeasuredValue_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read the mandatory attribute: MaxMeasuredValue\n"); + if (ShouldSkip("FLW.S.A0002")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMaxMeasuredValue_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : read the optional attribute: Tolerance\n"); + if (ShouldSkip("FLW.S.A0003")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeTolerance_4(); break; } @@ -18301,11 +18317,6 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { NSLog(@"read the optional attribute: Tolerance Error: %@", err); - if (err.code == MTRInteractionErrorCodeUnsupportedAttribute) { - NextTest(); - return; - } - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("tolerance", "", "uint16")); @@ -19231,10 +19242,18 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : TH reads NetworkInterfaces structure attribute from DUT.\n"); + if (ShouldSkip("DGGEN.S.A0000")) { + NextTest(); + return; + } err = TestThReadsNetworkInterfacesStructureAttributeFromDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : TH reads a RebootCount attribute value from DUT.\n"); + if (ShouldSkip("DGGEN.S.A0001")) { + NextTest(); + return; + } err = TestThReadsARebootCountAttributeValueFromDut_2(); break; case 3: @@ -19277,10 +19296,18 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 8 : DUT reboots and TH reads a UpTime attribute value of DUT since some arbitrary start time of " "DUT rebooting.\n"); + if (ShouldSkip("DGGEN.S.A0002")) { + NextTest(); + return; + } err = TestDutRebootsAndThReadsAUpTimeAttributeValueOfDutSinceSomeArbitraryStartTimeOfDutRebooting_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : TH reads a TotalOperationalHours attribute value from DUT.\n"); + if (ShouldSkip("DGGEN.S.A0003")) { + NextTest(); + return; + } err = TestThReadsATotalOperationalHoursAttributeValueFromDut_9(); break; case 10: @@ -19305,11 +19332,15 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : TH reads BootReason attribute value from DUT.\n"); + if (ShouldSkip("DGGEN.S.A0004")) { + NextTest(); + return; + } err = TestThReadsBootReasonAttributeValueFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : TH reads ActiveHardwareFaults attribute value from DUT.\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0005")) { NextTest(); return; } @@ -19317,7 +19348,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : TH reads ActiveRadioFaults attribute value from DUT.\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0006")) { NextTest(); return; } @@ -19325,7 +19356,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : TH reads ActiveNetworkFaults attribute value from DUT.\n"); - if (ShouldSkip("PICS_USER_PROMPT")) { + if (ShouldSkip("PICS_USER_PROMPT && DGGEN.S.A0007")) { NextTest(); return; } @@ -37662,20 +37693,32 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Test Harness Client reads Status attribute from Server DUT\n"); + if (ShouldSkip("PS.S.A0000")) { + NextTest(); + return; + } err = TestTestHarnessClientReadsStatusAttributeFromServerDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Test Harness Client reads Order attribute from Server DUT\n"); + if (ShouldSkip("PS.S.A0001")) { + NextTest(); + return; + } err = TestTestHarnessClientReadsOrderAttributeFromServerDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Test Harness Client reads Description attribute from Server DUT\n"); + if (ShouldSkip("PS.S.A0002")) { + NextTest(); + return; + } err = TestTestHarnessClientReadsDescriptionAttributeFromServerDut_3(); break; case 4: ChipLogProgress( chipTool, " ***** Test Step 4 : Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0003")) { NextTest(); return; } @@ -37684,7 +37727,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { case 5: ChipLogProgress( chipTool, " ***** Test Step 5 : Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0004")) { NextTest(); return; } @@ -37693,7 +37736,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { case 6: ChipLogProgress( chipTool, " ***** Test Step 6 : Test Harness Client reads WiredCurrentType attribute from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0005")) { NextTest(); return; } @@ -37702,7 +37745,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { case 7: ChipLogProgress( chipTool, " ***** Test Step 7 : Test Harness Client reads WiredAssessedCurrent attribute from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0006")) { NextTest(); return; } @@ -37710,7 +37753,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Test Harness Client reads WiredNominalVoltage from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0007")) { NextTest(); return; } @@ -37718,7 +37761,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Test Harness Client reads WiredMaximumCurrent from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0008")) { NextTest(); return; } @@ -37726,7 +37769,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Test Harness Client reads WiredPresent from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0009")) { NextTest(); return; } @@ -37734,7 +37777,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Test Harness Client reads ActiveWiredFaults from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000a")) { NextTest(); return; } @@ -37742,7 +37785,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Test Harness Client reads BatVoltage from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000b")) { NextTest(); return; } @@ -37750,7 +37793,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Test Harness Client reads BatPercentRemaining from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000c")) { NextTest(); return; } @@ -37758,7 +37801,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Test Harness Client reads BatTimeRemaining from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000d")) { NextTest(); return; } @@ -37766,11 +37809,15 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Test Harness Client reads BatChargeLevel from Server DUT\n"); + if (ShouldSkip("PS.S.A000e")) { + NextTest(); + return; + } err = TestTestHarnessClientReadsBatChargeLevelFromServerDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Test Harness Client reads BatReplacementNeeded from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A000f")) { NextTest(); return; } @@ -37778,7 +37825,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Test Harness Client reads BatReplaceability from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0010")) { NextTest(); return; } @@ -37786,7 +37833,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Test Harness Client reads BatPresent from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0011")) { NextTest(); return; } @@ -37794,7 +37841,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Test Harness Client readsActiveBatFaults from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0012")) { NextTest(); return; } @@ -37803,7 +37850,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { case 20: ChipLogProgress( chipTool, " ***** Test Step 20 : Test Harness Client reads BatReplacementDescription from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0013")) { NextTest(); return; } @@ -37811,7 +37858,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Test Harness Client reads BatCommonDesignation from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0014")) { NextTest(); return; } @@ -37819,7 +37866,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Test Harness Client reads BatANSIDesignation from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0015")) { NextTest(); return; } @@ -37827,7 +37874,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 23: ChipLogProgress(chipTool, " ***** Test Step 23 : Test Harness Client reads BatIECDesignation from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0016")) { NextTest(); return; } @@ -37835,7 +37882,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Test Harness Client reads BatApprovedChemistry from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0017")) { NextTest(); return; } @@ -37843,7 +37890,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Test Harness Client reads BatCapacity from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0018")) { NextTest(); return; } @@ -37851,7 +37898,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Test Harness Client reads BatQuantity from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A0019")) { NextTest(); return; } @@ -37859,7 +37906,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Test Harness Client reads BatChargeState from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001a")) { NextTest(); return; } @@ -37867,7 +37914,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 28: ChipLogProgress(chipTool, " ***** Test Step 28 : Test Harness Client reads BatTimeToFullCharge from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001b")) { NextTest(); return; } @@ -37876,7 +37923,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { case 29: ChipLogProgress( chipTool, " ***** Test Step 29 : Test Harness Client reads BatFunctionalWhileCharging from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001c")) { NextTest(); return; } @@ -37884,7 +37931,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Test Harness Client reads BatChargingCurrent from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001d")) { NextTest(); return; } @@ -37892,7 +37939,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { break; case 31: ChipLogProgress(chipTool, " ***** Test Step 31 : Test Harness Client reads ActiveBatChargeFaults from Server DUT\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP && PS.S.A001e")) { NextTest(); return; } @@ -39617,94 +39664,186 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Read the mandatory attribute: MaxPressure\n"); + if (ShouldSkip("PCC.S.A0000")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMaxPressure_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the mandatory attribute: MaxSpeed\n"); + if (ShouldSkip("PCC.S.A0001")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMaxSpeed_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read the mandatory attribute: MaxFlow\n"); + if (ShouldSkip("PCC.S.A0002")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeMaxFlow_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Read the optional attribute: MinConstPressure\n"); + if (ShouldSkip("PCC.S.A0003")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMinConstPressure_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Read the optional attribute: MaxConstPressure\n"); + if (ShouldSkip("PCC.S.A0004")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMaxConstPressure_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Read the optional attribute: MinCompPressure\n"); + if (ShouldSkip("PCC.S.A0005")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMinCompPressure_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Read the optional attribute: MaxCompPressure\n"); + if (ShouldSkip("PCC.S.A0006")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMaxCompPressure_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Read the optional attribute: MinConstSpeed\n"); + if (ShouldSkip("PCC.S.A0007")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMinConstSpeed_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Read the optional attribute: MaxConstSpeed\n"); + if (ShouldSkip("PCC.S.A0008")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMaxConstSpeed_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Read the optional attribute: MinConstFlow\n"); + if (ShouldSkip("PCC.S.A0009")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMinConstFlow_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Read the optional attribute: MaxConstFlow\n"); + if (ShouldSkip("PCC.S.A000a")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMaxConstFlow_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Read the optional attribute: MinConstTemp\n"); + if (ShouldSkip("PCC.S.A000b")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMinConstTemp_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Read the optional attribute: MaxConstTemp\n"); + if (ShouldSkip("PCC.S.A000c")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeMaxConstTemp_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Read the optional attribute: PumpStatus\n"); + if (ShouldSkip("PCC.S.A0010")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributePumpStatus_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Read attribute: EffectiveOperationMode\n"); + if (ShouldSkip("PCC.S.A0011")) { + NextTest(); + return; + } err = TestReadAttributeEffectiveOperationMode_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Read attribute: EffectiveControlMode\n"); + if (ShouldSkip("PCC.S.A0012")) { + NextTest(); + return; + } err = TestReadAttributeEffectiveControlMode_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Read attribute: Capacity\n"); + if (ShouldSkip("PCC.S.A0013")) { + NextTest(); + return; + } err = TestReadAttributeCapacity_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Read the optional attribute: Speed\n"); + if (ShouldSkip("PCC.S.A0014")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeSpeed_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Read the optional attribute: LifetimeRunningHours\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeLifetimeRunningHours_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Read the optional attribute: Power\n"); + if (ShouldSkip("PCC.S.A0016")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributePower_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Read the optional attribute: LifetimeEnergyConsumed\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeLifetimeEnergyConsumed_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Read optional attribute: OperationMode\n"); + if (ShouldSkip("PCC.S.A0020")) { + NextTest(); + return; + } err = TestReadOptionalAttributeOperationMode_22(); break; case 23: ChipLogProgress(chipTool, " ***** Test Step 23 : Read optional attribute: ControlMode\n"); + if (ShouldSkip("PCC.S.A0021")) { + NextTest(); + return; + } err = TestReadOptionalAttributeControlMode_23(); break; } @@ -40525,7 +40664,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Write 1 to the OperationMode attribute to DUT: OperationMode\n"); - if (ShouldSkip("A_OPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0020")) { NextTest(); return; } @@ -40533,7 +40672,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads the attribute: EffectiveOperationMode\n"); - if (ShouldSkip("A_EFFECTIVEOPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0011")) { NextTest(); return; } @@ -40541,7 +40680,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Write 2 to the OperationMode attribute to DUT: OperationMode\n"); - if (ShouldSkip("A_OPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0020")) { NextTest(); return; } @@ -40549,7 +40688,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the attribute: EffectiveOperationMode\n"); - if (ShouldSkip("A_EFFECTIVEOPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0011")) { NextTest(); return; } @@ -40557,7 +40696,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Write 3 to the OperationMode attribute to DUT: OperationMode\n"); - if (ShouldSkip("A_OPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0020")) { NextTest(); return; } @@ -40565,7 +40704,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the attribute: EffectiveOperationMode\n"); - if (ShouldSkip("A_EFFECTIVEOPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0011")) { NextTest(); return; } @@ -40813,7 +40952,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Write 0 to the OperationMode attribute to DUT\n"); - if (ShouldSkip("A_OPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0020")) { NextTest(); return; } @@ -40821,7 +40960,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads the attribute: EffectiveOperationMode\n"); - if (ShouldSkip("A_EFFECTIVEOPERATIONMODE")) { + if (ShouldSkip("PCC.S.A0011")) { NextTest(); return; } @@ -40829,7 +40968,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Write 0 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40837,7 +40976,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -40845,7 +40984,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Write 1 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40853,7 +40992,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -40861,7 +41000,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Write 2 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40869,7 +41008,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -40877,7 +41016,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Write 3 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40885,7 +41024,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -40893,7 +41032,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Write 5 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40901,7 +41040,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -40909,7 +41048,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Write 7 to the ControlMode attribute to DUT\n"); - if (ShouldSkip("A_CONTROLMODE")) { + if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } @@ -40917,7 +41056,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Reads the attribute: EffectiveControlMode\n"); - if (ShouldSkip("A_EFFECTIVECONTROLMODE")) { + if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } @@ -41373,50 +41512,98 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Write 1 to the LifetimeRunningHours attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestWrite1ToTheLifetimeRunningHoursAttributeToDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Reads the attribute: LifetimeRunningHours\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeRunningHours_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Write 2 to the LifetimeRunningHours attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestWrite2ToTheLifetimeRunningHoursAttributeToDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Reads the attribute: LifetimeRunningHours\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeRunningHours_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Write 3 to the LifetimeRunningHours attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestWrite3ToTheLifetimeRunningHoursAttributeToDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Reads the attribute: LifetimeRunningHours\n"); + if (ShouldSkip("PCC.S.A0015")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeRunningHours_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Write 1 to the LifetimeEnergyConsumed attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestWrite1ToTheLifetimeEnergyConsumedAttributeToDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Reads the attribute: LifetimeEnergyConsumed\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeEnergyConsumed_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Write 2 to the LifetimeEnergyConsumed attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestWrite2ToTheLifetimeEnergyConsumedAttributeToDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Reads the attribute: LifetimeEnergyConsumed\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeEnergyConsumed_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Write 3 to the LifetimeEnergyConsumed attribute to DUT\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestWrite3ToTheLifetimeEnergyConsumedAttributeToDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Reads the attribute: LifetimeEnergyConsumed\n"); + if (ShouldSkip("PCC.S.A0017")) { + NextTest(); + return; + } err = TestReadsTheAttributeLifetimeEnergyConsumed_12(); break; } @@ -48181,14 +48368,26 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Read the mandatory attribute: TemperatureDisplayMode\n"); + if (ShouldSkip("TSUIC.S.A0000")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeTemperatureDisplayMode_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Read the mandatory attribute: KeypadLockout\n"); + if (ShouldSkip("TSUIC.S.A0001")) { + NextTest(); + return; + } err = TestReadTheMandatoryAttributeKeypadLockout_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read the optional attribute: ScheduleProgrammingVisibility\n"); + if (ShouldSkip("TSUIC.S.A0002")) { + NextTest(); + return; + } err = TestReadTheOptionalAttributeScheduleProgrammingVisibility_3(); break; } @@ -48353,7 +48552,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Writes a value of 0 to TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48369,7 +48568,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : TH reads the TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48377,7 +48576,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Writes a value of 1 to TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48393,7 +48592,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : TH reads the TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48402,7 +48601,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { case 7: ChipLogProgress( chipTool, " ***** Test Step 7 : Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48410,7 +48609,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : TH reads the TemperatureDisplayMode attribute of DUT\n"); - if (ShouldSkip("A_TEMPERATURE_DISPLAY_MODE")) { + if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } @@ -48418,7 +48617,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Writes a value of 0 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48434,7 +48633,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48442,7 +48641,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Writes a value of 1 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48458,7 +48657,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48466,7 +48665,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Writes a value of 2 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48482,7 +48681,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48490,7 +48689,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Writes a value of 3 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48506,7 +48705,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48514,7 +48713,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Writes a value of 4 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48530,7 +48729,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 23: ChipLogProgress(chipTool, " ***** Test Step 23 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48538,7 +48737,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Writes a value of 5 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48554,7 +48753,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48562,7 +48761,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Writes a value of greater than 5 to KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48570,7 +48769,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 28: ChipLogProgress(chipTool, " ***** Test Step 28 : TH reads the KeypadLockout attribute of DUT\n"); - if (ShouldSkip("A_KEYPAD_LOCKOUT")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48579,7 +48778,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { case 29: ChipLogProgress( chipTool, " ***** Test Step 29 : Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } @@ -48596,7 +48795,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 31: ChipLogProgress(chipTool, " ***** Test Step 31 : TH reads the ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } @@ -48605,7 +48804,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { case 32: ChipLogProgress( chipTool, " ***** Test Step 32 : Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } @@ -48622,7 +48821,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 34: ChipLogProgress(chipTool, " ***** Test Step 34 : TH reads the ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } @@ -48631,7 +48830,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { case 35: ChipLogProgress(chipTool, " ***** Test Step 35 : Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } @@ -48639,7 +48838,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { break; case 36: ChipLogProgress(chipTool, " ***** Test Step 36 : TH reads the ScheduleProgrammingVisibility attribute of DUT\n"); - if (ShouldSkip("A_SCHEDULE_PROGRAMMING_VISIBILITY")) { + if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; }