|
OpenWalnut 1.3.1
|
Test WTerminalColor. More...
#include <WTerminalColor_test.h>
Inheritance diagram for WTerminalColorTest: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. | |
Test WTerminalColor.
Just some simple test to verify the control strings.
Definition at line 39 of file WTerminalColor_test.h.
| void WTerminalColorTest::testColorControlString | ( | void | ) | [inline] |
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().
| 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.
| void WTerminalColorTest::testInstantiation | ( | void | ) | [inline] |
An instantiation should never throw an exception.
Definition at line 45 of file WTerminalColor_test.h.
1.7.4