OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Testing Namespace Reference

Functions

void printTestSummary ()
 

Variables

static unsigned pass = 0
 
static unsigned fail = 0
 
static unsigned skip = 0
 

Function Documentation

void Testing::printTestSummary ( )

Definition at line 62 of file testing.h.

References fail, pass, and skip.

62  {
63  printf("pass=%u fail=%u skip=%u total=%u (%.1f%% %.1f%% %.1f%%)\n",
64  pass,
65  fail,
66  skip,
67  (pass + fail),
68  ((double)pass / (pass + fail)) * 100,
69  ((double)fail / (pass + fail)) * 100,
70  ((double)skip / (pass + fail)) * 100);
71 }
static unsigned skip
Definition: testing.h:31
static unsigned fail
Definition: testing.h:30
static unsigned pass
Definition: testing.h:29

Variable Documentation

unsigned Testing::pass = 0
static

Definition at line 29 of file testing.h.

Referenced by kafka_insert(), and printTestSummary().

unsigned Testing::skip = 0
static

Definition at line 31 of file testing.h.

Referenced by Chunk_NS::Chunk::begin_iterator(), and printTestSummary().