Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecsCpp::SpecSuiteRunResult Class Reference

#include <SpecSuiteRunResult.h>

Inheritance diagram for SpecsCpp::SpecSuiteRunResult:
SpecsCpp::ISpecSuiteRunResult

Public Member Functions

std::uint32_t passed () const override
 
std::uint32_t failed () const override
 
std::uint32_t not_run () const override
 
std::uint32_t timed_out () const override
 
void increment_passed ()
 
void increment_failed ()
 
void increment_not_run ()
 
void increment_timed_out ()
 
- Public Member Functions inherited from SpecsCpp::ISpecSuiteRunResult
virtual ~ISpecSuiteRunResult ()=default
 
virtual std::uint32_t passed () const =0
 
virtual std::uint32_t failed () const =0
 
virtual std::uint32_t not_run () const =0
 
virtual std::uint32_t timed_out () const =0
 

Detailed Description

Definition at line 7 of file SpecSuiteRunResult.h.

Member Function Documentation

◆ failed()

std::uint32_t SpecsCpp::SpecSuiteRunResult::failed ( ) const
inlineoverridevirtual

Implements SpecsCpp::ISpecSuiteRunResult.

Definition at line 15 of file SpecSuiteRunResult.h.

15{ return _failed; }

◆ increment_failed()

void SpecsCpp::SpecSuiteRunResult::increment_failed ( )
inline

Definition at line 20 of file SpecSuiteRunResult.h.

20{ ++_failed; }

◆ increment_not_run()

void SpecsCpp::SpecSuiteRunResult::increment_not_run ( )
inline

Definition at line 21 of file SpecSuiteRunResult.h.

21{ ++_not_run; }

◆ increment_passed()

void SpecsCpp::SpecSuiteRunResult::increment_passed ( )
inline

Definition at line 19 of file SpecSuiteRunResult.h.

19{ ++_passed; }

◆ increment_timed_out()

void SpecsCpp::SpecSuiteRunResult::increment_timed_out ( )
inline

Definition at line 22 of file SpecSuiteRunResult.h.

22{ ++_timed_out; }

◆ not_run()

std::uint32_t SpecsCpp::SpecSuiteRunResult::not_run ( ) const
inlineoverridevirtual

Implements SpecsCpp::ISpecSuiteRunResult.

Definition at line 16 of file SpecSuiteRunResult.h.

16{ return _not_run; }

◆ passed()

std::uint32_t SpecsCpp::SpecSuiteRunResult::passed ( ) const
inlineoverridevirtual

Implements SpecsCpp::ISpecSuiteRunResult.

Definition at line 14 of file SpecSuiteRunResult.h.

14{ return _passed; }

◆ timed_out()

std::uint32_t SpecsCpp::SpecSuiteRunResult::timed_out ( ) const
inlineoverridevirtual

Implements SpecsCpp::ISpecSuiteRunResult.

Definition at line 17 of file SpecSuiteRunResult.h.

17{ return _timed_out; }

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