CustusX  18.04
An IGT application
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 946 of file catch.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

std::string Catch::AssertionResult::getExpandedExpression ( ) const
std::string Catch::AssertionResult::getExpression ( ) const
std::string Catch::AssertionResult::getExpressionInMacro ( ) const
std::string Catch::AssertionResult::getMessage ( ) const
ResultWas::OfType Catch::AssertionResult::getResultType ( ) const
SourceLineInfo Catch::AssertionResult::getSourceInfo ( ) const
std::string Catch::AssertionResult::getTestMacroName ( ) const
bool Catch::AssertionResult::hasExpandedExpression ( ) const
bool Catch::AssertionResult::hasExpression ( ) const
bool Catch::AssertionResult::hasMessage ( ) const
bool Catch::AssertionResult::isOk ( ) const
bool Catch::AssertionResult::succeeded ( ) const

Member Data Documentation

AssertionInfo Catch::AssertionResult::m_info
protected

Definition at line 966 of file catch.hpp.

AssertionResultData Catch::AssertionResult::m_resultData
protected

Definition at line 967 of file catch.hpp.


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