mimic++ v9.2.1
Loading...
Searching...
No Matches
ScopedExpectation.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIMICPP_DETAIL_UNIQUE_NAME(prefix, counter)
 
#define MIMICPP_DETAIL_SCOPED_EXPECTATION_IMPL(counter)
 
#define MIMICPP_SCOPED_EXPECTATION   MIMICPP_DETAIL_SCOPED_EXPECTATION_IMPL(__COUNTER__)
 Convenience macro, which creates a ScopedExpectation with a unique name.
 
#define SCOPED_EXP   MIMICPP_SCOPED_EXPECTATION
 Shorthand variant of MIMICPP_SCOPED_EXPECTATION.
 

Macro Definition Documentation

◆ MIMICPP_DETAIL_SCOPED_EXPECTATION_IMPL

#define MIMICPP_DETAIL_SCOPED_EXPECTATION_IMPL ( counter)
Value:
[[maybe_unused]] \
::mimicpp::ScopedExpectation const MIMICPP_DETAIL_UNIQUE_NAME(_mimicpp_expectation_, counter) =
#define MIMICPP_DETAIL_UNIQUE_NAME(prefix, counter)
Definition ScopedExpectation.hpp:9
Takes the ownership of an expectation and check whether it's satisfied during destruction.
Definition Expectation.hpp:645

◆ MIMICPP_DETAIL_UNIQUE_NAME

#define MIMICPP_DETAIL_UNIQUE_NAME ( prefix,
counter )
Value:
prefix##counter