@@ -271,8 +271,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestSubjectHasActiveSubscription
271
271
272
272
// Create and setup readHandler 1
273
273
ReadHandler * readHandler1 = engine->GetReadHandlerPool ().CreateObject (
274
- nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
275
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
274
+ nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
276
275
277
276
// Verify that Bob still doesn't have an active subscription
278
277
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, bobNodeId));
@@ -319,16 +318,14 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestSubjectHasActiveSubscription
319
318
320
319
// Create readHandler 1
321
320
engine->GetReadHandlerPool ().CreateObject (nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe,
322
- reporting::GetDefaultReportScheduler (),
323
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
321
+ reporting::GetDefaultReportScheduler ());
324
322
325
323
// Verify that Bob still doesn't have an active subscription
326
324
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, bobNodeId));
327
325
328
326
// Create and setup readHandler 2
329
327
ReadHandler * readHandler2 = engine->GetReadHandlerPool ().CreateObject (
330
- nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
331
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
328
+ nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
332
329
333
330
// Verify that Bob still doesn't have an active subscription
334
331
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, bobNodeId));
@@ -380,13 +377,11 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestSubjectHasActiveSubscription
380
377
381
378
// Create and setup readHandler 1
382
379
ReadHandler * readHandler1 = engine->GetReadHandlerPool ().CreateObject (
383
- nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
384
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
380
+ nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
385
381
386
382
// Create and setup readHandler 2
387
383
ReadHandler * readHandler2 = engine->GetReadHandlerPool ().CreateObject (
388
- nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
389
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
384
+ nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
390
385
391
386
// Verify that Bob still doesn't have an active subscription
392
387
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, bobNodeId));
@@ -463,23 +458,19 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestSubjectHasActiveSubscription
463
458
464
459
// Create and setup readHandler 1-1
465
460
engine->GetReadHandlerPool ().CreateObject (nullCallback, exchangeCtx11, ReadHandler::InteractionType::Subscribe,
466
- reporting::GetDefaultReportScheduler (),
467
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
461
+ reporting::GetDefaultReportScheduler ());
468
462
469
463
// Create and setup readHandler 1-2
470
464
ReadHandler * readHandler12 = engine->GetReadHandlerPool ().CreateObject (
471
- nullCallback, exchangeCtx12, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
472
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
465
+ nullCallback, exchangeCtx12, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
473
466
474
467
// Create and setup readHandler 2-1
475
468
engine->GetReadHandlerPool ().CreateObject (nullCallback, exchangeCtx21, ReadHandler::InteractionType::Subscribe,
476
- reporting::GetDefaultReportScheduler (),
477
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
469
+ reporting::GetDefaultReportScheduler ());
478
470
479
471
// Create and setup readHandler 2-2
480
472
ReadHandler * readHandler22 = engine->GetReadHandlerPool ().CreateObject (
481
- nullCallback, exchangeCtx22, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
482
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
473
+ nullCallback, exchangeCtx22, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
483
474
484
475
// Verify that both Alice and Bob have no active subscriptions
485
476
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, bobNodeId));
@@ -551,8 +542,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestSubjectHasActiveSubscription
551
542
552
543
// Create readHandler
553
544
ReadHandler * readHandler = engine->GetReadHandlerPool ().CreateObject (
554
- nullCallback, exchangeCtx, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
555
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
545
+ nullCallback, exchangeCtx, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
556
546
557
547
// Verify there are not active subscriptions
558
548
EXPECT_FALSE (engine->SubjectHasActiveSubscription (bobFabricIndex, valideSubjectId));
@@ -749,8 +739,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestFabricHasAtLeastOneActiveSub
749
739
750
740
// Create and setup readHandler 1
751
741
ReadHandler * readHandler1 = engine->GetReadHandlerPool ().CreateObject (
752
- nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
753
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
742
+ nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
754
743
755
744
// Verify that fabric 1 still doesn't have an active subscription
756
745
EXPECT_FALSE (engine->FabricHasAtLeastOneActiveSubscription (fabricIndex1));
@@ -766,8 +755,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestFabricHasAtLeastOneActiveSub
766
755
767
756
// Create and setup readHandler 2
768
757
ReadHandler * readHandler2 = engine->GetReadHandlerPool ().CreateObject (
769
- nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
770
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
758
+ nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
771
759
772
760
// Set readHandler2 to active
773
761
readHandler2->SetStateFlag (ReadHandler::ReadHandlerFlags::ActiveSubscription, true );
@@ -805,8 +793,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestFabricHasAtLeastOneActiveSub
805
793
806
794
// Create and setup readHandler 1
807
795
ReadHandler * readHandler1 = engine->GetReadHandlerPool ().CreateObject (
808
- nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
809
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
796
+ nullCallback, exchangeCtx1, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
810
797
811
798
// Verify that the fabric still doesn't have an active subscription
812
799
EXPECT_FALSE (engine->FabricHasAtLeastOneActiveSubscription (fabricIndex));
@@ -819,8 +806,7 @@ TEST_F_FROM_FIXTURE(TestInteractionModelEngine, TestFabricHasAtLeastOneActiveSub
819
806
820
807
// Create and setup readHandler 2
821
808
ReadHandler * readHandler2 = engine->GetReadHandlerPool ().CreateObject (
822
- nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler (),
823
- CodegenDataModelProviderInstance (nullptr /* delegate */ ));
809
+ nullCallback, exchangeCtx2, ReadHandler::InteractionType::Subscribe, reporting::GetDefaultReportScheduler ());
824
810
825
811
// Verify that the fabric still has an active subscription
826
812
EXPECT_TRUE (engine->FabricHasAtLeastOneActiveSubscription (fabricIndex));
0 commit comments