-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set of fixes to unit-tests code (#23071)
* [Fix] Execute TestLogBufferAsHex only if CHIP_PROGRESS_LOGGING TestLogBufferAsHex test validates the LogBufferAsHex function which uses ChipLogProgress(). If progress logging is disable this test failed. Execute it only if CHIP_PROGRESS_LOGGING is defined. Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Fix PeerAddress string conversion test Allow uppercase IPV6 string conversion. Check both cases. Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Fix ArgParser in support library Fix parse args for embedded non posix long_opt implementation. Disable a parse args unit test for non posix long_opt. Fix duplicate id in option sets in ParseArgs unit test. Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Fix warnings of incorrect types in printf formatting src/app/util/mock/attribute-storage.cpp src/controller/tests/data_model/TestRead.cpp src/lib/support/jsontlv/TlvJson.cpp Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Add missing assert header include in TestInetCommonPosix Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Fix TestReadInteraction implementation Remove leftover debug printf. Drain and service IO repeatedly until condition met. Signed-off-by: ATmobica <artur.tynecki@mobica.com> * [Fix] Fix controller unit tests Change TestReadChunkingTests to TestEventChunkingTests in TestEventChunkingTests.cpp Signed-off-by: ATmobica <artur.tynecki@mobica.com> Signed-off-by: ATmobica <artur.tynecki@mobica.com>
- Loading branch information
Showing
9 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters