Skip to content

Commit fe8abb1

Browse files
restyled-commitsyunhanw-google
authored andcommitted
Restyled by clang-format
1 parent b48e87c commit fe8abb1

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/app/tests/TestReadInteraction.cpp

+10-11
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ class MockInteractionModelApp : public chip::app::ReadClient::Callback
382382
mError = CHIP_NO_ERROR;
383383
mReceivedAttributePaths.clear();
384384
mReceivedListSizes.clear();
385-
386385
}
387386

388387
bool CapturesMatchExactly(chip::Span<const AttributeCaptureAssertion> captures)
@@ -432,14 +431,14 @@ class MockInteractionModelApp : public chip::app::ReadClient::Callback
432431

433432
int32_t mOnSubscriptionEstablishedCount = 0;
434433
int32_t mOnResubscriptionsAttempted = 0;
435-
int mNumDataElementIndex = 0;
436-
bool mGotEventResponse = false;
437-
int mNumReadEventFailureStatusReceived = 0;
438-
int mNumAttributeResponse = 0;
439-
int mNumArrayItems = 0;
440-
bool mGotReport = false;
441-
bool mReadError = false;
442-
chip::app::ReadHandler * mpReadHandler = nullptr;
434+
int mNumDataElementIndex = 0;
435+
bool mGotEventResponse = false;
436+
int mNumReadEventFailureStatusReceived = 0;
437+
int mNumAttributeResponse = 0;
438+
int mNumArrayItems = 0;
439+
bool mGotReport = false;
440+
bool mReadError = false;
441+
chip::app::ReadHandler * mpReadHandler = nullptr;
443442
chip::app::StatusIB mLastStatusReceived;
444443
CHIP_ERROR mError = CHIP_NO_ERROR;
445444
std::vector<chip::app::ConcreteAttributePath> mReceivedAttributePaths;
@@ -4683,7 +4682,7 @@ void TestReadInteraction::TestSubscribeClientReceiveInvalidSubscribeResponseMess
46834682

46844683
readPrepareParams.mMinIntervalFloorSeconds = 2;
46854684
readPrepareParams.mMaxIntervalCeilingSeconds = 5;
4686-
readPrepareParams.mIsPeerLIT = true;
4685+
readPrepareParams.mIsPeerLIT = true;
46874686

46884687
{
46894688
app::ReadClient readClient(chip::app::InteractionModelEngine::GetInstance(), &GetExchangeManager(), delegate,
@@ -4740,7 +4739,7 @@ void TestReadInteraction::TestSubscribeClientReceiveInvalidSubscribeResponseMess
47404739
EXPECT_EQ(delegate.mOnResubscriptionsAttempted, 1);
47414740

47424741
InteractionModelEngine::GetInstance()->OnActiveModeNotification(
4743-
ScopedNodeId(readClient.GetPeerNodeId(), readClient.GetFabricIndex()));
4742+
ScopedNodeId(readClient.GetPeerNodeId(), readClient.GetFabricIndex()));
47444743
DrainAndServiceIO();
47454744
EXPECT_EQ(callback.mOnSubscriptionEstablishedCount, 1);
47464745
}

0 commit comments

Comments
 (0)