BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls_bsltestutil.h File Reference
#include <bsls_ident.h>
#include <bsls_platform.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  bsls::BslTestUtil
 

Macros

#define BSLS_BSLTESTUTIL_ASSERT(X)    do { aSsErT(!(X), #X, __LINE__); } while (false)
 
#define BSLS_BSLTESTUTIL_LOOP0_ASSERT    BSLS_BSLTESTUTIL_ASSERT
 
#define BSLS_BSLTESTUTIL_LOOP_ASSERT(I, X)
 
#define BSLS_BSLTESTUTIL_LOOP1_ASSERT    BSLS_BSLTESTUTIL_LOOP_ASSERT
 
#define BSLS_BSLTESTUTIL_LOOP2_ASSERT(I, J, X)
 
#define BSLS_BSLTESTUTIL_LOOP3_ASSERT(I, J, K, X)
 
#define BSLS_BSLTESTUTIL_LOOP4_ASSERT(I, J, K, L, X)
 
#define BSLS_BSLTESTUTIL_LOOP5_ASSERT(I, J, K, L, M, X)
 
#define BSLS_BSLTESTUTIL_LOOP6_ASSERT(I, J, K, L, M, N, X)
 
#define BSLS_BSLTESTUTIL_LOOP7_ASSERT(I, J, K, L, M, N, O, X)
 
#define BSLS_BSLTESTUTIL_LOOP8_ASSERT(I, J, K, L, M, N, O, V, X)
 
#define BSLS_BSLTESTUTIL_EXPAND(X)    X
 
#define BSLS_BSLTESTUTIL_NUM_ARGS_IMPL(X8, X7, X6, X5, X4, X3, X2, X1, X0, N, ...)    N
 
#define BSLS_BSLTESTUTIL_NUM_ARGS(...)
 
#define BSLS_BSLTESTUTIL_LOOPN_ASSERT_IMPL(N, ...)    BSLS_BSLTESTUTIL_EXPAND(BSLS_BSLTESTUTIL_LOOP ## N ## _ASSERT(__VA_ARGS__))
 
#define BSLS_BSLTESTUTIL_LOOPN_ASSERT(N, ...)    BSLS_BSLTESTUTIL_LOOPN_ASSERT_IMPL(N, __VA_ARGS__)
 
#define BSLS_BSLTESTUTIL_ASSERTV(...)
 
#define BSLS_BSLTESTUTIL_Q(X)
 Quote identifier literally.
 
#define BSLS_BSLTESTUTIL_P(X)
 Print identifier and its value.
 
#define BSLS_BSLTESTUTIL_P_(X)
 P(X) without '
'.
 
#define BSLS_BSLTESTUTIL_L_   __LINE__
 Current line number.
 
#define BSLS_BSLTESTUTIL_T_   BloombergLP::bsls::BslTestUtil::printTab();
 Print a tab (w/o newline).
 
#define BSLS_BSLTESTUTIL_FORMAT_ZU   "%zu"
 
#define BSLS_BSLTESTUTIL_FORMAT_TD   "%td"
 
#define BSLS_BSLTESTUTIL_FORMAT_I64   "%lld"
 
#define BSLS_BSLTESTUTIL_FORMAT_U64   "%llu"
 
#define BSLS_BSLTESTUTIL_FORMAT_PTR   "%X"
 

Functions

void bsls::debugprint (bool v)
 
void bsls::debugprint (char v)
 
void bsls::debugprint (signed char v)
 
void bsls::debugprint (unsigned char v)
 
void bsls::debugprint (short v)
 
void bsls::debugprint (unsigned short v)
 
void bsls::debugprint (int v)
 
void bsls::debugprint (unsigned int v)
 
void bsls::debugprint (long v)
 
void bsls::debugprint (unsigned long v)
 
void bsls::debugprint (long long v)
 
void bsls::debugprint (unsigned long long v)
 
void bsls::debugprint (float v)
 
void bsls::debugprint (double v)
 
void bsls::debugprint (long double v)
 
void bsls::debugprint (const char *v)
 
void bsls::debugprint (char *v)
 
void bsls::debugprint (const volatile char *v)
 
void bsls::debugprint (volatile char *v)
 
void bsls::debugprint (void *v)
 
void bsls::debugprint (volatile void *v)
 
void bsls::debugprint (const void *v)
 
void bsls::debugprint (const volatile void *v)
 
template<class RESULT >
void bsls::debugprint (RESULT(*v)())
 

Detailed Description

The content of this file has been pre-processed for Doxygen.