资 源 简 介
BMOCK is a C++ library supporting Mock Objects.
Lets you create mocks for C functions and member functions - including constructors and destructors.
Supports dynamic mocking: In each test you can decide whether a function should be mocked, or execute its production code.
Supports strict and non strict mocks (mocks ordering).
Supports IN, OUT and IN_OUT arguments as well as as special treatment for raw memory.
BMOCK Clients
BMOCK is currently used by several groups at Cisco.
Requirements
BMOCK is tightly integrated with the Boost.Test library and needs other Boost libraries as well. A prerequisite for using BMOCK is installation of the Boost libraries.
BMOCK was tested with Visual C++ 10.0/11.0, GCC a