58 conn_test.
SetEmail(
"gbench-bugs@ncbi.nlm.nih.gov");
73 m_ConnInfo =
"No problems with connection found";
76 catch (
const std::exception&) {
CConnTestThread(unsigned int timeout)
virtual void * Main(void)
Do job delegated processing to the main class.
CAtomicCounter_WithAutoInit m_Finished
Guard for collecting diag messages (affects the current thread only).
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
void Set(TValue new_value) THROWS_NONE
Set atomic counter value.
void Release(void)
Release the guard.
void SetDiagFilter(EDiagFilter what, const char *filter_str)
Set diagnostic filter.
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
@ ePrint
Print all collected messages as is.
@ eDiag_Trace
Trace message.
@ eDiag_Info
Informational message.
@ eDiagFilter_Trace
for TRACEs only
void Info(CExceptionArgs_Base &args)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void Stop(void)
Suspend the timer.
string AsSmartString(CTimeSpan::ESmartStringPrecision precision, ERound rounding, CTimeSpan::ESmartStringZeroMode zero_mode=CTimeSpan::eSSZ_SkipZero) const
Transform elapsed time to "smart" string.
@ eStart
Start timer immediately after creating.
unsigned int usec
microseconds (modulo 1,000,000)
@ eIO_Success
everything is fine, no error occurred
EStage
Note that each stage has a previous one as a prerequisite, with the only exception for the stateful s...
void SetDebugPrintout(EDebugPrintout debug_printout)
virtual EIO_Status Execute(EStage &stage, string *reason=0)
Execute the test suite from the very first (eHttp) up to and including the requested "stage".
void SetEmail(const string &email)
void SetCanceledCallback(const ICanceled *canceled)
@ eStatefulService
Check whether NCBI stateful service works.
unsigned int
A callback function used to compare two keys in a database.
Defines: CTimeFormat - storage class for time format.