@@ -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 };
0 commit comments