Version: 8.3.0
SALOMELocalTraceTest Class Reference

#include <SALOMELocalTraceTest.hxx>

Inheritance diagram for SALOMELocalTraceTest:

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

Member Function Documentation

std::string SALOMELocalTraceTest::_getTraceFileName ( )
private
SALOMELocalTraceTest::CPPUNIT_TEST ( testSingletonBufferPool  )
private
SALOMELocalTraceTest::CPPUNIT_TEST ( testLoadBufferPoolLocal  )
private
SALOMELocalTraceTest::CPPUNIT_TEST ( testLoadBufferPoolFile  )
private
SALOMELocalTraceTest::CPPUNIT_TEST_SUITE ( SALOMELocalTraceTest  )
private
SALOMELocalTraceTest::CPPUNIT_TEST_SUITE_END ( )
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.