diff --git a/src/controller/tests/data_model/TestRead.cpp b/src/controller/tests/data_model/TestRead.cpp index a1d2fd594d31b5..3da6e03ccdb905 100644 --- a/src/controller/tests/data_model/TestRead.cpp +++ b/src/controller/tests/data_model/TestRead.cpp @@ -1723,7 +1723,7 @@ void TestReadInteraction::TestReadHandler_MultipleSubscriptions(nlTestSuite * ap NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 20, - onSubscriptionEstablishedCb, nullptr, nullptr, false, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, false, true) == CHIP_NO_ERROR); } // There are too many messages and the test (gcc_debug, which includes many sanity checks) will be quite slow. Note: report @@ -1787,7 +1787,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionAppRejection(nlTestSuite * NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, false, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, false, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -1860,7 +1860,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest1(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 5, 5, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -1935,7 +1935,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest2(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2010,7 +2010,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest3(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2076,7 +2076,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest4(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2150,7 +2150,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest5(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 4000, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2225,7 +2225,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest6(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 4000, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2299,7 +2299,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest7(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 4000, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2364,7 +2364,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest8(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 4000, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_NO_ERROR); ctx.DrainAndServiceIO(); @@ -2428,7 +2428,7 @@ void TestReadInteraction::TestReadHandler_SubscriptionReportingIntervalsTest9(nl NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 5, 4, - onSubscriptionEstablishedCb, nullptr, nullptr, true) == CHIP_ERROR_INVALID_ARGUMENT); + onSubscriptionEstablishedCb, nullptr, true) == CHIP_ERROR_INVALID_ARGUMENT); // // Failures won't get routed to us here since re-subscriptions are enabled by default in the Controller::SubscribeAttribute @@ -2533,7 +2533,7 @@ void TestReadInteraction::SubscribeThenReadHelper(nlTestSuite * apSuite, TestCon NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &aCtx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, false, true) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, false, true) == CHIP_NO_ERROR); } aCtx.DrainAndServiceIO(); @@ -2632,7 +2632,7 @@ void TestReadInteraction::TestReadHandler_MultipleSubscriptionsWithDataVersionFi NL_TEST_ASSERT(apSuite, Controller::SubscribeAttribute( &ctx.GetExchangeManager(), sessionHandle, kTestEndpointId, onSuccessCb, onFailureCb, 0, 10, - onSubscriptionEstablishedCb, nullptr, nullptr, false, true, dataVersion) == CHIP_NO_ERROR); + onSubscriptionEstablishedCb, nullptr, false, true, dataVersion) == CHIP_NO_ERROR); } // There are too many messages and the test (gcc_debug, which includes many sanity checks) will be quite slow. Note: report