dextool.plugin.backend.cpptestdouble.adapter

Members

Functions

generateImpl
void generateImpl(CppClass c, CppModule impl)

Generate an adapter implementation.

generateSingleton
void generateSingleton(CppNamespace in_ns, CppModule impl)

A singleton to allow the adapter to setup "a" connection.

makeAdapter
BuildAdapter makeAdapter(InterfaceT interface_name)

Make a C++ adapter for an interface.

makeSingleton
CppNamespace makeSingleton(MainNs main_ns, MainInterface main_if)

make an anonymous namespace containing a ptr to an instance of a test double that implement the interface needed.

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)