Skip to content

Commit 2635986

Browse files
kowsisoundhar12restyled-commits
authored andcommitted
Test added manualscripts (#18639)
* Added manual scripts * Added auto generated file * Restyled by whitespace * Restyled by clang-format Co-authored-by: Restyled.io <[email protected]>
1 parent a5d3ad4 commit 2635986

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+8099
-4058
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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.1.1. [TC-ACT-1.1] Global 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: "Read ClusterRevision (global attribute 65533)"
30+
verification: |
31+
./chip-tool bridgedactions read cluster-revision 1 1
32+
33+
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFD DataVersion: 3573360937
34+
[1649664569.312693][8655:8660] CHIP:TOO: ClusterRevision: 1
35+
disabled: true
36+
37+
- label: "Read FeatureMap (global attribute 65532)"
38+
verification: |
39+
./chip-tool bridgedactions read feature-map 1 1
40+
41+
Need to implement in SDK
42+
disabled: true
43+
44+
- label: "Read AttributeList (global attribute 65531)"
45+
verification: |
46+
./chip-tool bridgedactions read attribute-list 1 1
47+
48+
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFB DataVersion: 3573360937
49+
[1649664685.946524][8671:8676] CHIP:TOO: AttributeList: 7 entries
50+
[1649664685.946600][8671:8676] CHIP:TOO: [1]: 0
51+
[1649664685.946649][8671:8676] CHIP:TOO: [2]: 1
52+
[1649664685.946696][8671:8676] CHIP:TOO: [3]: 2
53+
[1649664685.946744][8671:8676] CHIP:TOO: [4]: 65528
54+
[1649664685.946790][8671:8676] CHIP:TOO: [5]: 65529
55+
[1649664685.946836][8671:8676] CHIP:TOO: [6]: 65531
56+
[1649664685.946901][8671:8676] CHIP:TOO: [7]: 65533
57+
disabled: true
58+
59+
- label: "Read EventList (global attribute 65530)"
60+
verification: |
61+
./chip-tool bridgedactions read event-list 1 1
62+
63+
Need to implement in chip-tool
64+
disabled: true
65+
66+
- label:
67+
"Read AcceptedCommandList (global attribute 65529) ; retain this list
68+
for reference in test [TC-ACT-2.2] step 4d"
69+
verification: |
70+
./chip-tool bridgedactions read accepted-command-list 1 1
71+
72+
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF9 DataVersion: 2809940331
73+
CHIP:TOO: AcceptedCommandList: 0 entries
74+
CHIP:EM: Sending Standalone Ack for MessageCounter:3357407 on exchange 13031i
75+
disabled: true
76+
77+
- label: "Read GeneratedCommandList (global attribute 65528)"
78+
verification: |
79+
./chip-tool bridgedactions read generated-command-list 1 1
80+
81+
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF8 DataVersion: 2809940331
82+
CHIP:TOO: GeneratedCommandList: 0 entries
83+
CHIP:EM: Sending Standalone Ack for MessageCounter:14920557 on exchange 16149i
84+
disabled: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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

Comments
 (0)