OpenWalnut
1.5.0dev
|
Unit tests our log messages. More...
#include <WLogEntry_test.h>
Public Member Functions | |
void | testFormatStringReplacement (void) |
If given a format string of the form: "%t :: %l :: %m" then the log message will replace t with time of logging and l with level of logging and m with the message itself. More... | |
void | testEmptyStringAsFormatString (void) |
If an empty format string is given, then an empty string should be returned. More... | |
void | testUnkownLogLevel (void) |
If ever an unknown log level was used to construct the entry then no replacement should be done. More... | |
Unit tests our log messages.
Definition at line 37 of file WLogEntry_test.h.
|
inline |
If an empty format string is given, then an empty string should be returned.
Definition at line 59 of file WLogEntry_test.h.
References WLogEntry::getLogString().
|
inline |
If given a format string of the form: "%t :: %l :: %m" then the log message will replace t with time of logging and l with level of logging and m with the message itself.
Definition at line 45 of file WLogEntry_test.h.
References WLogEntry::getLogString().
|
inline |
If ever an unknown log level was used to construct the entry then no replacement should be done.
Definition at line 69 of file WLogEntry_test.h.
References WLogEntry::getLogString().