OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WExceptionTest Class Reference

Test WException. More...

#include <WException_test.h>

+ Inheritance diagram for WExceptionTest:
+ Collaboration diagram for WExceptionTest:

Public Member Functions

void testInstantiation (void)
 An instantiation should never throw an exception. More...
 
void testGetMessage (void)
 Getting the message means every trace element should be returned. More...
 
void testBacktrace (void)
 Test backtrace. More...
 

Detailed Description

Test WException.

Definition at line 38 of file WException_test.h.

Member Function Documentation

◆ testBacktrace()

void WExceptionTest::testBacktrace ( void  )
inline

Test backtrace.

This test always passes on platforms other than Linux!

Definition at line 67 of file WException_test.h.

References WException::getBacktrace().

+ Here is the call graph for this function:

◆ testGetMessage()

void WExceptionTest::testGetMessage ( void  )
inline

Getting the message means every trace element should be returned.

Definition at line 53 of file WException_test.h.

References WException::getTrace(), and WException::m_trace.

+ Here is the call graph for this function:

◆ testInstantiation()

void WExceptionTest::testInstantiation ( void  )
inline

An instantiation should never throw an exception.

Definition at line 44 of file WException_test.h.


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