@@ -1310,16 +1310,17 @@ void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingAddRespons
1310
1310
chip::app::ConcreteCommandPath requestCommandPath (kTestEndpointId , kTestClusterId , kTestCommandIdWithData );
1311
1311
CommandHandler commandHandler (&mockCommandHandlerDelegate);
1312
1312
1313
- uint32_t sizeToFill = 50 ; // This is an arbitrary number, we need to select a non-zero value.
1314
- CHIP_ERROR err = commandHandler.AddResponseData (requestCommandPath, ForcedSizeBuffer (sizeToFill));
1313
+ uint32_t sizeToFill = 50 ; // This is an arbitrary number, we need to select a non-zero value.
1314
+ CHIP_ERROR err = commandHandler.AddResponseData (requestCommandPath, ForcedSizeBuffer (sizeToFill));
1315
1315
NL_TEST_ASSERT (apSuite, err == CHIP_NO_ERROR);
1316
1316
1317
1317
// Since calling AddResponseData is supposed to be a no-operation when there is no responder, it is
1318
1318
// hard to validate. Best way is to check that we are still in an Idle state afterwards
1319
1319
NL_TEST_ASSERT (apSuite, commandHandler.TestOnlyIsInIdleState ());
1320
1320
}
1321
1321
1322
- void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrepareFinishCommandApis (nlTestSuite * apSuite, void * apContext)
1322
+ void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrepareFinishCommandApis (nlTestSuite * apSuite,
1323
+ void * apContext)
1323
1324
{
1324
1325
chip::app::ConcreteCommandPath requestCommandPath (kTestEndpointId , kTestClusterId , kTestCommandIdWithData );
1325
1326
CommandHandler commandHandler (&mockCommandHandlerDelegate);
@@ -1330,7 +1331,7 @@ void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrep
1330
1331
// these primitives.
1331
1332
const CommandHandler::InvokeResponseParameters prepareParams (requestCommandPath);
1332
1333
ConcreteCommandPath responseCommandPath = { kTestEndpointId , kTestClusterId , kTestCommandIdCommandSpecificResponse };
1333
- CHIP_ERROR err = commandHandler.PrepareInvokeResponseCommand (responseCommandPath, prepareParams);
1334
+ CHIP_ERROR err = commandHandler.PrepareInvokeResponseCommand (responseCommandPath, prepareParams);
1334
1335
NL_TEST_ASSERT (apSuite, err == CHIP_ERROR_INCORRECT_STATE);
1335
1336
1336
1337
NL_TEST_ASSERT (apSuite, commandHandler.GetCommandDataIBTLVWriter () == nullptr );
0 commit comments