#include <SALOMELocalTraceTest.hxx>
Public Member Functions | |
void | setUp () |
void | tearDown () |
void | testSingletonBufferPool () |
Open and close a trace on a file, test singleton. More... | |
void | testLoadBufferPoolLocal () |
open a trace on console, multithread writing on file, close More... | |
void | testLoadBufferPoolFile () |
open a trace on a file, multithread writing on file, close More... | |
Private Member Functions | |
CPPUNIT_TEST_SUITE (SALOMELocalTraceTest) | |
CPPUNIT_TEST (testSingletonBufferPool) | |
CPPUNIT_TEST (testLoadBufferPoolLocal) | |
CPPUNIT_TEST (testLoadBufferPoolFile) | |
CPPUNIT_TEST_SUITE_END () | |
std::string | _getTraceFileName () |
|
private |
References Kernel_Utils::GetTmpDir().
Referenced by testLoadBufferPoolFile(), and testSingletonBufferPool().
|
private |
|
private |
|
private |
|
private |
|
private |
void SALOMELocalTraceTest::setUp | ( | ) |
void SALOMELocalTraceTest::tearDown | ( | ) |
void SALOMELocalTraceTest::testLoadBufferPoolFile | ( | ) |
open a trace on a file, multithread writing on file, close
References _getTraceFileName(), PROTECTED_DELETE::deleteInstance(), LocalTraceBufferPool::instance(), MESSAGE, NUM_THREADS, out, PrintHello(), and traceFile.
void SALOMELocalTraceTest::testLoadBufferPoolLocal | ( | ) |
open a trace on console, multithread writing on file, close
References PROTECTED_DELETE::deleteInstance(), LocalTraceBufferPool::instance(), MESSAGE, NUM_THREADS, and PrintHello().
void SALOMELocalTraceTest::testSingletonBufferPool | ( | ) |
Open and close a trace on a file, test singleton.
References _getTraceFileName(), PROTECTED_DELETE::deleteInstance(), LocalTraceBufferPool::instance(), out, and traceFile.