OmniSciDB  addbbd5075
 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::fail = 0
static

Definition at line 30 of file testing.h.

Referenced by com.mapd.parser.server.test.TestServer::callCalciteCheck(), com.mapd.parser.server.test.TestMapDServer::closeMapDConnection(), com.mapd.parser.server.test.TestMapDServer::createMapDConnection(), com.mapd.parser.server.test.TestMapDServer::executeQuery(), printTestSummary(), com.omnisci.jdbc.OmniSciConnectionTest::tst1_binary_unencrypted(), com.omnisci.jdbc.OmniSciConnectionTest::tst1a_binary_encrypted_supplied_truststore(), com.omnisci.jdbc.OmniSciConnectionTest::tst1b_binary_encrypted_default(), com.omnisci.jdbc.OmniSciConnectionTest::tst1c_binary_encrypted_supplied_truststore_pkiauth_valid(), com.omnisci.jdbc.OmniSciConnectionTest::tst1e_binary_encrypted_supplied_truststore_pkiauth_invalid(), com.omnisci.jdbc.OmniSciConnectionTest::tst2_http_unencrypted(), com.omnisci.jdbc.OmniSciConnectionTest::tst3a_https_encrypted_without_server_validation_default_truststore(), com.omnisci.jdbc.OmniSciConnectionTest::tst3b_https_encrypted_without_server_validation_supplied_truststore(), com.omnisci.jdbc.OmniSciConnectionTest::tst3c_https_encrypted_server_validation_default_truststore(), com.omnisci.jdbc.OmniSciConnectionTest::tst3d_https_encrypted_with_server_validation_supplied_truststore(), com.omnisci.jdbc.OmniSciConnectionTest::tst3e_https_insecure_encrypted_supplied_truststore_pkiauth_valid(), com.omnisci.jdbc.OmniSciConnectionTest::tst5_connect(), com.omnisci.jdbc.OmniSciConnectionTest::tst6_connect(), com.omnisci.jdbc.OmniSciConnectionTest::tst7_connect(), and com.omnisci.jdbc.OmniSciConnectionTest::tst8_connect().

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().