Add new class to test security-manager database records. 37/23837/1
authorMarcin Lis <m.lis@samsung.com>
Wed, 2 Jul 2014 13:38:41 +0000 (15:38 +0200)
committerMarcin Lis <m.lis@samsung.com>
Thu, 3 Jul 2014 14:05:01 +0000 (16:05 +0200)
commitba6c5d3186e25420c910a7531d6f39439a533b5d
treede4d86b7cf57a12139c52c49bdac9a5d8e9053ed
parent4dcf9e095a6cf626e5f93e237198170c617e6d50
Add new class to test security-manager database records.

Reuse the concept implemented in libprivilege-control tests.

The interface of the introduced class may be used in security-manager tests.
Currently it allows to check if app and pkg have been successfully installed
along with all requested privileges. Checking application uninstallation is
possible as well.

Change-Id: I1eb95312c7ace890402533ef17645b91485ad443
Signed-off-by: Marcin Lis <m.lis@samsung.com>
packaging/security-tests.spec
tests/security-manager-tests/CMakeLists.txt
tests/security-manager-tests/common/sm_db.cpp [new file with mode: 0644]
tests/security-manager-tests/common/sm_db.h [new file with mode: 0644]