mimic++ v4
Loading...
Searching...
No Matches
ControlPolicy.hpp File Reference
#include "mimic++/Reports.hpp"
#include "mimic++/Sequence.hpp"
#include "mimic++/Utility.hpp"
#include <cassert>
#include <limits>
#include <memory>
#include <optional>
#include <stdexcept>
#include <tuple>
#include <utility>
#include <vector>
Include dependency graph for ControlPolicy.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 (const int min, const int max)
 Specifies a times policy with a limit range.
 
constexpr auto mimicpp::expect::times (const int exactly)
 Specifies a times policy with an exact limit.
 
constexpr auto mimicpp::expect::at_least (const int min)
 Specifies a times policy with just a lower limit.
 
constexpr auto mimicpp::expect::at_most (const int max)
 Specifies a times policy with just an upper limit.
 
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.