mimic++ v10.0.1
Loading...
Searching...
No Matches
mimicpp::expectation::policies::ArgsRequirement< Matcher, MatchesStrategy, DescribeStrategy > Class Template Reference

#include <RequirementPolicies.hpp>

Public Member Functions

constexpr ArgsRequirement (Matcher matcher, MatchesStrategy matchesStrategy, DescribeStrategy describeStrategy) noexcept(std::is_nothrow_move_constructible_v< Matcher > &&std::is_nothrow_move_constructible_v< MatchesStrategy > &&std::is_nothrow_move_constructible_v< DescribeStrategy >)
template<typename Return, typename... Args>
requires std::is_invocable_r_v<MatchResult, MatchesStrategy const&, matcher_matches_fn<Matcher>, call::Info<Return, Args...> const&>
MatchResult matches (call::Info< Return, Args... > const &info) const noexcept(std::is_nothrow_invocable_v< MatchesStrategy const &, matcher_matches_fn< Matcher >, call::Info< Return, Args... > const & >)

Static Public Member Functions

static constexpr bool is_satisfied () noexcept
template<typename Return, typename... Args>
static constexpr void consume (call::Info< Return, Args... > const &info) noexcept

Constructor & Destructor Documentation

◆ ArgsRequirement()

template<typename Matcher, typename MatchesStrategy, typename DescribeStrategy>
mimicpp::expectation::policies::ArgsRequirement< Matcher, MatchesStrategy, DescribeStrategy >::ArgsRequirement ( Matcher matcher,
MatchesStrategy matchesStrategy,
DescribeStrategy describeStrategy )
inlineexplicitnodiscardconstexprnoexcept

Member Function Documentation

◆ consume()

template<typename Matcher, typename MatchesStrategy, typename DescribeStrategy>
template<typename Return, typename... Args>
constexpr void mimicpp::expectation::policies::ArgsRequirement< Matcher, MatchesStrategy, DescribeStrategy >::consume ( call::Info< Return, Args... > const & info)
inlinestaticconstexprnoexcept

◆ is_satisfied()

template<typename Matcher, typename MatchesStrategy, typename DescribeStrategy>
constexpr bool mimicpp::expectation::policies::ArgsRequirement< Matcher, MatchesStrategy, DescribeStrategy >::is_satisfied ( )
inlinestaticnodiscardconstexprnoexcept

◆ matches()

template<typename Matcher, typename MatchesStrategy, typename DescribeStrategy>
template<typename Return, typename... Args>
requires std::is_invocable_r_v<MatchResult, MatchesStrategy const&, matcher_matches_fn<Matcher>, call::Info<Return, Args...> const&>
MatchResult mimicpp::expectation::policies::ArgsRequirement< Matcher, MatchesStrategy, DescribeStrategy >::matches ( call::Info< Return, Args... > const & info) const
inlinenodiscardnoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: