BinaryTree  HW 06
Spell Checking Using Binary Trees
 All Classes Files Functions Variables Pages
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Types | Static Private Member Functions | Private Attributes | List of all members
TestingLogger Class Reference

Classes

struct  AssertInfo
 

Public Member Functions

 TestingLogger (std::string name)
 
bool summarize (bool verbose=false)
 
void clear ()
 
void abortOnFail ()
 

Static Public Member Functions

static void check (bool assertion, std::string description)
 
template<typename Function >
static void checkSafely (Function assertionFn, std::string description)
 

Static Public Attributes

static TestingLoggercurrentLogger = nullptr
 

Private Types

using const_iter = std::map< std::string, AssertInfo >::const_iterator
 
using iter = std::map< std::string, AssertInfo >::iterator
 

Static Private Member Functions

static void exn_fail (std::exception *exn, std::string what, std::string description)
 

Private Attributes

std::map< std::string, AssertInfoassertions_
 
std::string testName_
 
bool failedSome_
 
bool abortOnFail_
 
TestingLoggerpreviousLogger_
 

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