Add unit tests for mm_radio.c 60/317860/6 tizen
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 19 Sep 2024 10:52:45 +0000 (19:52 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 20 Sep 2024 09:14:27 +0000 (18:14 +0900)
commit6606b99aefd47d531f4afa2e4e68ce01ca832038
tree65f7634dfbca5dc951112178b3b31049cece143f
parent53da0504973d5c1e7b81de3d484c0006697422b5
Add unit tests for mm_radio.c

- These tests use Google Mock to create mock objects and verify the behavior of the tested functions.
  The tests cover both positive and negative scenarios,
  including invalid input parameters and internal errors.
- With this addition, we significantly enhance the robustness and reliability of the mm-radio library,
  making it easier to maintain and extend over time.

[Version] 0.3.5
[Issue Type] Add unittest

Change-Id: Ie97ff03457ad0efde023156817156776672ad209
configure.ac
packaging/libmm-radio.spec
src/mm_radio.c
unittest/Makefile.am
unittest/gtest_libmm-radio.cpp [changed mode: 0755->0644]
unittest/libmm-radio-mock.cpp [new file with mode: 0644]
unittest/libmm-radio-mock.h [new file with mode: 0644]
unittest/ut_base.hpp [moved from unittest/gtest_libmm-radio.h with 55% similarity]