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 (project-chip#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