ParCompMarkTest::TestLogger Class Reference
#include <TestLogger.h>
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 | ( | ) |
void ParCompMarkTest::TestLogger::tearDown | ( | ) |
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] |
void ParCompMarkTest::TestLogger::test_initialize | ( | ) | [protected] |
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: