Defines the "action" of a unit test scenario.
More...
#include <ut.hpp>
|
template<typename FUNC > |
constexpr ut_when & | operator= (FUNC &&func) noexcept |
| Executes a lambda function as the body of the "when" portion of the scenario. More...
|
|
Defines the "action" of a unit test scenario.
◆ operator=()
template<typename FUNC >
constexpr ut_when& bsl::ut_when::operator= |
( |
FUNC && |
func | ) |
|
|
inlinenoexcept |
Executes a lambda function as the body of the "when" portion of the scenario.
- Template Parameters
-
FUNC | the type of lambda being executed |
- Parameters
-
func | the lambda being executed |
- Returns
- Returns a reference to the ut_when.
The documentation for this class was generated from the following file: