Add SM tests covering many apps in single request 95/209295/35
authorAlicja Kluczek <a.kluczek@samsung.com>
Thu, 4 Jul 2019 10:57:32 +0000 (12:57 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Tue, 27 Aug 2019 08:52:35 +0000 (08:52 +0000)
commit12d26cee7e32837d7acec44265fddf3f7b0e917b
treece7cfb221a4b64c089f7dba0cb0c017f29cc2741
parent00afb41d6d9eeb748ce80868e8f32491b5b11b4d
Add SM tests covering many apps in single request

Add tests covering installation & updating many apps in single request.
Add a function checking if an app has proper Smack policy.
Add a function parsing smack rules template files.
Add a function creating a new app in InstallRequest class.
Modify ScopedInstaller class for many apps in single request
compatibility.

Change-Id: I35bb9757f54b111629d45b1769ca4e53ccccd017
src/common/scoped_installer.h
src/common/sm_request.cpp
src/common/sm_request.h
src/security-manager-tests/CMakeLists.txt
src/security-manager-tests/common/sm_commons.cpp
src/security-manager-tests/common/sm_commons.h
src/security-manager-tests/common/template_parser.cpp [new file with mode: 0644]
src/security-manager-tests/common/template_parser.h [new file with mode: 0644]
src/security-manager-tests/test_cases.cpp