Added virtual inheritance to mock::object defined with MOCK_BASE_CLASS and MOCK_CLASS

Added virtual to destructors defined with MOCK_DESTRUCTOR

This makes it more convenient to set up complex hierarchies of classes for testing.
This commit is contained in:
Mathieu Champlon 2017-02-21 10:02:18 +01:00 committed by Mathieu Champlon
parent 4754a2a775
commit cd8fde2ab7
3 changed files with 51 additions and 5 deletions

View file

@ -18,6 +18,8 @@ Not yet released
* Added support for dereferencing in mock::equal
* Added support for movable objects in mock::retrieve
* Fixed deprecation warning about std::uncaught_exception in c++17 for msvc
* Added virtual inheritance to mock::object defined with MOCK_BASE_CLASS and MOCK_CLASS
* Added virtual to destructors defined with MOCK_DESTRUCTOR
[endsect]