![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | testLogCoutDedirectInFile () |
| Test if the std::cout redirection is working. More... | |
| void | testLogDisable () |
| Test if the std::cout redirection is working. More... | |
| void | testLogLevelToString () |
| Test the conversion of log level into string. More... | |
| void | testLogStdoutOnly () |
| Test if the std::cout redirection is working. More... | |
| void | testStringLogAppend () |
| Test if the STRING_ONLY log mode works. More... | |
| void | testStringMultiPLog () |
| Test the PLog. More... | |
| void | testStringPLog () |
| Test the PLog. More... | |
| void | testStringPLogLevel () |
| Test the PLog. More... | |
| void | testStringToLogLevel () |
| Test the conversion of string into log level. More... | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 157 of file main.cpp.
References testLogCoutDedirectInFile(), testLogDisable(), testLogLevelToString(), testLogStdoutOnly(), testStringLogAppend(), testStringMultiPLog(), testStringPLog(), testStringPLogLevel(), and testStringToLogLevel().
Here is the call graph for this function:| void testLogCoutDedirectInFile | ( | ) |
Test if the std::cout redirection is working.
Definition at line 82 of file main.cpp.
References PLog::close(), PLog::FILE_CAPTURE_STDOUT_STDERR, PLog::getLog(), PLog::open(), phoenix_assert, PLog::setFileName(), and PLog::setMode().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testLogDisable | ( | ) |
Test if the std::cout redirection is working.
Definition at line 109 of file main.cpp.
References PLog::close(), PLog::DISABLE, PLog::getLog(), PLog::open(), phoenix_assert, PLog::setFileName(), and PLog::setMode().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testLogLevelToString | ( | ) |
Test the conversion of log level into string.
Definition at line 14 of file main.cpp.
References PLog::ALWAYS, PLog::CRITICAL, PLog::DEBUG, PLog::ERROR, PLog::INFO, phoenix_assert, phoenix_logLevelToStr(), and PLog::WARNING.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testLogStdoutOnly | ( | ) |
Test if the std::cout redirection is working.
Definition at line 96 of file main.cpp.
References PLog::close(), PLog::getLog(), PLog::open(), phoenix_assert, PLog::setFileName(), PLog::setMode(), and PLog::STDOUT_ONLY.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringLogAppend | ( | ) |
Test if the STRING_ONLY log mode works.
Definition at line 120 of file main.cpp.
References PLog::appendLog(), PLog::close(), PLog::CRITICAL, PLog::DEBUG, PLog::ERROR, PLog::FILE_ONLY, PLog::getLog(), PLog::getLogCritical(), PLog::getLogDebug(), PLog::getLogError(), PLog::getLogInfo(), PLog::getLogString(), PLog::getLogWarning(), PLog::INFO, PLog::open(), phoenix_assert, PLog::setFileName(), PLog::setLogLevel(), PLog::setMode(), PLog::setThreadIndex(), PLog::STRING_ONLY, and PLog::WARNING.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringMultiPLog | ( | ) |
Test the PLog.
Definition at line 67 of file main.cpp.
References PLog::getLog(), PLog::open(), phoenix_assert, PLog::resize(), and PLog::setFileName().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringPLog | ( | ) |
Test the PLog.
Definition at line 34 of file main.cpp.
References PLog::getFileName(), PLog::getLog(), PLog::getThreadIndex(), PLog::open(), phoenix_assert, PLog::setFileName(), and PLog::setThreadIndex().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringPLogLevel | ( | ) |
Test the PLog.
Definition at line 47 of file main.cpp.
References PLog::CRITICAL, PLog::DEBUG, PLog::ERROR, PLog::getFileName(), PLog::getLog(), PLog::getLogCritical(), PLog::getLogDebug(), PLog::getLogError(), PLog::getLogInfo(), PLog::getLogWarning(), PLog::INFO, PLog::open(), phoenix_assert, PLog::setFileName(), PLog::setLogLevel(), and PLog::WARNING.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringToLogLevel | ( | ) |
Test the conversion of string into log level.
Definition at line 24 of file main.cpp.
References PLog::ALWAYS, PLog::CRITICAL, PLog::DEBUG, PLog::ERROR, PLog::INFO, phoenix_assert, phoenix_strToLogLevel(), and PLog::WARNING.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: