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

Test WTerminalColor. More...

#include <WTerminalColor_test.h>

+ Inheritance diagram for WTerminalColorTest:
+ Collaboration diagram for WTerminalColorTest:

Public Member Functions

void testInstantiation (void)
 An instantiation should never throw an exception. More...
 
void testColorControlString (void)
 Test control string generated by class. More...
 
void testColorResetControlString (void)
 Test control string (reset) generated by class. More...
 
void testColorDisabled (void)
 Test whether the class returns empty control strings when colors are disabled. More...
 

Detailed Description

Test WTerminalColor.

Just some simple test to verify the control strings.

Definition at line 39 of file WTerminalColor_test.h.

Member Function Documentation

◆ testColorControlString()

void WTerminalColorTest::testColorControlString ( void  )
inline

Test control string generated by class.

Definition at line 54 of file WTerminalColor_test.h.

References WTerminalColor::m_colorString.

◆ testColorDisabled()

void WTerminalColorTest::testColorDisabled ( void  )
inline

Test whether the class returns empty control strings when colors are disabled.

Definition at line 90 of file WTerminalColor_test.h.

References WTerminalColor::m_colorResetString, WTerminalColor::m_colorString, and WTerminalColor::setEnabled().

+ Here is the call graph for this function:

◆ testColorResetControlString()

void WTerminalColorTest::testColorResetControlString ( void  )
inline

Test control string (reset) generated by class.

Definition at line 72 of file WTerminalColor_test.h.

References WTerminalColor::m_colorResetString.

◆ testInstantiation()

void WTerminalColorTest::testInstantiation ( void  )
inline

An instantiation should never throw an exception.

Definition at line 45 of file WTerminalColor_test.h.


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