Add test case for checking callback invocation 80/286180/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 14 Nov 2022 12:07:00 +0000 (21:07 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 30 Dec 2022 01:31:53 +0000 (10:31 +0900)
commit80aff2515c2719f03ab3f433e9119acab57a4d54
tree8f6a6f301eef5f83a3c3a2fe4a69c4aaf023d297
parent7fbeac16e26f8dc6a88a8cf9f7043710f9f26eec
Add test case for checking callback invocation

- Issue:
There is no test case for checking whether the callbacks which are set
by manager is invoked.

- Solution:
The voice control framework provides manager API for sending pcm data as
recording data. Using this APIs, we can simulate the situation that the
user says something. Thus, we can make new test case in this situation.
And also, using app manager framework, we can make situation that the
engine is suddenly terminate.
Using these simulation, this patch creates new test cases for checking
whether the callback is invoked. Through this patch, developer can check
some callbacks are properly invoked in proper situation.

Change-Id: I42d4167c1d6dc33b67858e309264a542032f5f3e
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
tests/CMakeLists.txt
tests/org.tizen.vc-unittests.xml
tests/res/test_pcm.dat [new file with mode: 0644]
tests/src/vc_mgr_unittests.cpp