ManaPlus
Public Member Functions | Protected Attributes
Catch::AssertionResult Class Reference

#include <catch.hpp>

Public Member Functions

 AssertionResult ()
 
 AssertionResult (AssertionInfo const &info, AssertionResultData const &data)
 
 ~AssertionResult ()
 
bool isOk () const
 
bool succeeded () const
 
ResultWas::OfType getResultType () const
 
bool hasExpression () const
 
bool hasMessage () const
 
std::string getExpression () const
 
std::string getExpressionInMacro () const
 
bool hasExpandedExpression () const
 
std::string getExpandedExpression () const
 
std::string getMessage () const
 
SourceLineInfo getSourceInfo () const
 
std::string getTestMacroName () const
 

Protected Attributes

AssertionInfo m_info
 
AssertionResultData m_resultData
 

Detailed Description

Definition at line 856 of file catch.hpp.

Constructor & Destructor Documentation

◆ AssertionResult() [1/2]

Catch::AssertionResult::AssertionResult ( )

◆ AssertionResult() [2/2]

Catch::AssertionResult::AssertionResult ( AssertionInfo const &  info,
AssertionResultData const &  data 
)

◆ ~AssertionResult()

Catch::AssertionResult::~AssertionResult ( )

Member Function Documentation

◆ getExpandedExpression()

std::string Catch::AssertionResult::getExpandedExpression ( ) const

◆ getExpression()

std::string Catch::AssertionResult::getExpression ( ) const

◆ getExpressionInMacro()

std::string Catch::AssertionResult::getExpressionInMacro ( ) const

◆ getMessage()

std::string Catch::AssertionResult::getMessage ( ) const

◆ getResultType()

ResultWas::OfType Catch::AssertionResult::getResultType ( ) const

◆ getSourceInfo()

SourceLineInfo Catch::AssertionResult::getSourceInfo ( ) const

◆ getTestMacroName()

std::string Catch::AssertionResult::getTestMacroName ( ) const

◆ hasExpandedExpression()

bool Catch::AssertionResult::hasExpandedExpression ( ) const

◆ hasExpression()

bool Catch::AssertionResult::hasExpression ( ) const

◆ hasMessage()

bool Catch::AssertionResult::hasMessage ( ) const

◆ isOk()

bool Catch::AssertionResult::isOk ( ) const

◆ succeeded()

bool Catch::AssertionResult::succeeded ( ) const

Field Documentation

◆ m_info

AssertionInfo Catch::AssertionResult::m_info
protected

Definition at line 882 of file catch.hpp.

◆ m_resultData

AssertionResultData Catch::AssertionResult::m_resultData
protected

Definition at line 883 of file catch.hpp.


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