Mock object template for testing and verification. More...
#include <tmock.hpp>
Public Member Functions | |
| tmock (const T &org) | |
| tmock (const T *org) | |
| const ntype & | getType () const override |
| scope & | subs () override |
| priorType | prioritize (const args &a) const override |
| str | run (const args &a) override |
| clonable * | clone () const override |
| const src & | getSrc () const override |
| void * | cast (const type &to) override |
| clonable * | cloneDeep () const override |
| void | onCloneDeep (const clonable &from) override |
Protected Member Functions | |
| void | _setSrc (const src &s) override |
Friends | |
| class | exprMaker |
Mock object template for testing and verification.
Template for creating mock instances that delegate to original ones. Used for testing and verification phases where original instances may not be available.