tests: unittest: Add unittest of pass-parser module 23/276923/2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 23 Jun 2022 08:31:29 +0000 (17:31 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Jul 2022 06:43:21 +0000 (15:43 +0900)
commitabe3bebcc029715b784d90bbf12615858cbab859
tree7763d049f182e9f5299b32dc8906bc58456c525b
parentb8dbe535c39f94309b6fbfa244e857506a246a19
tests: unittest: Add unittest of pass-parser module

PASS daemon requires the json configuration containing
the device-dependent information. The described information
of json configuration are used for PASS opeartion.

Add unittest of pass-parser module for both valid
and invalid case under 'device_list' property.

Change-Id: I63b650dc34ddefe9873f28e0a9c46fff21e90936
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
tests/unittest/CMakeLists.txt
tests/unittest/pass-unittests.cc
tests/unittest/scripts/invalid/pass.json [new file with mode: 0644]
tests/unittest/scripts/valid/pass.json [new file with mode: 0644]