Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Catch::Matchers::Exception::ExceptionMessageMatcher Class Reference

#include <catch.hpp>

+ Inheritance diagram for Catch::Matchers::Exception::ExceptionMessageMatcher:
+ Collaboration diagram for Catch::Matchers::Exception::ExceptionMessageMatcher:

Public Member Functions

 ExceptionMessageMatcher (std::string const &message)
 
bool match (std::exception const &ex) const override
 
std::string describe () const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
MatchNotOf< T > operator! () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

Definition at line 3399 of file catch.hpp.

Constructor & Destructor Documentation

◆ ExceptionMessageMatcher()

Catch::Matchers::Exception::ExceptionMessageMatcher::ExceptionMessageMatcher ( std::string const & message)
inline

Definition at line 3403 of file catch.hpp.

Member Function Documentation

◆ describe()

std::string Catch::Matchers::Exception::ExceptionMessageMatcher::describe ( ) const
overridevirtual

◆ match()

bool Catch::Matchers::Exception::ExceptionMessageMatcher::match ( std::exception const & ex) const
override

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