Add unit test cases for enhancing line coverage 84/286184/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 18 Nov 2022 08:34:19 +0000 (17:34 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 30 Dec 2022 01:45:08 +0000 (10:45 +0900)
commite09f94b52546d20a072f7d4343fc7f74f478c8c1
tree576a645d5dad466fb404c3c37999777280dae8ee
parent03c61f11205932ce76f574f894dba54339612757
Add unit test cases for enhancing line coverage

- Issue:
Line coverage of unit test is too low.

- Solution:
This patch adds new test cases to cover uncovered logics in voice
control client library. Through this patch, the line coverage of unit
test will be bigger.

Change-Id: Ida10976a7bd7bb06c6378d367dfec8df06ecf953
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
packaging/voice-control.spec
tests/res/test_command.json
tests/src/test_util.cpp [new file with mode: 0644]
tests/src/test_util.h [new file with mode: 0644]
tests/src/vc_unittests.cpp