@@ -50,36 +50,24 @@ TEST(TestAttributePathExpandIterator, TestAllWildcard)
50
50
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
51
51
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
52
52
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
53
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
54
- { kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
55
- #endif
56
53
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
57
54
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
58
55
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
59
56
{ kMockEndpoint1 , MockClusterId (2 ), MockAttributeId (1 ) },
60
57
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
61
58
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
62
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
63
- { kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
64
- #endif
65
59
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
66
60
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
67
61
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
68
62
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
69
63
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
70
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
71
- { kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
72
- #endif
73
64
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
74
65
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
75
66
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
76
67
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (1 ) },
77
68
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (2 ) },
78
69
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
79
70
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
80
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
81
- { kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
82
- #endif
83
71
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
84
72
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
85
73
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -88,18 +76,12 @@ TEST(TestAttributePathExpandIterator, TestAllWildcard)
88
76
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
89
77
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
90
78
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
91
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
92
- { kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
93
- #endif
94
79
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
95
80
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
96
81
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
97
82
{ kMockEndpoint3 , MockClusterId (1 ), MockAttributeId (1 ) },
98
83
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
99
84
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
100
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
101
- { kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
102
- #endif
103
85
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
104
86
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
105
87
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -109,25 +91,16 @@ TEST(TestAttributePathExpandIterator, TestAllWildcard)
109
91
{ kMockEndpoint3 , MockClusterId (2 ), MockAttributeId (4 ) },
110
92
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
111
93
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
112
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
113
- { kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
114
- #endif
115
94
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
116
95
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
117
96
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
118
97
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
119
98
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
120
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
121
- { kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
122
- #endif
123
99
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
124
100
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::ClusterRevision::Id },
125
101
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::FeatureMap::Id },
126
102
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
127
103
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
128
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
129
- { kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::EventList::Id },
130
- #endif
131
104
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AttributeList::Id },
132
105
};
133
106
@@ -237,9 +210,6 @@ TEST(TestAttributePathExpandIterator, TestWildcardAttribute)
237
210
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
238
211
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
239
212
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
240
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
241
- { kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
242
- #endif
243
213
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
244
214
};
245
215
@@ -314,36 +284,24 @@ TEST(TestAttributePathExpandIterator, TestMultipleClusInfo)
314
284
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
315
285
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
316
286
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
317
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
318
- { kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
319
- #endif
320
287
{ kMockEndpoint1 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
321
288
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
322
289
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
323
290
{ kMockEndpoint1 , MockClusterId (2 ), MockAttributeId (1 ) },
324
291
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
325
292
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
326
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
327
- { kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
328
- #endif
329
293
{ kMockEndpoint1 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
330
294
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
331
295
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
332
296
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
333
297
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
334
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
335
- { kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
336
- #endif
337
298
{ kMockEndpoint2 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
338
299
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
339
300
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
340
301
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (1 ) },
341
302
{ kMockEndpoint2 , MockClusterId (2 ), MockAttributeId (2 ) },
342
303
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
343
304
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
344
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
345
- { kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
346
- #endif
347
305
{ kMockEndpoint2 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
348
306
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
349
307
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -352,18 +310,12 @@ TEST(TestAttributePathExpandIterator, TestMultipleClusInfo)
352
310
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
353
311
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
354
312
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
355
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
356
- { kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
357
- #endif
358
313
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
359
314
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
360
315
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::FeatureMap::Id },
361
316
{ kMockEndpoint3 , MockClusterId (1 ), MockAttributeId (1 ) },
362
317
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
363
318
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
364
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
365
- { kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::EventList::Id },
366
- #endif
367
319
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::AttributeList::Id },
368
320
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::ClusterRevision::Id },
369
321
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::FeatureMap::Id },
@@ -373,25 +325,16 @@ TEST(TestAttributePathExpandIterator, TestMultipleClusInfo)
373
325
{ kMockEndpoint3 , MockClusterId (2 ), MockAttributeId (4 ) },
374
326
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
375
327
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
376
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
377
- { kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::EventList::Id },
378
- #endif
379
328
{ kMockEndpoint3 , MockClusterId (2 ), Clusters::Globals::Attributes::AttributeList::Id },
380
329
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::ClusterRevision::Id },
381
330
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::FeatureMap::Id },
382
331
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
383
332
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
384
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
385
- { kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
386
- #endif
387
333
{ kMockEndpoint3 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
388
334
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::ClusterRevision::Id },
389
335
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::FeatureMap::Id },
390
336
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
391
337
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
392
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
393
- { kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::EventList::Id },
394
- #endif
395
338
{ kMockEndpoint3 , MockClusterId (4 ), Clusters::Globals::Attributes::AttributeList::Id },
396
339
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
397
340
{ kMockEndpoint3 , MockClusterId (1 ), Clusters::Globals::Attributes::ClusterRevision::Id },
@@ -405,9 +348,6 @@ TEST(TestAttributePathExpandIterator, TestMultipleClusInfo)
405
348
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
406
349
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::GeneratedCommandList::Id },
407
350
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AcceptedCommandList::Id },
408
- #if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE
409
- { kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::EventList::Id },
410
- #endif
411
351
{ kMockEndpoint2 , MockClusterId (3 ), Clusters::Globals::Attributes::AttributeList::Id },
412
352
{ kMockEndpoint2 , MockClusterId (3 ), MockAttributeId (3 ) },
413
353
};
0 commit comments