Fix unit tests 20/279520/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 11 Aug 2022 01:20:22 +0000 (10:20 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 11 Aug 2022 01:20:22 +0000 (10:20 +0900)
commitbac9b71c15fb5fe8869bc45aa4f8dd55e28ba090
treeca2d150e4fdeb2b92d5b8283d6a7fe8431a44391
parentf93ddd362aa5a5a5377d226ecd64441786815e58
Fix unit tests

The aul_comp_context and aul_comp_info APIs were refactored using C++ language.
When calling the aul_comp_context_destroy() and the aul_comp_info_destroy(),
the free() is not called to release.
This patch adds fake functions to avoid crash issues.

Change-Id: Id4aed990f86c2e7f9f61e9e056c77390ccfda4d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
mock/aul_mock.cc
mock/aul_mock.h
test/unit_tests/test_component_context.cc
test/unit_tests/test_component_info.cc