libDwm-0.9.45
Dwm::AssertionCounter Class Reference

Holds 'passed' and 'failed' counters. More...

#include <DwmUnitAssert.hh>

Public Member Functions

 AssertionCounter ()
 Constructor.
 
uint64_t Failed () const
 Returns the failed counter.
 
uint64_t Passed () const
 Returns the passed counter.
 
void AddFailed ()
 Increments the failed counter.
 
void AddPassed ()
 Increments the passed counter.
 
AssertionCounteroperator+= (const AssertionCounter &assertionCounter)
 operator +=
 

Friends

std::ostream & operator<< (std::ostream &os, const AssertionCounter &assertionCounter)
 Prints to an ostream.
 

Detailed Description

Holds 'passed' and 'failed' counters.


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