diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml new file mode 100644 index 00000000000000..08d1eae040a18e --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml @@ -0,0 +1,534 @@ +# 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.2. [TC-ACT-2.2] Primary functionality with server as DUT + +PICS: + - ACT.S + +config: + nodeId: 0x12344321 + cluster: "Basic Information" + endpoint: 0 + +tests: + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" + verification: | + + disabled: true + + - label: + "Using the manufacturer provided means, create multiple groups with + each multiple bridged devices (endpoints)" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + Create multiple groups with each multiple bridged devices (endpoints) + disabled: true + + - label: "Read EndpointLists attribute" + verification: | + ./chip-tool actions read endpoint-lists 1 1 + + On TH(chip-tool), verify the EndpointListStructs in TH Log: + [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries + [1658426570.716465][16527:16532] CHIP:TOO: [1]: { + [1658426570.716507][16527:16532] CHIP:TOO: EndpointListID: 0 + [1658426570.716534][16527:16532] CHIP:TOO: Name: living_room + [1658426570.716559][16527:16532] CHIP:TOO: Type: 1 + [1658426570.716588][16527:16532] CHIP:TOO: Endpoints: 2 entries + [1658426570.716617][16527:16532] CHIP:TOO: [1]: 2 + [1658426570.716646][16527:16532] CHIP:TOO: [2]: 3 + [1658426570.716673][16527:16532] CHIP:TOO: } + [1658426570.717133][16527:16532] CHIP:TOO: [2]: { + [1658426570.717160][16527:16532] CHIP:TOO: EndpointListID: 2 + [1658426570.717185][16527:16532] CHIP:TOO: Name: office + [1658426570.717209][16527:16532] CHIP:TOO: Type: 1 + [1658426570.717236][16527:16532] CHIP:TOO: Endpoints: 1 entries + [1658426570.717265][16527:16532] CHIP:TOO: [1]: 9 + [1658426570.717292][16527:16532] CHIP:TOO: } + disabled: true + + - label: + "Using the manufacturer provided means, update the name of one of the + groups" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + press r in bridge-app to rename + (in the example, renamed "office" to "kitchen") + disabled: true + + - label: "Read EndpointLists attribute again" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + ./chip-tool actions read endpoint-lists 1 1 + + On TH(chip-tool), verify the EndpointListStructs in below Log: + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 1 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.788278][14495:14500] CHIP:TOO: } + disabled: true + + - label: "compare result of step 2d to what was read in step 2b" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + compare result of step 2d to what was read in step 2b, Verify name field in relevant EndpointListStruct has been updated and no other changes in EndpointLists attribute + + Step 2d log + On TH(chip-tool), verify the EndpointListStructs: + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 1 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.788278][14495:14500] CHIP:TOO: } + + Step 2b log + On TH(chip-tool), verify the EndpointListStructs + [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries + [1658426570.716465][16527:16532] CHIP:TOO: [1]: { + [1658426570.716507][16527:16532] CHIP:TOO: EndpointListID: 0 + [1658426570.716534][16527:16532] CHIP:TOO: Name: living_room + [1658426570.716559][16527:16532] CHIP:TOO: Type: 1 + [1658426570.716588][16527:16532] CHIP:TOO: Endpoints: 2 entries + [1658426570.716617][16527:16532] CHIP:TOO: [1]: 2 + [1658426570.716646][16527:16532] CHIP:TOO: [2]: 3 + [1658426570.716673][16527:16532] CHIP:TOO: } + [1658426570.717133][16527:16532] CHIP:TOO: [2]: { + [1658426570.717160][16527:16532] CHIP:TOO: EndpointListID: 2 + [1658426570.717185][16527:16532] CHIP:TOO: Name: office + [1658426570.717209][16527:16532] CHIP:TOO: Type: 1 + [1658426570.717236][16527:16532] CHIP:TOO: Endpoints: 1 entries + [1658426570.717265][16527:16532] CHIP:TOO: [1]: 9 + [1658426570.717292][16527:16532] CHIP:TOO: } + disabled: true + + - label: + "Using the manufacturer provided means, move one of the bridged + devices (one endpoint) from one group to another group" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + Press f in bridge app to move one of the bridged devices (one endpoint) from one group to another group + + (in the example, light at ep 3 was moved to kitchen) + disabled: true + + - label: "Read EndpointLists attribute again" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + ./chip-tool actions read endpoint-lists 1 1 + + On TH(chip-tool), verify the EndpointListStructs + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.788278][14495:14500] CHIP:TOO: } + disabled: true + + - label: "compare result of step 2g to what was read in step 2d" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + compare result of step 2g to what was read in step 2d, Verify one EP (EP 3 in this case) has been moved from one EndpointListStruct to another EndpointListStruct + disabled: true + + - label: "Using the manufacturer provided means, remove one of the groups" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + Press i in bridge-ap to remove one of the groups + + in this case, the 2nd group was removed + disabled: true + + - label: "Read EndpointLists attribute again" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + ./chip-tool actions read endpoint-lists 1 1 + + On TH(chip-tool), verify the EndpointListStructs + [1658426959.409374][16560:16565] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426959.409476][16560:16565] CHIP:TOO: endpoint list: 1 entries + [1658426959.409543][16560:16565] CHIP:TOO: [1]: { + [1658426959.409580][16560:16565] CHIP:TOO: EndpointListID: 0 + [1658426959.409604][16560:16565] CHIP:TOO: Name: living_room + [1658426959.409636][16560:16565] CHIP:TOO: Type: 1 + [1658426959.409691][16560:16565] CHIP:TOO: Endpoints: 1 entries + [1658426959.409730][16560:16565] CHIP:TOO: [1]: 2 + [1658426959.409755][16560:16565] CHIP:TOO: } + disabled: true + + - label: "compare result of step 2j to what was read in step 2g" + PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + verification: | + compare result of step 2j to what was read in step 2g, Verify one EndpointListStruct (the 2nd one in this example) got removed while the other one(s) did not change + disabled: true + + - label: + "Using the manufacturer provided means, create a new group, which + includes one of the bridged devices also present in another group" + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists + verification: | + press l in bridge-app + in this example, a zone was created with same light (ep 2) + disabled: true + + - label: "Read EndpointLists attribute again" + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists + verification: | + ./chip-tool actions read endpoint-lists 1 1 + + On TH(chip-tool), verify the EndpointListStructs + 1658427088.316681][16578:16583] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658427088.316792][16578:16583] CHIP:TOO: endpoint list: 2 entries + [1658427088.316850][16578:16583] CHIP:TOO: [1]: { + [1658427088.316890][16578:16583] CHIP:TOO: EndpointListID: 0 + [1658427088.316915][16578:16583] CHIP:TOO: Name: living_room + [1658427088.316939][16578:16583] CHIP:TOO: Type: 1 + [1658427088.316965][16578:16583] CHIP:TOO: Endpoints: 1 entries + [1658427088.316993][16578:16583] CHIP:TOO: [1]: 2 + [1658427088.317019][16578:16583] CHIP:TOO: } + [1658427088.317558][16578:16583] CHIP:TOO: [2]: { + [1658427088.317583][16578:16583] CHIP:TOO: EndpointListID: 2 + [1658427088.317606][16578:16583] CHIP:TOO: Name: dining + [1658427088.317628][16578:16583] CHIP:TOO: Type: 2 + [1658427088.317652][16578:16583] CHIP:TOO: Endpoints: 1 entries + [1658427088.317679][16578:16583] CHIP:TOO: [1]: 2 + [1658427088.317705][16578:16583] CHIP:TOO: } + disabled: true + + - label: "compare result of step 2m to what was read in step 2j" + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists + verification: | + compare result of step 2m to what was read in step 2j. + Verify a new EndpointListStruct got added (the 2nd one in this example) with an EP which is also in one of the other EndpointListStructs (EP2 in this example) + disabled: true + + - label: "Using the manufacturer provided means, create multiple actions" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + ./chip-tool actions read action-list 1 1 + + Verify ActionStructs in TH(chip-tool) Log: + [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries + [1658479958.699549][26130:26135] CHIP:TOO: [1]: { + [1658479958.699582][26130:26135] CHIP:TOO: ActionID: 4097 + [1658479958.699597][26130:26135] CHIP:TOO: Name: Room 1 On + [1658479958.699611][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699624][26130:26135] CHIP:TOO: EndpointListID: 57345 + [1658479958.699638][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699652][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699665][26130:26135] CHIP:TOO: } + [1658479958.699689][26130:26135] CHIP:TOO: [2]: { + [1658479958.699702][26130:26135] CHIP:TOO: ActionID: 4098 + [1658479958.699715][26130:26135] CHIP:TOO: Name: Turn On Room 2 + [1658479958.699727][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699740][26130:26135] CHIP:TOO: EndpointListID: 57346 + [1658479958.699753][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699765][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699777][26130:26135] CHIP:TOO: } + disabled: true + + - label: + "Using the manufacturer provided means, update the name of one of the + actions" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + Press m in bridge-app to update the name of one action + disabled: true + + - label: "Read ActionList attribute again" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + ./chip-tool actions read action-list 1 1 + + Verify ActionStructs in TH(chip-tool) Log: + [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries + [1658480004.064992][26153:26158] CHIP:TOO: [1]: { + [1658480004.065024][26153:26158] CHIP:TOO: ActionID: 4097 + [1658480004.065041][26153:26158] CHIP:TOO: Name: Turn On Room 1 + [1658480004.065057][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065073][26153:26158] CHIP:TOO: EndpointListID: 57345 + [1658480004.065090][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065105][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065120][26153:26158] CHIP:TOO: } + [1658480004.065148][26153:26158] CHIP:TOO: [2]: { + [1658480004.065165][26153:26158] CHIP:TOO: ActionID: 4098 + [1658480004.065179][26153:26158] CHIP:TOO: Name: Turn On Room 2 + [1658480004.065194][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065209][26153:26158] CHIP:TOO: EndpointListID: 57346 + [1658480004.065223][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065238][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065252][26153:26158] CHIP:TOO: } + disabled: true + + - label: "compare result of step 3d to what was read in step 3b" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + Compare step 3d and 3b and verify the name field has been changed + + Step 3d + Verify ActionStructs in TH(chip-tool) Log: + [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries + [1658480004.064992][26153:26158] CHIP:TOO: [1]: { + [1658480004.065024][26153:26158] CHIP:TOO: ActionID: 4097 + [1658480004.065041][26153:26158] CHIP:TOO: Name: Turn On Room 1 + [1658480004.065057][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065073][26153:26158] CHIP:TOO: EndpointListID: 57345 + [1658480004.065090][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065105][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065120][26153:26158] CHIP:TOO: } + [1658480004.065148][26153:26158] CHIP:TOO: [2]: { + [1658480004.065165][26153:26158] CHIP:TOO: ActionID: 4098 + [1658480004.065179][26153:26158] CHIP:TOO: Name: Turn On Room 2 + [1658480004.065194][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065209][26153:26158] CHIP:TOO: EndpointListID: 57346 + [1658480004.065223][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065238][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065252][26153:26158] CHIP:TOO: } + + Step 3b Log: + Verify ActionStructs in TH(chip-tool) Log: + [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries + [1658479958.699549][26130:26135] CHIP:TOO: [1]: { + [1658479958.699582][26130:26135] CHIP:TOO: ActionID: 4097 + [1658479958.699597][26130:26135] CHIP:TOO: Name: Room 1 On + [1658479958.699611][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699624][26130:26135] CHIP:TOO: EndpointListID: 57345 + [1658479958.699638][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699652][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699665][26130:26135] CHIP:TOO: } + [1658479958.699689][26130:26135] CHIP:TOO: [2]: { + [1658479958.699702][26130:26135] CHIP:TOO: ActionID: 4098 + [1658479958.699715][26130:26135] CHIP:TOO: Name: Turn On Room 2 + [1658479958.699727][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699740][26130:26135] CHIP:TOO: EndpointListID: 57346 + [1658479958.699753][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699765][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699777][26130:26135] CHIP:TOO: } + disabled: true + + - label: + "Using the manufacturer provided means, remove one of the exposed + actions" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + press n in bridge-app + disabled: true + + - label: "Read ActionList attribute again" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + ./chip-tool actions read action-list 1 1 + + Verify ActionStructs in TH(chip-tool) Log: + [1658480039.164683][26172:26177] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480039.164758][26172:26177] CHIP:TOO: action list: 1 entries + [1658480039.164815][26172:26177] CHIP:TOO: [1]: { + [1658480039.164846][26172:26177] CHIP:TOO: ActionID: 4097 + [1658480039.164872][26172:26177] CHIP:TOO: Name: Turn On Room 1 + [1658480039.164897][26172:26177] CHIP:TOO: Type: 3 + [1658480039.164920][26172:26177] CHIP:TOO: EndpointListID: 57345 + [1658480039.164948][26172:26177] CHIP:TOO: SupportedCommands: 1 + [1658480039.164974][26172:26177] CHIP:TOO: Status: 0 + [1658480039.164997][26172:26177] CHIP:TOO: } + disabled: true + + - label: "compare result of step 3g to what was read in step 3d" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + compare result of step 3g to what was read in step 3d + Verify one Action (4098 in this example) got removed while the other Action(s) (4097 in this case) did not change + disabled: true + + - label: "Using the manufacturer provided means, add a new exposed action" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + press o in bridge-app + disabled: true + + - label: "Read ActionList attribute again" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + ./chip-tool actions read action-list 1 1 + + Verify ActionStructs in TH(chip-tool) Log: + [1658480059.199268][26178:26183] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480059.199349][26178:26183] CHIP:TOO: action list: 2 entries + [1658480059.199410][26178:26183] CHIP:TOO: [1]: { + [1658480059.199440][26178:26183] CHIP:TOO: ActionID: 4097 + [1658480059.199457][26178:26183] CHIP:TOO: Name: Turn On Room 1 + [1658480059.199473][26178:26183] CHIP:TOO: Type: 3 + [1658480059.199488][26178:26183] CHIP:TOO: EndpointListID: 57345 + [1658480059.199505][26178:26183] CHIP:TOO: SupportedCommands: 1 + [1658480059.199520][26178:26183] CHIP:TOO: Status: 0 + [1658480059.199534][26178:26183] CHIP:TOO: } + [1658480059.199562][26178:26183] CHIP:TOO: [2]: { + [1658480059.199578][26178:26183] CHIP:TOO: ActionID: 4099 + [1658480059.199593][26178:26183] CHIP:TOO: Name: Turn Off Room 1 + [1658480059.199607][26178:26183] CHIP:TOO: Type: 3 + [1658480059.199622][26178:26183] CHIP:TOO: EndpointListID: 57347 + [1658480059.199636][26178:26183] CHIP:TOO: SupportedCommands: 1 + [1658480059.199651][26178:26183] CHIP:TOO: Status: 0 + [1658480059.199665][26178:26183] CHIP:TOO: } + disabled: true + + - label: "compare result of step 3j to what was read in step 3g" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + compare result of step 3j to what was read in step 3g + Verify one new Action (4099 in this example) got added while the other Action(s) (4097 in this case) did not change + disabled: true + + - label: "Using the manufacturer provided means, create multiple actions" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute" + PICS: ACT.S.A0000 + verification: | + ./chip-tool actions read action-list 1 1 + + Verify ActionStructs in TH(chip-tool) Log: + [1658480080.135069][26185:26190] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480080.135130][26185:26190] CHIP:TOO: action list: 2 entries + [1658480080.135191][26185:26190] CHIP:TOO: [1]: { + [1658480080.135222][26185:26190] CHIP:TOO: ActionID: 4097 + [1658480080.135238][26185:26190] CHIP:TOO: Name: Turn On Room 1 + [1658480080.135253][26185:26190] CHIP:TOO: Type: 3 + [1658480080.135269][26185:26190] CHIP:TOO: EndpointListID: 57345 + [1658480080.135285][26185:26190] CHIP:TOO: SupportedCommands: 1 + [1658480080.135300][26185:26190] CHIP:TOO: Status: 0 + [1658480080.135315][26185:26190] CHIP:TOO: } + [1658480080.135342][26185:26190] CHIP:TOO: [2]: { + [1658480080.135357][26185:26190] CHIP:TOO: ActionID: 4099 + [1658480080.135371][26185:26190] CHIP:TOO: Name: Turn Off Room 1 + [1658480080.135386][26185:26190] CHIP:TOO: Type: 3 + [1658480080.135400][26185:26190] CHIP:TOO: EndpointListID: 57347 + [1658480080.135415][26185:26190] CHIP:TOO: SupportedCommands: 1 + [1658480080.135430][26185:26190] CHIP:TOO: Status: 0 + [1658480080.135443][26185:26190] CHIP:TOO: } + disabled: true + + - label: "subscribe to StateChanged and ActionFailed events" + verification: | + To subscribe StateChanged event follow below steps + 1) ./chip-tool interactive start + 2) actions subscribe-event action-failed 2 30 1 0 + Verify in TH Log: + [1659962630.453221][25381:25386] CHIP:EM: Removed CHIP MessageCounter:65903257 from RetransTable on exchange 50035i + [1659962630.453246][25381:25386] CHIP:DMG: ReportDataMessage = + [1659962630.453259][25381:25386] CHIP:DMG: { + [1659962630.453270][25381:25386] CHIP:DMG: SubscriptionId = 0x78f0a04c, + [1659962630.453281][25381:25386] CHIP:DMG: InteractionModelRevision = 1 + [1659962630.453290][25381:25386] CHIP:DMG: } + [1659962630.453312][25381:25386] CHIP:DMG: MoveToState ReadClient[0x7f9204005990]: Moving to [AwaitingSu] + [1659962630.453337][25381:25386] CHIP:EM: Piggybacking Ack for MessageCounter:102831868 on exchange: 50035i + [1659962630.453364][25381:25386] CHIP:IN: Prepared secure message 0x7f9204005698 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 50035i with MessageCounter:65903258. + [1659962630.453382][25381:25386] CHIP:IN: Sending encrypted msg 0x7f9204005698 with MessageCounter:65903258 to 0x0000000000000001 (1) at monotonic time: 0000000001ADE9B2 msec + [1659962630.456411][25381:25386] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:102831869 on exchange 50035i + [1659962630.456431][25381:25386] CHIP:EM: Found matching exchange: 50035i, Delegate: 0x7f92040059a0 + [1659962630.456448][25381:25386] CHIP:EM: Rxd Ack; Removing MessageCounter:65903258 from Retrans Table on exchange 50035i + [1659962630.456457][25381:25386] CHIP:EM: Removed CHIP MessageCounter:65903258 from RetransTable on exchange 50035i + [1659962630.456475][25381:25386] CHIP:DMG: SubscribeResponse is received + [1659962630.456497][25381:25386] CHIP:DMG: SubscribeResponseMessage = + [1659962630.456509][25381:25386] CHIP:DMG: { + [1659962630.456520][25381:25386] CHIP:DMG: SubscriptionId = 0x78f0a04c, + [1659962630.456531][25381:25386] CHIP:DMG: MaxInterval = 0x64, + [1659962630.456542][25381:25386] CHIP:DMG: InteractionModelRevision = 1 + [1659962630.456551][25381:25386] CHIP:DMG: } + [1659962630.456563][25381:25386] CHIP:DMG: Subscription established with SubscriptionID = 0x78f0a04c MinInterval = 0s MaxInterval = 100s Peer = 01:0000000000000001 + + 3) actions instant-action 0x1001 1 1 + + Verify in TH Log + + [1659955888.114483][23216:23221] CHIP:DMG: StatusIB = + [1659955888.114499][23216:23221] CHIP:DMG: { + [1659955888.114515][23216:23221] CHIP:DMG: status = 0x00 (SUCCESS), + [1659955888.114529][23216:23221] CHIP:DMG: }, + disabled: true + + - label: + "For each of the ActionStructs provided by DUT (see list read in step + 4b), perform one of the actions supported (see SupportedCommands in + this ActionStruct) by sending the command with this particular + ActionID and a random value for InvokeID" + verification: | + Only InstantActions command is supported + + ./chip-tool actions instant-action 0x1001 1 1 + + Verify in TH Log + + [1659955888.114483][23216:23221] CHIP:DMG: StatusIB = + [1659955888.114499][23216:23221] CHIP:DMG: { + [1659955888.114515][23216:23221] CHIP:DMG: status = 0x00 (SUCCESS), + [1659955888.114529][23216:23221] CHIP:DMG: }, + disabled: true + + - label: "repeat 4d for the other SupportedCommands of each ActionStruct" + verification: | + Only InstantActions command is supported + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml index 8bb39409df8abc..f402fa9f0ec0c9 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml @@ -136,7 +136,6 @@ tests: PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true response: constraints: type: int16s @@ -150,7 +149,6 @@ tests: command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 - optional: true response: constraints: type: int16s @@ -162,7 +160,6 @@ tests: OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 arguments: value: 2500 @@ -172,7 +169,6 @@ tests: OccupiedCoolingSetpoint attribute" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 response: value: 2500 @@ -180,7 +176,6 @@ tests: - label: "Writes OccupiedCoolingSetpoint to value below the MinCoolSetpointLimit" - optional: true command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 @@ -219,7 +214,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 - optional: true arguments: value: 4000 response: @@ -231,7 +225,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && TSTAT.S.A0017 - optional: true arguments: value: MaxCoolSetpointLimit + 1000 response: @@ -243,7 +236,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.F05 && !TSTAT.S.A0017 - optional: true arguments: value: 1600 @@ -253,7 +245,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.F05 && TSTAT.S.A0017 - optional: true arguments: value: MinCoolSetpointLimit @@ -287,7 +278,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 - optional: true arguments: value: 3200 @@ -297,7 +287,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && TSTAT.S.A0017 - optional: true arguments: value: MaxCoolSetpointLimit @@ -308,7 +297,6 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 - optional: true response: constraints: type: int16s @@ -322,7 +310,6 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0015 && !TSTAT.S.A0016 - optional: true response: constraints: type: int16s @@ -335,7 +322,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true arguments: value: 2100 @@ -345,7 +331,6 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true response: value: 2100 @@ -355,7 +340,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0015 - optional: true arguments: value: 600 response: @@ -392,7 +376,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0016 - optional: true arguments: value: 4010 response: @@ -404,7 +387,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && TSTAT.S.A0016 - optional: true arguments: value: MaxHeatSetpointLimit + 1000 response: @@ -416,7 +398,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0015 - optional: true arguments: value: 700 @@ -426,7 +407,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && TSTAT.S.A0015 - optional: true arguments: value: MinHeatSetpointLimit @@ -436,7 +416,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.F05 && !TSTAT.S.A0016 - optional: true arguments: value: 3000 @@ -446,7 +425,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.F05 && TSTAT.S.A0016 - optional: true arguments: value: MaxHeatSetpointLimit @@ -456,7 +434,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F05 && !TSTAT.S.A0015 - optional: true arguments: value: 3000 response: @@ -501,7 +478,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 - optional: true response: constraints: type: int16s @@ -514,7 +490,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 - optional: true response: constraints: type: int16s @@ -527,7 +502,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 - optional: true arguments: value: 2500 @@ -537,7 +511,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 - optional: true response: value: 2500 @@ -547,7 +520,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 - optional: true arguments: value: 1002 response: @@ -579,7 +551,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0018 - optional: true arguments: value: 4010 response: @@ -591,7 +562,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0018 - optional: true arguments: value: MaxCoolSetpointLimit + 1000 response: @@ -603,7 +573,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.F05 - optional: true arguments: value: 1600 @@ -613,7 +582,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 && TSTAT.S.F05 - optional: true arguments: value: 1600 response: @@ -625,7 +593,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.F05 - optional: true arguments: value: MinCoolSetpointLimit @@ -662,7 +629,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0018 && !TSTAT.S.F05 - optional: true arguments: value: 3200 @@ -672,7 +638,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.F05 - optional: true arguments: value: MaxCoolSetpointLimit @@ -683,7 +648,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 - optional: true response: constraints: type: int16s @@ -697,7 +661,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0015 && !TSTAT.S.A0016 - optional: true response: constraints: type: int16s @@ -710,7 +673,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 - optional: true arguments: value: 2500 @@ -720,7 +682,6 @@ tests: command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 - optional: true response: value: 2500 @@ -730,7 +691,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0015 - optional: true arguments: value: 500 response: @@ -766,7 +726,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0016 - optional: true arguments: value: 4010 response: @@ -778,7 +737,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0016 - optional: true arguments: value: MaxHeatSetpointLimit + 1000 response: @@ -790,7 +748,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0015 - optional: true arguments: value: 700 @@ -800,7 +757,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0015 - optional: true arguments: value: MinHeatSetpointLimit @@ -810,7 +766,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true arguments: value: 3000 @@ -820,7 +775,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true arguments: value: MaxHeatSetpointLimit @@ -830,7 +784,6 @@ tests: command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0016 && TSTAT.S.F05 - optional: true arguments: value: 3000 response: @@ -871,7 +824,6 @@ tests: command: "readAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 && TSTAT.S.A0003 - optional: true response: constraints: type: int16s @@ -884,7 +836,6 @@ tests: that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" - optional: true PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0016 && !TSTAT.S.A0003 response: constraints: @@ -898,7 +849,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 - optional: true arguments: value: 800 @@ -908,7 +858,6 @@ tests: command: "readAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 - optional: true response: value: 800 @@ -916,7 +865,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.A0015 && TSTAT.S.F05 - optional: true arguments: value: 2000 response: @@ -928,7 +876,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0003 - optional: true arguments: value: 100 response: @@ -963,7 +910,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0016 - optional: true arguments: value: 4050 response: @@ -975,7 +921,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 - optional: true arguments: value: MaxHeatSetpointLimit + 1000 response: @@ -987,7 +932,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0003 - optional: true arguments: value: 700 @@ -997,7 +941,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0003 - optional: true arguments: value: AbsMinHeatSetpointLimitValue @@ -1007,7 +950,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.F05 && !TSTAT.S.A0016 - optional: true arguments: value: 3000 @@ -1017,7 +959,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.F05 && TSTAT.S.A0016 - optional: true arguments: value: MaxHeatSetpointLimit @@ -1059,7 +1000,6 @@ tests: that the value is within range" command: "readAttribute" attribute: "MaxHeatSetpointLimit" - optional: true PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && TSTAT.S.A0004 && TSTAT.S.A0016 @@ -1075,7 +1015,6 @@ tests: that the value is within range" command: "readAttribute" attribute: "MaxHeatSetpointLimit" - optional: true PICS: " TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && !TSTAT.S.A0004 && !TSTAT.S.A0016 " @@ -1090,7 +1029,6 @@ tests: attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" - optional: true PICS: TSTAT.S.F00 && TSTAT.S.A0015 arguments: value: 700 @@ -1101,7 +1039,6 @@ tests: command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.A0015 && TSTAT.S.F05 - optional: true arguments: value: 3000 response: @@ -1113,7 +1050,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true arguments: value: 2900 @@ -1123,7 +1059,6 @@ tests: command: "readAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true response: value: 2900 @@ -1133,7 +1068,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.A0015 - optional: true arguments: value: 500 response: @@ -1181,7 +1115,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.A0004 - optional: true arguments: value: 4000 response: @@ -1193,7 +1126,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.A0004 - optional: true arguments: value: AbsMaxHeatSetpointLimitValue + 1000 response: @@ -1205,7 +1137,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.A0015 - optional: true arguments: value: 700 @@ -1215,7 +1146,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.A0015 - optional: true arguments: value: MinHeatSetpointLimit @@ -1225,7 +1155,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && !TSTAT.S.A0004 - optional: true arguments: value: 3000 @@ -1235,7 +1164,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && TSTAT.S.A0004 - optional: true arguments: value: AbsMaxHeatSetpointLimitValue @@ -1279,7 +1207,6 @@ tests: command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005 - optional: true response: constraints: type: int16s @@ -1293,7 +1220,6 @@ tests: command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005 - optional: true response: constraints: type: int16s @@ -1306,7 +1232,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 - optional: true arguments: value: 2000 @@ -1316,7 +1241,6 @@ tests: command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 - optional: true response: value: 2000 @@ -1326,7 +1250,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0005 - optional: true arguments: value: 1000 response: @@ -1367,7 +1290,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0018 - optional: true arguments: value: 4000 response: @@ -1378,7 +1300,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 - optional: true arguments: value: MaxCoolSetpointLimit + 1000 response: @@ -1390,7 +1311,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0005 && !TSTAT.S.F05 - optional: true arguments: value: 1600 @@ -1400,7 +1320,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0005 && !TSTAT.S.F05 - optional: true arguments: value: AbsMinCoolSetpointLimit @@ -1437,7 +1356,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0018 - optional: true arguments: value: 3200 @@ -1447,7 +1365,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 - optional: true arguments: value: MaxCoolSetpointLimit @@ -1458,7 +1375,6 @@ tests: command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0017 && TSTAT.S.A0006 - optional: true response: constraints: type: int16s @@ -1472,7 +1388,6 @@ tests: command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0017 && !TSTAT.S.A0006 - optional: true response: constraints: type: int16s @@ -1485,7 +1400,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.F05 - optional: true arguments: value: 2000 @@ -1495,7 +1409,6 @@ tests: command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.F05 - optional: true response: value: 2000 @@ -1505,7 +1418,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0017 - optional: true arguments: value: 1000 response: @@ -1542,7 +1454,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0006 - optional: true arguments: value: 4000 response: @@ -1553,7 +1464,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0006 - optional: true arguments: value: AbsMaxCoolSetpointLimit + 1000 response: @@ -1565,7 +1475,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0017 && !TSTAT.S.F05 - optional: true arguments: value: 1600 @@ -1575,7 +1484,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0017 && TSTAT.S.F05 - optional: true arguments: value: 1600 response: @@ -1587,7 +1495,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0017 && !TSTAT.S.F05 - optional: true arguments: value: MinCoolSetpointLimit @@ -1623,7 +1530,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0006 - optional: true arguments: value: 3200 @@ -1633,14 +1539,12 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0006 - optional: true arguments: value: AbsMaxCoolSetpointLimit - label: "Writes (sets back) default value of MinHeatSetpointLimit" command: "writeAttribute" attribute: "MinHeatSetpointLimit" - optional: true PICS: TSTAT.S.F01 && TSTAT.S.A0015 arguments: value: 700 @@ -1649,7 +1553,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true arguments: value: 3000 @@ -1657,7 +1560,6 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0016 && !TSTAT.S.F05 - optional: true arguments: value: 2950 @@ -1665,7 +1567,6 @@ tests: command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 - optional: true arguments: value: 1600 @@ -1673,7 +1574,6 @@ tests: command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 - optional: true arguments: value: 3200 @@ -1758,7 +1658,6 @@ tests: command: "writeAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 || TSTAT.S.F01 - optional: true arguments: value: 2 @@ -1766,7 +1665,6 @@ tests: command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 || TSTAT.S.F01 - optional: true response: value: 2 @@ -1776,14 +1674,12 @@ tests: command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.F05 - optional: true arguments: value: 2950 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 arguments: value: 2600 @@ -1791,7 +1687,6 @@ tests: - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" - optional: true PICS: TSTAT.S.F00 arguments: value: 2000 @@ -1811,7 +1706,6 @@ tests: write" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" - optional: true PICS: TSTAT.S.F00 response: value: 1700 @@ -1820,7 +1714,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true arguments: value: 2000 @@ -1840,7 +1733,6 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true response: value: 2300 @@ -1860,14 +1752,12 @@ tests: command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 - optional: true response: value: 2300 - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 arguments: value: 2600 @@ -1887,7 +1777,6 @@ tests: write" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 response: value: 2900 @@ -1895,7 +1784,6 @@ tests: - label: "Sets OccupiedCoolingSetpoint to default value" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" - optional: true PICS: TSTAT.S.F01 arguments: value: 2600 @@ -1903,7 +1791,6 @@ tests: - label: "Sets OccupiedHeatingSetpoint to default value" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" - optional: true PICS: TSTAT.S.F00 arguments: value: 2000 @@ -1924,7 +1811,6 @@ tests: command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 - optional: true response: value: 2300 @@ -1934,7 +1820,6 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true response: value: 1700 @@ -1942,7 +1827,6 @@ tests: command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 - optional: true arguments: value: 2600 @@ -1950,7 +1834,6 @@ tests: command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true arguments: value: 2000 @@ -1970,7 +1853,6 @@ tests: command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 - optional: true response: value: 2900 @@ -1980,6 +1862,5 @@ tests: command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 - optional: true response: value: 2300 diff --git a/src/app/tests/suites/manualTests.json b/src/app/tests/suites/manualTests.json index f06505c1a58fed..ad07f2e0cda474 100644 --- a/src/app/tests/suites/manualTests.json +++ b/src/app/tests/suites/manualTests.json @@ -281,7 +281,7 @@ "Test_TC_DGTHREAD_3_4", "Test_TC_DGTHREAD_3_5" ], - "Actions": ["Test_TC_ACT_2_1", "Test_TC_ACT_3_2"], + "Actions": ["Test_TC_ACT_2_1", "Test_TC_ACT_2_2", "Test_TC_ACT_3_2"], "TimeFormatLocalization": ["Test_TC_LTIME_2_1", "Test_TC_LTIME_3_1"], "UnitLocalization": [], "Binding": ["Test_TC_BIND_2_1", "Test_TC_BIND_2_2", "Test_TC_BIND_2_3"], diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 22e7e451a6a047..10ecfd078d797f 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -543,6 +543,7 @@ class ManualTestList : public Command printf("Test_TC_DGTHREAD_3_4\n"); printf("Test_TC_DGTHREAD_3_5\n"); printf("Test_TC_ACT_2_1\n"); + printf("Test_TC_ACT_2_2\n"); printf("Test_TC_ACT_3_2\n"); printf("Test_TC_LTIME_2_1\n"); printf("Test_TC_LTIME_3_1\n"); @@ -44436,10 +44437,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 13: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44450,10 +44447,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 14: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44464,17 +44457,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 15: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 16: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44496,17 +44481,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 21: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 22: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 23: @@ -44514,24 +44491,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 24: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 25: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 26: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44542,10 +44507,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 27: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44556,17 +44517,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 28: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 29: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44588,31 +44541,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 34: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 35: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 36: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 37: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 38: @@ -44623,10 +44560,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 40: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44637,10 +44570,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 41: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44651,17 +44580,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 42: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 43: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44683,20 +44604,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 48: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 49: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 50: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 51: @@ -44704,24 +44617,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 52: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 53: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 54: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44732,10 +44633,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 55: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44746,17 +44643,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 56: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 57: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44778,31 +44667,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 62: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 63: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 64: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 65: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 66: @@ -44813,10 +44686,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 68: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44827,10 +44696,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 69: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44841,17 +44706,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 70: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 71: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44876,31 +44733,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 77: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 78: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 79: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 80: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 81: @@ -44908,10 +44749,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 82: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44922,10 +44759,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 83: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44936,27 +44769,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 84: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 85: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 86: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 87: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -44978,31 +44799,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 92: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 93: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 94: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 95: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 96: @@ -45010,10 +44815,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 97: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45024,10 +44825,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 98: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45038,17 +44835,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 99: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 100: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45070,17 +44859,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 105: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 106: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 107: @@ -45088,24 +44869,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 108: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 109: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 110: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45116,10 +44885,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 111: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45130,17 +44895,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 112: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 113: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45162,20 +44919,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 118: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 119: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); break; case 120: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 121: @@ -45183,52 +44932,24 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand shouldContinue = true; break; case 122: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 123: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 124: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 125: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 126: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 127: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 128: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 129: @@ -45276,17 +44997,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 137: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 138: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::Clusters::Thermostat::ThermostatControlSequence value; @@ -45295,34 +45008,18 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 139: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 140: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 141: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 142: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 143: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45331,20 +45028,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 144: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 145: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 146: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45356,10 +45045,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 148: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45368,20 +45053,12 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 149: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 150: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 151: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45390,27 +45067,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 152: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 153: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 154: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 155: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45419,10 +45084,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 156: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45431,27 +45092,15 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 157: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 158: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 159: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 160: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -45460,10 +45109,6 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand } break; case 161: - if (IsUnsupported(status.mStatus)) - { - return; - } VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { int16_t value; @@ -112453,6 +112098,61 @@ class Test_TC_ACT_2_1Suite : public TestCommand } }; +class Test_TC_ACT_2_2Suite : public TestCommand +{ +public: + Test_TC_ACT_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACT_2_2", 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_ACT_2_2Suite() {} + + 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_ACT_3_2Suite : public TestCommand { public: @@ -113897,6 +113597,7 @@ 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),