Skip to content

Commit 411e8ab

Browse files
committed
Style changes
1 parent 69c3a05 commit 411e8ab

File tree

2 files changed

+266
-259
lines changed

2 files changed

+266
-259
lines changed

src/app/tests/suites/certification/Test_TC_MTRID_2_1.yaml

+139-136
Original file line numberDiff line numberDiff line change
@@ -15,143 +15,146 @@
1515
name: X.2.1. [TC-MTRID-2.1] Attributes with DUT as Server
1616

1717
PICS:
18-
- MTRID.S
18+
- MTRID.S
1919

2020
config:
21-
nodeId: 0x12344321
22-
cluster: "Meter Identification"
23-
endpoint: 1
24-
TEST_EVENT_TRIGGER_KEY:
25-
type: octet_string
26-
defaultValue: "hex:00112233445566778899aabbccddeeff"
27-
TEST_EVENT_TRIGGER_ATTRIBUTES_VALUE_UPDATE:
28-
type: int64u
29-
defaultValue: "0x0b06000000000000"
30-
TEST_EVENT_TRIGGER_TEST_EVENT_CLEAR:
31-
type: int64u
32-
defaultValue: "0x0b06000000000001"
21+
nodeId: 0x12344321
22+
cluster: "Meter Identification"
23+
endpoint: 1
24+
TEST_EVENT_TRIGGER_KEY:
25+
type: octet_string
26+
defaultValue: "hex:00112233445566778899aabbccddeeff"
27+
TEST_EVENT_TRIGGER_ATTRIBUTES_VALUE_UPDATE:
28+
type: int64u
29+
defaultValue: "0x0b06000000000000"
30+
TEST_EVENT_TRIGGER_TEST_EVENT_CLEAR:
31+
type: int64u
32+
defaultValue: "0x0b06000000000001"
3333

3434
tests:
35-
- label: "Step 1: Commission DUT to TH"
36-
cluster: "DelayCommands"
37-
command: "WaitForCommissionee"
38-
arguments:
39-
values:
40-
- name: "nodeId"
41-
value: nodeId
42-
43-
- label: "Step 2: TH reads the MeterType attribute from the DUT"
44-
command: "readAttribute"
45-
attribute: "MeterType"
46-
response:
47-
value: null
48-
49-
- label: "Step 3: TH reads the PointOfDelivery attribute from the DUT"
50-
command: "readAttribute"
51-
attribute: "PointOfDelivery"
52-
response:
53-
value: null
54-
55-
- label: "Step 4: TH reads the MeterSerialNumber attribute from the DUT"
56-
command: "readAttribute"
57-
attribute: "MeterSerialNumber"
58-
response:
59-
value: null
60-
61-
- label: "Step 5: TH reads the ProtocolVersion attribute from the DUT"
62-
PICS: MTRID.S.A0003
63-
command: "readAttribute"
64-
attribute: "ProtocolVersion"
65-
response:
66-
value: null
67-
68-
- label: "Step 6: TH reads the PowerThreshold attribute from the DUT"
69-
PICS: MTRID.S.A0004
70-
command: "readAttribute"
71-
attribute: "PowerThreshold"
72-
response:
73-
value: null
74-
75-
- label: "Step 7: TH reads TestEventTriggersEnabled attribute from General
76-
Diagnostics Cluster"
77-
PICS: DGGEN.S.A0008
78-
cluster: "General Diagnostics"
79-
endpoint: 0
80-
command: "readAttribute"
81-
attribute: "TestEventTriggersEnabled"
82-
response:
83-
value: 1
84-
85-
- label: "Step 8: TH sends TestEventTrigger command to General Diagnostics
86-
Cluster on Endpoint 0 with EnableKey field set to
87-
PIXIT.MTRID.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to
88-
PIXIT.MTRID.TEST_EVENT_TRIGGER for Attributes Value Update Test Event"
89-
PICS: DGGEN.S.C00.Rsp
90-
cluster: "General Diagnostics"
91-
endpoint: 0
92-
command: "TestEventTrigger"
93-
arguments:
94-
values:
95-
- name: "EnableKey"
96-
value: TEST_EVENT_TRIGGER_KEY
97-
- name: "EventTrigger"
98-
value: TEST_EVENT_TRIGGER_ATTRIBUTES_VALUE_UPDATE
99-
100-
- label: "Step 9: TH reads the MeterType attribute from the DUT"
101-
command: "readAttribute"
102-
attribute: "MeterType"
103-
response:
104-
constraints:
105-
type: "MeterTypeEnum"
106-
anyOf: [0, 1, 2]
107-
108-
- label: "Step 10: TH reads the PointOfDelivery attribute from the DUT"
109-
command: "readAttribute"
110-
attribute: "PointOfDelivery"
111-
response:
112-
constraints:
113-
type: char_string
114-
minLength: 0
115-
maxLength: 64
116-
117-
- label: "Step 11: TH reads the MeterSerialNumber attribute from the DUT"
118-
command: "readAttribute"
119-
attribute: "MeterSerialNumber"
120-
response:
121-
constraints:
122-
type: char_string
123-
minLength: 0
124-
maxLength: 64
125-
126-
- label: "Step 12: TH reads the ProtocolVersion attribute from the DUT"
127-
PICS: MTRID.S.A0003
128-
command: "readAttribute"
129-
attribute: "ProtocolVersion"
130-
response:
131-
constraints:
132-
type: char_string
133-
minLength: 0
134-
maxLength: 64
135-
136-
- label: "Step 13: TH reads the PowerThreshold attribute from the DUT"
137-
PICS: MTRID.S.A0004
138-
command: "readAttribute"
139-
attribute: "PowerThreshold"
140-
response:
141-
constraints:
142-
type: "PowerThresholdStruct"
143-
144-
- label: "Step 14: TH sends TestEventTrigger command to General Diagnostics
145-
Cluster on Endpoint 0 with EnableKey field set to
146-
PIXIT.MTRID.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to
147-
PIXIT.MTRID.TEST_EVENT_TRIGGER for Test Event Clear"
148-
PICS: DGGEN.S.C00.Rsp
149-
cluster: "General Diagnostics"
150-
endpoint: 0
151-
command: "TestEventTrigger"
152-
arguments:
153-
values:
154-
- name: "EnableKey"
155-
value: TEST_EVENT_TRIGGER_KEY
156-
- name: "EventTrigger"
157-
value: TEST_EVENT_TRIGGER_TEST_EVENT_CLEAR
35+
- label: "Step 1: Commission DUT to TH"
36+
cluster: "DelayCommands"
37+
command: "WaitForCommissionee"
38+
arguments:
39+
values:
40+
- name: "nodeId"
41+
value: nodeId
42+
43+
- label: "Step 2: TH reads the MeterType attribute from the DUT"
44+
command: "readAttribute"
45+
attribute: "MeterType"
46+
response:
47+
value: null
48+
49+
- label: "Step 3: TH reads the PointOfDelivery attribute from the DUT"
50+
command: "readAttribute"
51+
attribute: "PointOfDelivery"
52+
response:
53+
value: null
54+
55+
- label: "Step 4: TH reads the MeterSerialNumber attribute from the DUT"
56+
command: "readAttribute"
57+
attribute: "MeterSerialNumber"
58+
response:
59+
value: null
60+
61+
- label: "Step 5: TH reads the ProtocolVersion attribute from the DUT"
62+
PICS: MTRID.S.A0003
63+
command: "readAttribute"
64+
attribute: "ProtocolVersion"
65+
response:
66+
value: null
67+
68+
- label: "Step 6: TH reads the PowerThreshold attribute from the DUT"
69+
PICS: MTRID.S.A0004
70+
command: "readAttribute"
71+
attribute: "PowerThreshold"
72+
response:
73+
value: null
74+
75+
- label:
76+
"Step 7: TH reads TestEventTriggersEnabled attribute from General
77+
Diagnostics Cluster"
78+
PICS: DGGEN.S.A0008
79+
cluster: "General Diagnostics"
80+
endpoint: 0
81+
command: "readAttribute"
82+
attribute: "TestEventTriggersEnabled"
83+
response:
84+
value: 1
85+
86+
- label:
87+
"Step 8: TH sends TestEventTrigger command to General Diagnostics
88+
Cluster on Endpoint 0 with EnableKey field set to
89+
PIXIT.MTRID.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to
90+
PIXIT.MTRID.TEST_EVENT_TRIGGER for Attributes Value Update Test Event"
91+
PICS: DGGEN.S.C00.Rsp
92+
cluster: "General Diagnostics"
93+
endpoint: 0
94+
command: "TestEventTrigger"
95+
arguments:
96+
values:
97+
- name: "EnableKey"
98+
value: TEST_EVENT_TRIGGER_KEY
99+
- name: "EventTrigger"
100+
value: TEST_EVENT_TRIGGER_ATTRIBUTES_VALUE_UPDATE
101+
102+
- label: "Step 9: TH reads the MeterType attribute from the DUT"
103+
command: "readAttribute"
104+
attribute: "MeterType"
105+
response:
106+
constraints:
107+
type: "MeterTypeEnum"
108+
anyOf: [0, 1, 2]
109+
110+
- label: "Step 10: TH reads the PointOfDelivery attribute from the DUT"
111+
command: "readAttribute"
112+
attribute: "PointOfDelivery"
113+
response:
114+
constraints:
115+
type: char_string
116+
minLength: 0
117+
maxLength: 64
118+
119+
- label: "Step 11: TH reads the MeterSerialNumber attribute from the DUT"
120+
command: "readAttribute"
121+
attribute: "MeterSerialNumber"
122+
response:
123+
constraints:
124+
type: char_string
125+
minLength: 0
126+
maxLength: 64
127+
128+
- label: "Step 12: TH reads the ProtocolVersion attribute from the DUT"
129+
PICS: MTRID.S.A0003
130+
command: "readAttribute"
131+
attribute: "ProtocolVersion"
132+
response:
133+
constraints:
134+
type: char_string
135+
minLength: 0
136+
maxLength: 64
137+
138+
- label: "Step 13: TH reads the PowerThreshold attribute from the DUT"
139+
PICS: MTRID.S.A0004
140+
command: "readAttribute"
141+
attribute: "PowerThreshold"
142+
response:
143+
constraints:
144+
type: "PowerThresholdStruct"
145+
146+
- label:
147+
"Step 14: TH sends TestEventTrigger command to General Diagnostics
148+
Cluster on Endpoint 0 with EnableKey field set to
149+
PIXIT.MTRID.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to
150+
PIXIT.MTRID.TEST_EVENT_TRIGGER for Test Event Clear"
151+
PICS: DGGEN.S.C00.Rsp
152+
cluster: "General Diagnostics"
153+
endpoint: 0
154+
command: "TestEventTrigger"
155+
arguments:
156+
values:
157+
- name: "EnableKey"
158+
value: TEST_EVENT_TRIGGER_KEY
159+
- name: "EventTrigger"
160+
value: TEST_EVENT_TRIGGER_TEST_EVENT_CLEAR

0 commit comments

Comments
 (0)