]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: base gmock class support for librbd 5816/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 4 Sep 2015 19:01:38 +0000 (15:01 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 4 Sep 2015 19:01:38 +0000 (15:01 -0400)
commit404dd16d4b1930ebb3e918221d0bb751f5ffdce7
tree02c8922a939982a8258128ba1283180f94960b2c
parente8749b2a7f5a60dbfa03518315a1f1caa4039f59
tests: base gmock class support for librbd

Created mock classes to represent a few central librbd classes
and a basic gmock test fixture for future gmock-based unit tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/Makefile-client.am
src/test/Makefile.am
src/test/librbd/mock/MockContextWQ.h [new file with mode: 0644]
src/test/librbd/mock/MockImageCtx.h [new file with mode: 0644]
src/test/librbd/mock/MockImageWatcher.h [new file with mode: 0644]
src/test/librbd/mock/MockObjectMap.h [new file with mode: 0644]
src/test/librbd/test_mock_fixture.cc [new file with mode: 0644]
src/test/librbd/test_mock_fixture.h [new file with mode: 0644]