ParCompMarkTest::TestException Class Reference

#include <TestException.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Exception.

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

Definition at line 56 of file TestException.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_cExceptionType_cstd__string_cstd__string_cstd__string_cu32 ()
 Tests constructor Exception::Exception(const ExceptionType &type = INTERNAL_ERROR, const std::string &description = unknown, const std::string &fileName = unknown, const std::string &functionName = unknown, const u32 &lineNumber = 0).
void test_translateType_cException__ExceptionType ()
 Tests method Exception::translateType(const Exception::ExceptionType &type).

Member Function Documentation

void ParCompMarkTest::TestException::setUp (  ) 

Sets up context before running a test.

Definition at line 33 of file TestException.cpp.

void ParCompMarkTest::TestException::tearDown (  ) 

Cleans up after the test run.

Definition at line 40 of file TestException.cpp.

void ParCompMarkTest::TestException::test_constructor_cExceptionType_cstd__string_cstd__string_cstd__string_cu32 (  )  [protected]

Tests constructor Exception::Exception(const ExceptionType &type = INTERNAL_ERROR, const std::string &description = unknown, const std::string &fileName = unknown, const std::string &functionName = unknown, const u32 &lineNumber = 0).

Definition at line 50 of file TestException.cpp.

References ParCompMark::Exception::getDescription(), ParCompMark::Exception::getFileName(), ParCompMark::Exception::getFunctionName(), ParCompMark::Exception::getLineNumber(), and ParCompMark::Exception::getType().

Here is the call graph for this function:

void ParCompMarkTest::TestException::test_translateType_cException__ExceptionType (  )  [protected]

Tests method Exception::translateType(const Exception::ExceptionType &type).

Definition at line 70 of file TestException.cpp.


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