Class ExpectedObjectDidntHappenFailure

Inheritance Relationships

Base Type

Class Documentation

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

Failure reported when an expected object constraint was never satisfied.

Triggered by Support::check_expectations() when an expectation with ExpectedCall::on_object() was never matched.

Public Functions

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

  • function_name – Name of the mock function.

  • expectations – The unsatisfied expected-calls list.