mimic++ v9.2.1
Loading...
Searching...
No Matches
ControlPolicies.hpp File Reference
#include "mimic++/Fwd.hpp"
#include "mimic++/Sequence.hpp"
#include "mimic++/config/Config.hpp"
#include "mimic++/reporting/ExpectationReport.hpp"
#include "mimic++/reporting/SequenceReport.hpp"
#include <limits>
#include <memory>
#include <optional>
#include <stdexcept>
#include <tuple>
#include <utility>
#include <vector>
Include dependency graph for ControlPolicies.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mimicpp::ControlPolicy< Sequences >
 

Namespaces

namespace  mimicpp
 
namespace  mimicpp::expect
 

Functions

constexpr auto mimicpp::expect::times (int const min, int const max)
 Specifies a times policy with a limit range.
 
constexpr auto mimicpp::expect::times (int const exactly)
 Specifies a times policy with an exact limit.
 
constexpr auto mimicpp::expect::at_least (int const min)
 Specifies a times policy with just a lower limit.
 
constexpr auto mimicpp::expect::at_most (int const max)
 Specifies a times policy with just an upper limit.
 
consteval auto mimicpp::expect::never () noexcept
 Specifies a times policy with both limits set to 0.
 
consteval auto mimicpp::expect::once () noexcept
 Specifies a times policy with both limits set to 1.
 
consteval auto mimicpp::expect::twice () noexcept
 Specifies a times policy with both limits set to 2.
 
consteval auto mimicpp::expect::any_times () noexcept
 Specifies a times-policy with no constraints on how many times an expectation may match.