Class ExpectedCallsDidntHappenFailure

Inheritance Relationships

Base Type

Class Documentation

class ExpectedCallsDidntHappenFailure : public mu::tiny::mock::Failure
[source]

Failure reported when expected calls were never made.

Triggered by Support::check_expectations() when one or more expected calls did not occur.

Public Functions

ExpectedCallsDidntHappenFailure(test::Shell *test, const ExpectedCallsList &expectations)
Parameters:
  • test – The failing test.

  • expectations – The unsatisfied expected-calls list.