libDwm-0.9.45
Dwm::FileAssertions Class Reference

A container class to hold all assertions called from a single source file. More...

#include <DwmUnitAssert.hh>

Public Member Functions

void Failed (const std::string &filename, const std::string &function, int lineNumber, const std::string &test)
 Add a failed assertion.
 
void Passed (const std::string &filename, const std::string &function, int lineNumber, const std::string &test)
 Add a passed assertion.
 
AssertionCounter Total () const
 Returns the total passed and failed counter.
 
std::ostream & Print (std::ostream &os, bool onlyFailed=false) const
 Prints to an ostream.
 
std::ostream & PrintJson (std::ostream &os, bool onlyFailed=false) const
 Prints JSON to an ostream.
 
std::ostream & PrintXML (std::ostream &os, bool onlyFailed=false) const
 Prints XML to an ostream.
 

Detailed Description

A container class to hold all assertions called from a single source file.


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