ParCompMarkTest::TestLogger Class Reference

#include <TestLogger.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Logger.

This is a CppUnit test suite for class ParCompMark::Logger of project ParCompMark.

Definition at line 56 of file TestLogger.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor_cstd__string ()
 Tests constructor Logger::Logger(const std::string &logFileName = parcompmark.log).
void test_destructor ()
 Tests destructor Logger::~Logger().
void test_translateLogLevel_cLogLevel ()
 Tests method Logger::translateLogLevel(const LogLevel &loglevel).
void test_translateException_cException ()
 Tests method Logger::translateException(const Exception &exception).
void test_initialize ()
 Tests method Logger::initialize().
void test_log_cLogLevel_cstd__string ()
 Tests method Logger::log(const LogLevel &loglevel, const std::string &message).
void test_logMultiLine_cLogLevel_cstd__string ()
 Tests method Logger::logMultiLine(const LogLevel &loglevel, const std::string &message).
void test_log_cException ()
 Tests method Logger::log(const Exception &exception).

Member Function Documentation

void ParCompMarkTest::TestLogger::setUp (  ) 

Sets up context before running a test.

Definition at line 33 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::tearDown (  ) 

Cleans up after the test run.

Definition at line 40 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_constructor_cstd__string (  )  [protected]

Tests constructor Logger::Logger(const std::string &logFileName = parcompmark.log).

Definition at line 50 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_destructor (  )  [protected]

Tests destructor Logger::~Logger().

Definition at line 65 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_initialize (  )  [protected]

Tests method Logger::initialize().

Definition at line 112 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_log_cException (  )  [protected]

Tests method Logger::log(const Exception &exception).

Definition at line 180 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_log_cLogLevel_cstd__string (  )  [protected]

Tests method Logger::log(const LogLevel &loglevel, const std::string &message).

Definition at line 130 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_logMultiLine_cLogLevel_cstd__string (  )  [protected]

Tests method Logger::logMultiLine(const LogLevel &loglevel, const std::string &message).

Definition at line 155 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_translateException_cException (  )  [protected]

Tests method Logger::translateException(const Exception &exception).

Definition at line 94 of file TestLogger.cpp.

void ParCompMarkTest::TestLogger::test_translateLogLevel_cLogLevel (  )  [protected]

Tests method Logger::translateLogLevel(const LogLevel &loglevel).

Definition at line 76 of file TestLogger.cpp.


The documentation for this class was generated from the following files: