OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
testing.h File Reference

Go to the source code of this file.

Namespaces

 Testing
 

Macros

#define PPASS(msg)
 
#define PFAIL(msg)
 
#define PSKIP(msg)
 
#define PCLEAR
 

Functions

void Testing::printTestSummary ()
 

Variables

static unsigned Testing::pass = 0
 
static unsigned Testing::fail = 0
 
static unsigned Testing::skip = 0
 

Macro Definition Documentation

#define PCLEAR
Value:
pass = 0; \
fail = 0; \
skip = 0;
static unsigned skip
Definition: testing.h:31
static unsigned fail
Definition: testing.h:30
static unsigned pass
Definition: testing.h:29

Definition at line 57 of file testing.h.

#define PFAIL (   msg)
Value:
(printf("[%s:%d] %s FAIL(%d):\t%s%s\n", \
__FILE__, \
__LINE__, \
ANSI_COLOR_RED, \
++fail, \
msg, \
ANSI_COLOR_RESET))
static unsigned fail
Definition: testing.h:30

Definition at line 41 of file testing.h.

#define PPASS (   msg)
Value:
(printf("[%s:%d] %s PASS(%d):\t%s%s\n", \
__FILE__, \
__LINE__, \
ANSI_COLOR_GREEN, \
++pass, \
msg, \
ANSI_COLOR_RESET))
static unsigned pass
Definition: testing.h:29

Definition at line 33 of file testing.h.

#define PSKIP (   msg)
Value:
(printf("[%s:%d] %s SKIP(%d):\t%s%s\n", \
__FILE__, \
__LINE__, \
ANSI_COLOR_BLUE, \
++skip, \
msg, \
ANSI_COLOR_RESET))
static unsigned skip
Definition: testing.h:31

Definition at line 49 of file testing.h.