@@ -49,28 +49,36 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
49
49
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
50
50
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
51
51
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
52
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
52
53
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
54
+ #endif
53
55
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
54
56
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
55
57
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
56
58
{ kMockEndpoint1 , MockClusterId (2 ), MockAttributeId (1 ) },
57
59
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
58
60
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
61
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
59
62
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
63
+ #endif
60
64
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
61
65
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
62
66
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
63
67
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
64
68
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
69
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
65
70
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
71
+ #endif
66
72
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
67
73
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
68
74
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
69
75
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (1 ) },
70
76
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (2 ) },
71
77
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
72
78
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
79
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
73
80
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
81
+ #endif
74
82
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
75
83
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
76
84
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -79,14 +87,18 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
79
87
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
80
88
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
81
89
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
90
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
82
91
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
92
+ #endif
83
93
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
84
94
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
85
95
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
86
96
{ kMockEndpoint3 , MockClusterId (1 ), MockAttributeId (1 ) },
87
97
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
88
98
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
99
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
89
100
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
101
+ #endif
90
102
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
91
103
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
92
104
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -96,19 +108,25 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
96
108
{ kMockEndpoint3 , MockClusterId (2 ), MockAttributeId (4 ) },
97
109
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
98
110
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
111
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
99
112
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
113
+ #endif
100
114
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
101
115
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
102
116
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
103
117
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
104
118
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
119
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
105
120
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
121
+ #endif
106
122
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
107
123
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::ClusterRevision::Id },
108
124
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::FeatureMap::Id },
109
125
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
110
126
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
127
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
111
128
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::EventList::Id },
129
+ #endif
112
130
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AttributeList::Id },
113
131
};
114
132
@@ -214,7 +232,9 @@ void TestWildcardAttribute(nlTestSuite * apSuite, void * apContext)
214
232
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
215
233
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
216
234
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
235
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
217
236
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
237
+ #endif
218
238
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
219
239
};
220
240
@@ -287,28 +307,36 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
287
307
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
288
308
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
289
309
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
310
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
290
311
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
312
+ #endif
291
313
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
292
314
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
293
315
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
294
316
{ kMockEndpoint1 , MockClusterId (2 ), MockAttributeId (1 ) },
295
317
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
296
318
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
319
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
297
320
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
321
+ #endif
298
322
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
299
323
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
300
324
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
301
325
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
302
326
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
327
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
303
328
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
329
+ #endif
304
330
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
305
331
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
306
332
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
307
333
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (1 ) },
308
334
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (2 ) },
309
335
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
310
336
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
337
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
311
338
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
339
+ #endif
312
340
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
313
341
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
314
342
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -317,14 +345,18 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
317
345
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
318
346
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
319
347
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
348
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
320
349
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
350
+ #endif
321
351
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
322
352
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
323
353
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
324
354
{ kMockEndpoint3 , MockClusterId (1 ), MockAttributeId (1 ) },
325
355
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
326
356
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
357
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
327
358
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
359
+ #endif
328
360
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
329
361
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
330
362
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -334,19 +366,25 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
334
366
{ kMockEndpoint3 , MockClusterId (2 ), MockAttributeId (4 ) },
335
367
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
336
368
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
369
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
337
370
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
371
+ #endif
338
372
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
339
373
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
340
374
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
341
375
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
342
376
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
377
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
343
378
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
379
+ #endif
344
380
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
345
381
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::ClusterRevision::Id },
346
382
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::FeatureMap::Id },
347
383
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
348
384
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
385
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
349
386
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::EventList::Id },
387
+ #endif
350
388
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AttributeList::Id },
351
389
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
352
390
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
@@ -360,7 +398,9 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
360
398
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
361
399
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
362
400
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
401
+ #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
363
402
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
403
+ #endif
364
404
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
365
405
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
366
406
};
0 commit comments