tests: unittest: Add pass-parser invalid test 54/280754/4
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Jun 2022 09:30:13 +0000 (18:30 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 7 Sep 2022 03:13:03 +0000 (03:13 +0000)
commit873f5cb6eb8c6c0e3c154918fe936f940b245980
treee4f72281e271f1d51075c3f4533d4c9d1aa0aba8
parent47bcf74f5789b3db5afc2842d1b2c08244aed7a5
tests: unittest: Add pass-parser invalid test

Add pass-parser invalid unittests for each section
- Test for invalid level section
- Test for invalid pmqos section
- Test for invalid thermal section
- Test for invalid header section
- Test for invalid battery h/w resource type
- Test for invalid memory h/w resource type

Change-Id: Ibdf109751560fc130ce3d8680867c9ac81be1c56
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
15 files changed:
tests/unittest/pass-unittests.cc
tests/unittest/scripts/invalid-battery/pass-battery.json [new file with mode: 0644]
tests/unittest/scripts/invalid-battery/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-header/pass-bus0.json [new file with mode: 0644]
tests/unittest/scripts/invalid-header/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-level/pass-cpu0.json [new file with mode: 0644]
tests/unittest/scripts/invalid-level/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-memory/pass-memory.json [new file with mode: 0644]
tests/unittest/scripts/invalid-memory/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-pmqos/pass-cpu0.json [new file with mode: 0644]
tests/unittest/scripts/invalid-pmqos/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-thermal/pass-cpu.json [new file with mode: 0644]
tests/unittest/scripts/invalid-thermal/pass-cpu1.json [new file with mode: 0644]
tests/unittest/scripts/invalid-thermal/pass.json [new file with mode: 0644]
tests/unittest/scripts/invalid-thermal/pass1.json [new file with mode: 0644]