Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::AssertionStats Struct Reference

#include <catch_interfaces_reporter.h>

Collaboration diagram for Catch::AssertionStats:

Public Member Functions

 AssertionStats (AssertionResult const &_assertionResult, std::vector< MessageInfo > const &_infoMessages, Totals const &_totals)
 
 AssertionStats (AssertionStats const &)=default
 
 AssertionStats (AssertionStats &&)=default
 
AssertionStatsoperator= (AssertionStats const &)=delete
 
AssertionStatsoperator= (AssertionStats &&)=delete
 
virtual ~AssertionStats ()
 

Public Attributes

AssertionResult assertionResult
 
std::vector< MessageInfoinfoMessages
 
Totals totals
 

Detailed Description

Definition at line 76 of file catch_interfaces_reporter.h.

Constructor & Destructor Documentation

◆ AssertionStats() [1/3]

Catch::AssertionStats::AssertionStats ( AssertionResult const & _assertionResult,
std::vector< MessageInfo > const & _infoMessages,
Totals const & _totals )

Definition at line 33 of file catch_interfaces_reporter.cpp.

36 : assertionResult( _assertionResult ),
37 infoMessages( _infoMessages ),
38 totals( _totals )
39 {
40 assertionResult.m_resultData.lazyExpression.m_transientExpression = _assertionResult.m_resultData.lazyExpression.m_transientExpression;
41
43 // Copy message into messages list.
44 // !TBD This should have been done earlier, somewhere
46 builder << assertionResult.getMessage();
47 builder.m_info.message = builder.m_stream.str();
48
49 infoMessages.push_back( builder.m_info );
50 }
51 }
SourceLineInfo getSourceInfo() const
ResultWas::OfType getResultType() const
AssertionResultData m_resultData
std::vector< MessageInfo > infoMessages
Here is the call graph for this function:

◆ AssertionStats() [2/3]

Catch::AssertionStats::AssertionStats ( AssertionStats const & )
default

◆ AssertionStats() [3/3]

Catch::AssertionStats::AssertionStats ( AssertionStats && )
default

◆ ~AssertionStats()

Catch::AssertionStats::~AssertionStats ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

AssertionStats & Catch::AssertionStats::operator= ( AssertionStats && )
delete

◆ operator=() [2/2]

AssertionStats & Catch::AssertionStats::operator= ( AssertionStats const & )
delete

Member Data Documentation

◆ assertionResult

AssertionResult Catch::AssertionStats::assertionResult

Definition at line 87 of file catch_interfaces_reporter.h.

◆ infoMessages

std::vector<MessageInfo> Catch::AssertionStats::infoMessages

Definition at line 88 of file catch_interfaces_reporter.h.

◆ totals

Totals Catch::AssertionStats::totals

Definition at line 89 of file catch_interfaces_reporter.h.


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