![]() |
PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
|
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().
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().
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().
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().
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().
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().
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().
void testStringPLog | ( | ) |
Test the PLog.
Definition at line 34 of file main.cpp.
References PLog::getFileName(), PLog::getLog(), PLog::getThreadIndex(), PLog::isOpen(), PLog::open(), phoenix_assert, PLog::setFileName(), and PLog::setThreadIndex().
Referenced by main().
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().
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().