Skip to content

Commit

Permalink
Add missing test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Dec 15, 2023
1 parent 105fc21 commit f859a2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/protocols/secure_channel/tests/TestCheckinMsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ void TestCheckInMsg::TestCheckinMessageGenerate_ValidInputsTooSmallOutput(nlTest
NL_TEST_ASSERT(inSuite, CHIP_ERROR_BUFFER_TOO_SMALL == GenerateAndVerifyPayload(inSuite, output, vector));
}

/**
* @brief Test verifies that the Check-In Message generations returns an error if the AesKeyHandle is empty
*/
void TestCheckInMsg::TestCheckInMessageGenerate_EmptyAesKeyHandle(nlTestSuite * inSuite, void * inContexT)
{
TestSessionKeystoreImpl keystore;
Expand Down Expand Up @@ -215,6 +218,9 @@ void TestCheckInMsg::TestCheckInMessageGenerate_EmptyAesKeyHandle(nlTestSuite *
keystore.DestroyKey(hmac128KeyHandle);
}

/**
* @brief Test verifies that the Check-In Message generations returns an error if the HmacKeyHandle is empty
*/
void TestCheckInMsg::TestCheckInMessageGenerate_EmptyHmacKeyHandle(nlTestSuite * inSuite, void * inContexT)
{
TestSessionKeystoreImpl keystore;
Expand Down

0 comments on commit f859a2d

Please sign in to comment.