Simple interface for set up rules.
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Mon, 2 Dec 2013 11:08:04 +0000 (12:08 +0100)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 23 Jan 2014 14:21:36 +0000 (15:21 +0100)
commit5bbeae6db0e66b9b56e083bb34ebfbeaefc8bc2d
treed3a2c76a4feaa150d79096e53e497e75eca5d678
parent558d68e8555af75fe293aa446871847fc581dcb0
Simple interface for set up rules.

Add classes to smack rules managment.
Refactoring of security_server_tests*.

[Issue#]     N/A
[Problem]    People set wrong privileges in tests.
[Cause]      N/A
[Solution]   Create class to help them set proper smack rules.

[Verification] Build, run tests.

Change-Id: Icab5a8f54be9c46ee69fba59f4503d8b4c99b852
16 files changed:
tests/common/CMakeLists.txt
tests/common/access_provider.cpp [new file with mode: 0644]
tests/common/access_provider.h [new file with mode: 0644]
tests/common/smack_access.cpp [new file with mode: 0644]
tests/common/smack_access.h [new file with mode: 0644]
tests/common/tests_common.cpp
tests/common/tests_common.h
tests/common/tracker.h [new file with mode: 0644]
tests/security-server-tests/CMakeLists.txt
tests/security-server-tests/cookie_api.cpp [moved from tests/security-server-tests/security_server_tests_cookie_api.cpp with 71% similarity]
tests/security-server-tests/security_server_tests_client.h [deleted file]
tests/security-server-tests/security_server_tests_open_for.cpp
tests/security-server-tests/security_server_tests_password.cpp
tests/security-server-tests/server.cpp [moved from tests/security-server-tests/security_server_tests_server.cpp with 61% similarity]
tests/security-server-tests/test.h [deleted file]
tests/security-server-tests/weird_arguments.cpp [moved from tests/security-server-tests/security_server_tests_weird_arguments.cpp with 99% similarity]