File NamedValueComparator.hpp

Parent directory (include/mu/tiny/mock)

Interface and helpers for comparing mock parameters of custom types.

Definition (include/mu/tiny/mock/NamedValueComparator.hpp)

View source on GitHub

Detailed Description

When a mock expectation is set with mu::tiny::mock::ExpectedCall::with_parameter_of_type(), the framework needs to know how to compare the expected value against the actual value. Implement Class NamedValueComparator for your type and register it with mu::tiny::mock::Support::install_comparator().

Three concrete implementations are provided:

See also Class NamedValueCopier for output-parameter support.

Includes

Included By

Namespaces

Classes