Skip to content

Commit b89e83b

Browse files
authored
Implemented Feature Flag to Enable/Disable Global EventList Attribute (#25294)
* Implemented Feature Flag to Enable/Disable Global EventList Attribute * Added ifdefs to the TestAttributePathExpandIterator.cpp test * Updated YAML tests * ZAP REGEN
1 parent 265d55c commit b89e83b

Some content is hidden

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

59 files changed

+140
-221
lines changed

src/app/BUILD.gn

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ declare_args() {
4040

4141
# By default, the resources used by each fabric is unlimited if they are allocated on heap. This flag is for checking the resource usage even when they are allocated on heap to increase code coverage in integration tests.
4242
chip_im_force_fabric_quota_check = false
43+
44+
enable_eventlist_attribute = false
4345
}
4446

4547
buildconfig_header("app_buildconfig") {
@@ -52,6 +54,7 @@ buildconfig_header("app_buildconfig") {
5254
"CHIP_CONFIG_ENABLE_SESSION_RESUMPTION=${chip_enable_session_resumption}",
5355
"CHIP_CONFIG_ACCESS_CONTROL_POLICY_LOGGING_VERBOSITY=${chip_access_control_policy_logging_verbosity}",
5456
"CHIP_CONFIG_PERSIST_SUBSCRIPTIONS=${chip_persist_subscriptions}",
57+
"CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE=${enable_eventlist_attribute}",
5558
]
5659
}
5760

src/app/GlobalAttributes.h

+2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ namespace app {
3131
constexpr AttributeId GlobalAttributesNotInMetadata[] = {
3232
Clusters::Globals::Attributes::GeneratedCommandList::Id,
3333
Clusters::Globals::Attributes::AcceptedCommandList::Id,
34+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
3435
Clusters::Globals::Attributes::EventList::Id,
36+
#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
3537
Clusters::Globals::Attributes::AttributeList::Id,
3638
};
3739

src/app/tests/TestAttributePathExpandIterator.cpp

+40
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,36 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
4949
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
5050
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
5151
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
52+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
5253
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
54+
#endif
5355
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
5456
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
5557
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
5658
{ kMockEndpoint1, MockClusterId(2), MockAttributeId(1) },
5759
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
5860
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
61+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
5962
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
63+
#endif
6064
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
6165
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
6266
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
6367
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
6468
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
69+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
6570
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
71+
#endif
6672
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
6773
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
6874
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
6975
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(1) },
7076
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(2) },
7177
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
7278
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
79+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
7380
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
81+
#endif
7482
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
7583
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
7684
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -79,14 +87,18 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
7987
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
8088
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
8189
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
90+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
8291
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
92+
#endif
8393
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
8494
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
8595
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
8696
{ kMockEndpoint3, MockClusterId(1), MockAttributeId(1) },
8797
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
8898
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
99+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
89100
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
101+
#endif
90102
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
91103
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
92104
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -96,19 +108,25 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
96108
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(4) },
97109
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
98110
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
111+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
99112
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
113+
#endif
100114
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
101115
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
102116
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
103117
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
104118
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
119+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
105120
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
121+
#endif
106122
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
107123
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
108124
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id },
109125
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id },
110126
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id },
127+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
111128
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::EventList::Id },
129+
#endif
112130
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id },
113131
};
114132

@@ -214,7 +232,9 @@ void TestWildcardAttribute(nlTestSuite * apSuite, void * apContext)
214232
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
215233
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
216234
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
235+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
217236
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
237+
#endif
218238
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
219239
};
220240

@@ -287,28 +307,36 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
287307
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
288308
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
289309
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
310+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
290311
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
312+
#endif
291313
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
292314
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
293315
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
294316
{ kMockEndpoint1, MockClusterId(2), MockAttributeId(1) },
295317
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
296318
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
319+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
297320
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
321+
#endif
298322
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
299323
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
300324
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
301325
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
302326
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
327+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
303328
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
329+
#endif
304330
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
305331
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
306332
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
307333
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(1) },
308334
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(2) },
309335
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
310336
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
337+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
311338
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
339+
#endif
312340
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
313341
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
314342
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -317,14 +345,18 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
317345
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
318346
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
319347
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
348+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
320349
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
350+
#endif
321351
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
322352
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
323353
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
324354
{ kMockEndpoint3, MockClusterId(1), MockAttributeId(1) },
325355
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
326356
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
357+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
327358
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id },
359+
#endif
328360
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
329361
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
330362
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -334,19 +366,25 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
334366
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(4) },
335367
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
336368
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
369+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
337370
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id },
371+
#endif
338372
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
339373
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
340374
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
341375
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
342376
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
377+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
343378
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
379+
#endif
344380
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
345381
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
346382
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id },
347383
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id },
348384
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id },
385+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
349386
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::EventList::Id },
387+
#endif
350388
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id },
351389
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
352390
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
@@ -360,7 +398,9 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
360398
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
361399
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
362400
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
401+
#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
363402
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id },
403+
#endif
364404
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
365405
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
366406
};

src/app/tests/suites/TestBasicInformation.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ tests:
7979
19,
8080
0xFFF8, # GeneratedCommandList
8181
0xFFF9, # AcceptedCommandList
82-
0xFFFA, # EventList
8382
0xFFFB, # AttributeList
8483
0xFFFC, # FeatureMap
8584
0xFFFD, # ClusterRevision

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tests:
5353
response:
5454
constraints:
5555
type: list
56-
contains: [0, 2, 3, 4, 65528, 65529, 65530, 65531, 65532, 65533]
56+
contains: [0, 2, 3, 4, 65528, 65529, 65531, 65532, 65533]
5757

5858
- label: "TH reads optional attribute (Extension) in AttributeList"
5959
PICS: ACL.S.A0001

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tests:
5353
response:
5454
constraints:
5555
type: list
56-
contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533]
56+
contains: [0, 1, 65528, 65529, 65531, 65532, 65533]
5757

5858
- label: "Read the optional attribute(SetupURL) in AttributeList"
5959
PICS: ACT.S.A0002

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tests:
5555
response:
5656
constraints:
5757
type: list
58-
contains: [65528, 65529, 65530, 65531, 65532, 65533]
58+
contains: [65528, 65529, 65531, 65532, 65533]
5959

6060
- label: "Read the global attribute: AcceptedCommandList"
6161
command: "readAttribute"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ tests:
5555
response:
5656
constraints:
5757
type: list
58-
contains:
59-
[2, 4, 5, 6, 7, 65528, 65529, 65530, 65531, 65532, 65533]
58+
contains: [2, 4, 5, 6, 7, 65528, 65529, 65531, 65532, 65533]
6059

6160
- label: "Read the optional attribute(VendorName) in AttributeList"
6261
PICS: APBSC.S.A0000

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tests:
6565
response:
6666
constraints:
6767
type: list
68-
contains: [65528, 65529, 65530, 65531, 65532, 65533]
68+
contains: [65528, 65529, 65531, 65532, 65533]
6969

7070
- label: "Read the optional attribute(CatalogList) in AttributeList"
7171
PICS: APPLAUNCHER.S.A0000

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ tests:
5656
response:
5757
constraints:
5858
type: list
59-
contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533]
59+
contains: [0, 1, 65528, 65529, 65531, 65532, 65533]
6060

6161
- label: "Read the global attribute: AcceptedCommandList"
6262
command: "readAttribute"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tests:
5353
response:
5454
constraints:
5555
type: list
56-
contains: [0, 65528, 65529, 65530, 65531, 65532, 65533]
56+
contains: [0, 65528, 65529, 65531, 65532, 65533]
5757

5858
- label: "TH reads AcceptedCommandList from DUT"
5959
command: "readAttribute"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tests:
5353
response:
5454
constraints:
5555
type: list
56-
contains: [0, 65528, 65529, 65530, 65531, 65532, 65533]
56+
contains: [0, 65528, 65529, 65531, 65532, 65533]
5757

5858
- label: "Read the global attribute: AcceptedCommandList"
5959
command: "readAttribute"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ tests:
5656
response:
5757
constraints:
5858
type: list
59-
contains: [17, 65528, 65529, 65530, 65531, 65532, 65533]
59+
contains: [17, 65528, 65529, 65531, 65532, 65533]
6060

6161
- label: "TH reads optional attribute(VendorName) in AttributeList"
6262
PICS: BRBINFO.S.A0001

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

+1-13
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,7 @@ tests:
9999
response:
100100
constraints:
101101
type: list
102-
contains:
103-
[
104-
8,
105-
15,
106-
16385,
107-
16394,
108-
65528,
109-
65529,
110-
65530,
111-
65531,
112-
65532,
113-
65533,
114-
]
102+
contains: [8, 15, 16385, 16394, 65528, 65529, 65531, 65532, 65533]
115103

116104
- label: "Read the optional attribute(CurrentHue) in AttributeList"
117105
PICS: CC.S.A0000

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ tests:
5353
response:
5454
constraints:
5555
type: list
56-
contains:
57-
[0, 1, 2, 3, 4, 65528, 65529, 65530, 65531, 65532, 65533]
56+
contains: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533]
5857

5958
- label: "Read the global attribute: AcceptedCommandList"
6059
command: "readAttribute"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ tests:
7373
response:
7474
constraints:
7575
type: list
76-
contains: [65528, 65529, 65530, 65531, 65532, 65533]
76+
contains: [65528, 65529, 65531, 65532, 65533]
7777

7878
- label: "Read the optional attribute(ChannelList): AttributeList"
7979
PICS: CHANNEL.S.A0000

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tests:
7575
response:
7676
constraints:
7777
type: list
78-
contains: [65528, 65529, 65530, 65531, 65532, 65533]
78+
contains: [65528, 65529, 65531, 65532, 65533]
7979

8080
- label:
8181
"Read mandatory attributes in AttributeList if

0 commit comments

Comments
 (0)