cpptooling.generator.gmock

Members

Functions

generateGmock
void generateGmock(CppClass in_c, CppModule hdr)

Generate a Google Mock that implements in_c.

generateGmockHdr
auto generateGmockHdr(Path if_file, Path incl_guard, DextoolVersion ver, CustomHeader custom_hdr, CppModule gmock)
Undocumented in source. Be warned that the author may not have intended to support it.
makeGmock
auto makeGmock(CppClass c)

Make a gmock implementation of the class.

Meta

Date

Date: 2015-2017, Joakim Brännström

License

MPL-2, Mozilla Public License 2.0

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

Generate a google mock implementation of a C++ class with at least one virtual.