kblib 0.2.3
General utilities library for modern C++
Catch::Counts Struct Reference

#include <catch/catch.hpp>

Public Member Functions

Counts operator- (Counts const &other) const
 
Countsoperator+= (Counts const &other)
 
std::size_t total () const
 
bool allPassed () const
 
bool allOk () const
 
Counts operator- (Counts const &other) const
 
Countsoperator+= (Counts const &other)
 
std::size_t total () const
 
bool allPassed () const
 
bool allOk () const
 

Public Attributes

std::size_t passed = 0
 
std::size_t failed = 0
 
std::size_t failedButOk = 0
 

Detailed Description

Definition at line 2829 of file catch.hpp.

Member Function Documentation

◆ allOk() [1/2]

bool Catch::Counts::allOk ( ) const

◆ allOk() [2/2]

bool Catch::Counts::allOk ( ) const

◆ allPassed() [1/2]

bool Catch::Counts::allPassed ( ) const

◆ allPassed() [2/2]

bool Catch::Counts::allPassed ( ) const

◆ operator+=() [1/2]

Counts & Catch::Counts::operator+= ( Counts const &  other)

◆ operator+=() [2/2]

Counts & Catch::Counts::operator+= ( Counts const &  other)

◆ operator-() [1/2]

Counts Catch::Counts::operator- ( Counts const &  other) const

◆ operator-() [2/2]

Counts Catch::Counts::operator- ( Counts const &  other) const

◆ total() [1/2]

std::size_t Catch::Counts::total ( ) const

◆ total() [2/2]

std::size_t Catch::Counts::total ( ) const

Member Data Documentation

◆ failed

std::size_t Catch::Counts::failed = 0

Definition at line 2838 of file catch.hpp.

◆ failedButOk

std::size_t Catch::Counts::failedButOk = 0

Definition at line 2839 of file catch.hpp.

◆ passed

std::size_t Catch::Counts::passed = 0

Definition at line 2837 of file catch.hpp.


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