Introduce AdminApiWrapper 74/32174/5
authorAleksander Zdyb <a.zdyb@samsung.com>
Tue, 9 Dec 2014 11:37:44 +0000 (12:37 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 29 Dec 2014 09:10:08 +0000 (10:10 +0100)
commit4f39cf7bf1c01a29aba8d77c25696bced57004ae
tree9dbd2939ff3ae7e645fb51e437e7d7bb94e082c8
parentc795e004a472a814b1ffdb9686c8d6a9dda5202c
Introduce AdminApiWrapper

BaseAdminApiWrapper provides interface for wrapping
functions of cynara-admin API. The wrapping is needed
mainly for testing purposes.

AdminApiWrapper is a target implementation, while
FakeAdminApiWrapper is a mock for testing.

Change-Id: I0b4afb89d8b4bec62693cf070f2a5a90f1148b79
src/cyad/AdminApiWrapper.cpp [new file with mode: 0644]
src/cyad/AdminApiWrapper.h [new file with mode: 0644]
src/cyad/BaseAdminApiWrapper.h [new file with mode: 0644]
src/cyad/CMakeLists.txt
test/cyad/FakeAdminApiWrapper.h [new file with mode: 0644]