Skip to content

Commit ef098ae

Browse files
restyled-commitstehampson
authored andcommitted
Restyled by clang-format
1 parent efe6a41 commit ef098ae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/app/tests/TestCommandInteraction.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -1310,16 +1310,17 @@ void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingAddRespons
13101310
chip::app::ConcreteCommandPath requestCommandPath(kTestEndpointId, kTestClusterId, kTestCommandIdWithData);
13111311
CommandHandler commandHandler(&mockCommandHandlerDelegate);
13121312

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));
13151315
NL_TEST_ASSERT(apSuite, err == CHIP_NO_ERROR);
13161316

13171317
// Since calling AddResponseData is supposed to be a no-operation when there is no responder, it is
13181318
// hard to validate. Best way is to check that we are still in an Idle state afterwards
13191319
NL_TEST_ASSERT(apSuite, commandHandler.TestOnlyIsInIdleState());
13201320
}
13211321

1322-
void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrepareFinishCommandApis(nlTestSuite * apSuite, void * apContext)
1322+
void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrepareFinishCommandApis(nlTestSuite * apSuite,
1323+
void * apContext)
13231324
{
13241325
chip::app::ConcreteCommandPath requestCommandPath(kTestEndpointId, kTestClusterId, kTestCommandIdWithData);
13251326
CommandHandler commandHandler(&mockCommandHandlerDelegate);
@@ -1330,7 +1331,7 @@ void TestCommandInteraction::TestCommandHandlerWithoutResponderCallingDirectPrep
13301331
// these primitives.
13311332
const CommandHandler::InvokeResponseParameters prepareParams(requestCommandPath);
13321333
ConcreteCommandPath responseCommandPath = { kTestEndpointId, kTestClusterId, kTestCommandIdCommandSpecificResponse };
1333-
CHIP_ERROR err = commandHandler.PrepareInvokeResponseCommand(responseCommandPath, prepareParams);
1334+
CHIP_ERROR err = commandHandler.PrepareInvokeResponseCommand(responseCommandPath, prepareParams);
13341335
NL_TEST_ASSERT(apSuite, err == CHIP_ERROR_INCORRECT_STATE);
13351336

13361337
NL_TEST_ASSERT(apSuite, commandHandler.GetCommandDataIBTLVWriter() == nullptr);

0 commit comments

Comments
 (0)