Add tests for InMemoryStorageBackend and Storage
authorAleksander Zdyb <a.zdyb@partner.samsung.com>
Mon, 16 Jun 2014 07:32:51 +0000 (09:32 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 3 Jul 2014 12:19:09 +0000 (14:19 +0200)
commite36809452bd722c886ec947935cc031ad9e3cad5
treeb756f98d376735a19ff02bf10717ff9ea73b087f
parentae41ba12fe8a29d16cb85865fde2a3b53dd89afc
Add tests for InMemoryStorageBackend and Storage

Change-Id: I756457678619ad2efa6fd469f6b442018e565cdc
18 files changed:
src/common/common.h
src/common/types/PolicyBucket.h
src/common/types/PolicyKey.cpp [moved from src/common/types/ClientId.h with 53% similarity]
src/common/types/PolicyKey.h
src/common/types/PolicyResult.h
src/common/types/PrivilegeId.h [deleted file]
src/common/types/UserId.h [deleted file]
src/service/storage/InMemoryStorageBackend.cpp
src/service/storage/Storage.cpp
test/helpers.cpp
test/helpers.h
test/storage/inmemorystoragebackend/buckets.cpp [new file with mode: 0644]
test/storage/inmemorystoragebackend/search.cpp [new file with mode: 0644]
test/storage/storage/buckets.cpp [new file with mode: 0644]
test/storage/storage/check.cpp [new file with mode: 0644]
test/storage/storage/fakestoragebackend.h [new file with mode: 0644]
test/storage/storage/policies.cpp [new file with mode: 0644]
test/types/policykey.cpp [new file with mode: 0644]