Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
MyExceptionMatcher Struct Reference
Inheritance diagram for MyExceptionMatcher:
Collaboration diagram for MyExceptionMatcher:

Public Member Functions

 MyExceptionMatcher (char const *text)
 
 ~MyExceptionMatcher () override
 
bool match (std::runtime_error const &arg) const override
 
std::string describe () const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchAllOf< Toperator&& (MatcherBase const &other) const
 
MatchAnyOf< Toperator|| (MatcherBase const &other) const
 
MatchNotOf< Toperator! () const
 
MatchAllOf< Toperator&& (MatcherBase const &other) const
 
MatchAnyOf< Toperator|| (MatcherBase const &other) const
 
MatchNotOf< Toperator! () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
 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
 
virtual bool match (T const &arg) const=0
 

Public Attributes

std::string m_text
 

Additional Inherited Members

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

Detailed Description

Definition at line 88 of file 207-Rpt-TeamCityReporter.cpp.

Constructor & Destructor Documentation

◆ MyExceptionMatcher()

MyExceptionMatcher::MyExceptionMatcher ( char const * text)
inline

Definition at line 92 of file 207-Rpt-TeamCityReporter.cpp.

93 : m_text( text )
94 {}

◆ ~MyExceptionMatcher()

MyExceptionMatcher::~MyExceptionMatcher ( )
overridedefault

Member Function Documentation

◆ describe()

std::string MyExceptionMatcher::describe ( ) const
inlineoverridevirtual

Implements Catch::Matchers::Impl::MatcherUntypedBase.

Definition at line 103 of file 207-Rpt-TeamCityReporter.cpp.

104 {
105 return "it's me";
106 }

◆ match()

bool MyExceptionMatcher::match ( std::runtime_error const & arg) const
inlineoverride

Definition at line 98 of file 207-Rpt-TeamCityReporter.cpp.

99 {
100 return m_text == arg.what() ;
101 }

Member Data Documentation

◆ m_text

std::string MyExceptionMatcher::m_text

Definition at line 90 of file 207-Rpt-TeamCityReporter.cpp.


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