Crate mockers

source ·

Re-exports

Modules

Macros

Structs

  • $call_match (e.g. CallMatch1) struct allows to check whether mock method call matches given criteria.
  • $call_match (e.g. CallMatch1) struct allows to check whether mock method call matches given criteria.
  • $call_match (e.g. CallMatch1) struct allows to check whether mock method call matches given criteria.
  • $call_match (e.g. CallMatch1) struct allows to check whether mock method call matches given criteria.
  • $call_match (e.g. CallMatch1) struct allows to check whether mock method call matches given criteria.
  • Call matcher for methods of Sendable mock. The difference is that argument matchers must also implement Send.
  • Call matcher for methods of Sendable mock. The difference is that argument matchers must also implement Send.
  • Call matcher for methods of Sendable mock. The difference is that argument matchers must also implement Send.
  • Call matcher for methods of Sendable mock. The difference is that argument matchers must also implement Send.
  • Call matcher for methods of Sendable mock. The difference is that argument matchers must also implement Send.
  • Expectation combines call matcher with action and cardinality. TODO: Reuse Reaction struct.
  • Expectation combines call matcher with action and cardinality. TODO: Reuse Reaction struct.
  • Expectation combines call matcher with action and cardinality. TODO: Reuse Reaction struct.
  • Expectation combines call matcher with action and cardinality. TODO: Reuse Reaction struct.
  • Expectation combines call matcher with action and cardinality. TODO: Reuse Reaction struct.
  • Variation of expectation for Sendable mocks.
  • Variation of expectation for Sendable mocks.
  • Variation of expectation for Sendable mocks.
  • Variation of expectation for Sendable mocks.
  • Variation of expectation for Sendable mocks.
  • Reaction combines call matcher with action which is executed when call matches. It doesn’t yet specify how many times call is allowed to be matched. Reaction is created using
  • Reaction combines call matcher with action which is executed when call matches. It doesn’t yet specify how many times call is allowed to be matched. Reaction is created using
  • Reaction combines call matcher with action which is executed when call matches. It doesn’t yet specify how many times call is allowed to be matched. Reaction is created using
  • Reaction combines call matcher with action which is executed when call matches. It doesn’t yet specify how many times call is allowed to be matched. Reaction is created using
  • Reaction combines call matcher with action which is executed when call matches. It doesn’t yet specify how many times call is allowed to be matched. Reaction is created using
  • Reaction for Sendable mock methods.
  • Reaction for Sendable mock methods.
  • Reaction for Sendable mock methods.
  • Reaction for Sendable mock methods.
  • Reaction for Sendable mock methods.
  • A wrapper which allows you to move around non-Send-types between threads, as long as you access the contained value only from within the original thread and make sure that it is dropped from within the original thread.
  • Expectation combinator which ensures that nested expectations are satisfied in specified order.

Constants

Traits

Type Aliases

Derive Macros