Add tests to libprivilege-control perm_app_has_permission function. 24/20524/6
authorMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 8 May 2014 10:03:25 +0000 (12:03 +0200)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Tue, 13 May 2014 09:28:34 +0000 (11:28 +0200)
commit554f9de26fc15c3fbde1e4811d44a3ba90a8f7b4
tree59fd511f9a30add6f4484aafa4fc9197720f0a57
parentbf47add361fe182b182cd6f2277276ac7a5482d3
Add tests to libprivilege-control perm_app_has_permission function.

libprivilege-control function perm_app_has_permission has been restored
and changed.
See:
-> 'Restore perm_app_has_permission API function.'
-> 'Adjust perm_app_has_permission API function to Tizen 3.0 model.'

Verification:
-> security-tests.sh libprivilege-control --output=text --runignored
   (following tests should pass:
    -> privilege_control20_perm_app_has_permission
    -> privilege_control21m_incorrect_params_perm_app_has_permission)

Change-Id: I62d38b4665e5cc51f50b284378a3197dc8daefd2
tests/libprivilege-control-tests/test_cases.cpp
tests/libprivilege-control-tests/test_cases_incorrect_params.cpp