Data Structures | Macros | Functions
defaultreporter.h File Reference

Go to the source code of this file.

Data Structures

class  BaseException
 
class  ExpectationException
 
class  NotImplementedException
 
class  CallMissingException
 
class  ZombieMockException
 
class  NoResultSetUpException
 

Macros

#define DEBUGBREAK(e)
 
#define BASE_EXCEPTION   std::exception
 
#define RAISEEXCEPTION(e)   { DEBUGBREAK(e); if (std::uncaught_exception()) latentException = [=, &repo]{ throw e; }; else throw e; }
 

Functions

std::ostream & operator<< (std::ostream &os, const Call &call)
 
std::ostream & operator<< (std::ostream &os, const MockRepository &repo)
 
ReporterGetDefaultReporter ()
 

Macro Definition Documentation

◆ DEBUGBREAK

#define DEBUGBREAK (   e)

Definition at line 30 of file defaultreporter.h.

◆ BASE_EXCEPTION

#define BASE_EXCEPTION   std::exception

Definition at line 94 of file defaultreporter.h.

◆ RAISEEXCEPTION

#define RAISEEXCEPTION (   e)    { DEBUGBREAK(e); if (std::uncaught_exception()) latentException = [=, &repo]{ throw e; }; else throw e; }

Definition at line 96 of file defaultreporter.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const Call &  call 
)
inline

Definition at line 39 of file defaultreporter.h.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const MockRepository &  repo 
)
inline

Definition at line 64 of file defaultreporter.h.

◆ GetDefaultReporter()

Reporter* GetDefaultReporter ( )
inline

Definition at line 219 of file defaultreporter.h.