Class CallOrderFailure

Inheritance Relationships

Base Type

Class Documentation

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

Failure reported when calls arrive in the wrong order.

Triggered when ordered expectations (set via ExpectedCall::with_call_order()) are satisfied out of sequence.

Public Functions

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

  • expectations – The expected-calls list at time of failure.