OpenWalnut  1.4.0
Public Member Functions
WTerminalColorTest Class Reference

Test WTerminalColor. More...

#include <WTerminalColor_test.h>

+ Inheritance diagram for WTerminalColorTest:

List of all members.

Public Member Functions

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

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

Test control string generated by class.

Definition at line 54 of file WTerminalColor_test.h.

References WTerminalColor::m_colorString.

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().

Test control string (reset) generated by class.

Definition at line 72 of file WTerminalColor_test.h.

References WTerminalColor::m_colorResetString.

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: