|
| 1 | +# Copyright (c) 2021 Project CHIP Authors |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
| 15 | + |
| 16 | +name: 3.2.1. [TC-ACT-2.1] Attributes with server as DUT |
| 17 | + |
| 18 | +config: |
| 19 | + nodeId: 0x12344321 |
| 20 | + cluster: "Basic" |
| 21 | + endpoint: 0 |
| 22 | + |
| 23 | +tests: |
| 24 | + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" |
| 25 | + verification: | |
| 26 | +
|
| 27 | + disabled: true |
| 28 | + |
| 29 | + - label: |
| 30 | + "Use manufacturer provided means (e.g. app) to define groups of |
| 31 | + endpoints that can be exposed using the Actions server cluster (NOTE |
| 32 | + if this is not provided, it is assumed the DUT automagically creates |
| 33 | + these)" |
| 34 | + verification: | |
| 35 | + no Matter messages, result will be used in steps 4a and beyond |
| 36 | + disabled: true |
| 37 | + |
| 38 | + - label: |
| 39 | + "Use manufacturer provided means (e.g. app) to define available |
| 40 | + actions that can be exposed using the Actions server cluster (NOTE if |
| 41 | + this is not provided, it is assumed the DUT automagically creates |
| 42 | + these)" |
| 43 | + verification: | |
| 44 | + no Matter messages, result will be used in steps 5a and beyond |
| 45 | + disabled: true |
| 46 | + |
| 47 | + - label: |
| 48 | + "Read PartsList attribute of Descriptor cluster on all endpoints of |
| 49 | + the DUT" |
| 50 | + verification: | |
| 51 | + Read PartsList attribute of Descriptor cluster on all endpoints of the DUT (start with EP 0 and recursively handle all the EP found in the PartsList) |
| 52 | + disabled: true |
| 53 | + |
| 54 | + - label: "Compile a list of all endpoints on the server" |
| 55 | + verification: | |
| 56 | + internal TH: create list of all EP on this server |
| 57 | + disabled: true |
| 58 | + |
| 59 | + - label: |
| 60 | + "Read EndpointLists attribute of Actions server and validate the |
| 61 | + EndpointListStructs using the following steps" |
| 62 | + verification: | |
| 63 | + Read EndpointLists attribute |
| 64 | + disabled: true |
| 65 | + |
| 66 | + - label: |
| 67 | + "For each EndpointListStruct, verify that the endpoints in the |
| 68 | + Endpoints field are in the list of endpoints of the DUT" |
| 69 | + verification: | |
| 70 | + no Matter messages, but TH internal checking |
| 71 | + disabled: true |
| 72 | + |
| 73 | + - label: "For each EndpointListStruct, verify that the Name is present" |
| 74 | + verification: | |
| 75 | + no Matter messages, but TH internal checking |
| 76 | + disabled: true |
| 77 | + |
| 78 | + - label: |
| 79 | + "For each EndpointListStruct, verify that the Type is present and |
| 80 | + valid" |
| 81 | + verification: | |
| 82 | + no Matter messages, but TH internal checking |
| 83 | + disabled: true |
| 84 | + |
| 85 | + - label: |
| 86 | + "Verify that the EndPointListIDs of all EndpointListStruct are unique |
| 87 | + (no duplicates)" |
| 88 | + verification: | |
| 89 | + no Matter messages, but TH internal checking |
| 90 | + disabled: true |
| 91 | + |
| 92 | + - label: |
| 93 | + "For each EndpointListStruct, verify Name and Type against the |
| 94 | + name/type of each group of endpoints provided by the manufacturers |
| 95 | + means" |
| 96 | + verification: | |
| 97 | + no Matter messages, but TH internal checking |
| 98 | + disabled: true |
| 99 | + |
| 100 | + - label: |
| 101 | + "Read ActionList attribute of Actions server and validate the |
| 102 | + ActionStructs using the following steps" |
| 103 | + verification: | |
| 104 | + Read ActionList attribute |
| 105 | + disabled: true |
| 106 | + |
| 107 | + - label: "For each ActionStruct, verify the Name is present" |
| 108 | + verification: | |
| 109 | + no Matter messages, but TH internal checking |
| 110 | + disabled: true |
| 111 | + |
| 112 | + - label: "For each ActionStruct, verify the Type is present and valid" |
| 113 | + verification: | |
| 114 | + no Matter messages, but TH internal checking |
| 115 | + disabled: true |
| 116 | + |
| 117 | + - label: |
| 118 | + "For each ActionStruct, verify the EndpointListID is present in one of |
| 119 | + the EndpointListStructs (see step 4a)" |
| 120 | + verification: | |
| 121 | + no Matter messages, but TH internal checking |
| 122 | + disabled: true |
| 123 | + |
| 124 | + - label: |
| 125 | + "For each ActionStruct, verify the SupportedCommands field is present |
| 126 | + and valid (at least one bit is set)" |
| 127 | + verification: | |
| 128 | + no Matter messages, but TH internal checking |
| 129 | + disabled: true |
| 130 | + |
| 131 | + - label: |
| 132 | + "For each ActionStruct, verify the State field is present and valid" |
| 133 | + verification: | |
| 134 | + no Matter messages, but TH internal checking |
| 135 | + disabled: true |
| 136 | + |
| 137 | + - label: |
| 138 | + "Verify that the ActionIDs of all ActionStructs are unique (no |
| 139 | + duplicates)" |
| 140 | + verification: | |
| 141 | + no Matter messages, but TH internal checking |
| 142 | + disabled: true |
| 143 | + |
| 144 | + - label: |
| 145 | + "For each ActionStruct, verify Name, Type and State against the |
| 146 | + name/type/state info for the action provided by the manufacturers |
| 147 | + means" |
| 148 | + verification: | |
| 149 | + no Matter messages, but TH internal checking |
| 150 | + disabled: true |
| 151 | + |
| 152 | + - label: "Read SetupURL attribute" |
| 153 | + verification: | |
| 154 | + Read SetupURL attribute |
| 155 | + disabled: true |
| 156 | + |
| 157 | + - label: |
| 158 | + "Verify that its syntax follows the syntax as specified in RFC 3986, |
| 159 | + max. 512 ASCII characters" |
| 160 | + verification: | |
| 161 | + no Matter messages, but TH internal checking |
| 162 | + disabled: true |
| 163 | + |
| 164 | + - label: |
| 165 | + "Verify SetupURL points to a site providing information about the |
| 166 | + actions" |
| 167 | + verification: | |
| 168 | + no Matter messages, but TH internal checking + accessing the URL on the internet |
| 169 | + disabled: true |
| 170 | + |
| 171 | + - label: |
| 172 | + 'Verify SetupURL appended by "?/a=" and the decimal numeric value of |
| 173 | + one of the exposed ActionIDs (see step 5a) points to a site providing |
| 174 | + information about the action' |
| 175 | + verification: | |
| 176 | + no Matter messages, but TH internal checking + accessing the URL on the internet |
| 177 | + disabled: true |
0 commit comments