File NamedValueCopier.hpp¶
↰ Parent directory (include/mu/tiny/mock)
Interface and helpers for copying mock output parameters of custom types.
Definition (include/mu/tiny/mock/NamedValueCopier.hpp)¶
Detailed Description¶
When a mock expectation is set with mu::tiny::mock::ExpectedCall::with_output_parameter_of_type_returning(), the framework needs to copy the configured value into the caller’s output buffer. Implement Class NamedValueCopier for your type and register it with mu::tiny::mock::Support::install_copier().
See also Class NamedValueComparator for expected-parameter matching.
Includes¶
mu/tiny/export.h