C++Spec 1.0.0
BDD testing for C++
Loading...
Searching...
No Matches
CppSpec::NegativeExpectationHandler Struct Reference

Handles "negative" expectations (i.e. negated with '.not_() More...

#include <handler.hpp>

Static Public Member Functions

template<class Matcher>
static Result handle_matcher (Matcher &matcher)
 runs a negative expectation
 
static std::string verb ()
 

Detailed Description

Handles "negative" expectations (i.e. negated with '.not_()

Member Function Documentation

◆ handle_matcher()

template<class Matcher>
Result CppSpec::NegativeExpectationHandler::handle_matcher ( Matcher & matcher)
static

runs a negative expectation

Template Parameters
Matcherthe class of Matcher to use
Parameters
matcherthe matcher to use
Returns
the Result of the expectation

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