|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include "mitkCommon.h"#include "mitkTestingMacros.h"#include <itksys/SystemTools.hxx>#include <mitkLog.h>#include <mitkStandardFileLocations.h>#include <string>#include <QtConcurrentRun>Go to the source code of this file.
Functions | |
| void | LogMessages (unsigned int threadID, unsigned int numberOfTimes) |
| static void | TestThreadSaveLog (bool toFile) |
| Test logging from Qt threads. More... | |
| int | QmitkThreadedLogTest (int, char *[]) |
| void LogMessages | ( | unsigned int | threadID, |
| unsigned int | numberOfTimes | ||
| ) |
Definition at line 23 of file QmitkThreadedLogTest.cpp.
References MITK_DEBUG, MITK_ERROR, MITK_FATAL, MITK_INFO, and MITK_WARN.
Referenced by TestThreadSaveLog().
| int QmitkThreadedLogTest | ( | int | , |
| char * | [] | ||
| ) |
Definition at line 94 of file QmitkThreadedLogTest.cpp.
References MITK_TEST_BEGIN(), MITK_TEST_END(), MITK_TEST_OUTPUT, and TestThreadSaveLog().
|
static |
Test logging from Qt threads.
Definition at line 45 of file QmitkThreadedLogTest.cpp.
References mitk::StandardFileLocations::GetInstance(), mitk::StandardFileLocations::GetOptionDirectory(), LogMessages(), MITK_ERROR, MITK_TEST_CONDITION_REQUIRED, and mitk::LoggingBackend::SetLogFile().
Referenced by mitkLogTest(), and QmitkThreadedLogTest().