Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include "vtkAddon.h"
#include "vtkObject.h"
#include "vtkOutputWindow.h"
#include "vtkLoggingMacros.h"
Go to the source code of this file.
Classes | |
class | vtkTestingOutputWindow |
VTK message output window class for automated testing. More... | |
Macros | |
#define | TESTING_OUTPUT_ASSERT_ERRORS(expectedNumberOfMessages) |
Exits with failure if the number of logged error messages is not equal to the specified number. More... | |
#define | TESTING_OUTPUT_ASSERT_ERRORS_BEGIN() |
Asserts that no warnings or errors has been logged so far and prepares for receiving error(s) More... | |
#define | TESTING_OUTPUT_ASSERT_ERRORS_END() |
Asserts that error(s) are logged (warnings ignored), and clears the counters. More... | |
#define | TESTING_OUTPUT_ASSERT_ERRORS_MINIMUM(expectedNumberOfMessages) |
Exits with failure if the number of logged error messages is equal or more than the specified number. More... | |
#define | TESTING_OUTPUT_ASSERT_MESSAGES(expectedNumberOfMessages) |
Exits with failure if the number of logged messages is not equal to the specified number. More... | |
#define | TESTING_OUTPUT_ASSERT_WARNINGS(expectedNumberOfMessages) |
Exits with failure if the number of logged warning messages is not equal to the specified number. More... | |
#define | TESTING_OUTPUT_ASSERT_WARNINGS_BEGIN() |
Asserts that no warnings or errors has been logged so far and prepares for receiving warning(s) More... | |
#define | TESTING_OUTPUT_ASSERT_WARNINGS_END() |
Asserts that warning(s) are logged but not errors, and clears the counters. More... | |
#define | TESTING_OUTPUT_ASSERT_WARNINGS_ERRORS(expectedNumberOfMessages) |
Exits with failure if the number of logged error or warning messages is not equal to the specified number. More... | |
#define | TESTING_OUTPUT_ASSERT_WARNINGS_MINIMUM(expectedNumberOfMessages) |
Exits with failure if the number of logged warning messages is equal or more than the specified number. More... | |
#define | TESTING_OUTPUT_IGNORE_WARNINGS_ERRORS_BEGIN() |
Asserts that no warnings or errors has been logged so far and prepares for receiving error(s) More... | |
#define | TESTING_OUTPUT_IGNORE_WARNINGS_ERRORS_END() |
Asserts that error(s) are logged (warnings ignored), and clears the counters. More... | |
#define | TESTING_OUTPUT_INIT() vtkTestingOutputWindow::GetInstance(); |
Initializes logging to the tesing window. More... | |
#define | TESTING_OUTPUT_RESET() vtkTestingOutputWindow::GetInstance()->ResetNumberOfLoggedMessages(); |
Resets all message counters to 0. More... | |
#define TESTING_OUTPUT_ASSERT_ERRORS | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged error messages is not equal to the specified number.
Definition at line 129 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_ERRORS_BEGIN | ( | ) |
Asserts that no warnings or errors has been logged so far and prepares for receiving error(s)
Definition at line 194 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_ERRORS_END | ( | ) |
Asserts that error(s) are logged (warnings ignored), and clears the counters.
Definition at line 202 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_ERRORS_MINIMUM | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged error messages is equal or more than the specified number.
Definition at line 165 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_MESSAGES | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged messages is not equal to the specified number.
Definition at line 105 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_WARNINGS | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged warning messages is not equal to the specified number.
Definition at line 117 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_WARNINGS_BEGIN | ( | ) |
Asserts that no warnings or errors has been logged so far and prepares for receiving warning(s)
Definition at line 177 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_WARNINGS_END | ( | ) |
Asserts that warning(s) are logged but not errors, and clears the counters.
Definition at line 185 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_WARNINGS_ERRORS | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged error or warning messages is not equal to the specified number.
Definition at line 141 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_ASSERT_WARNINGS_MINIMUM | ( | expectedNumberOfMessages | ) |
Exits with failure if the number of logged warning messages is equal or more than the specified number.
Definition at line 153 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_IGNORE_WARNINGS_ERRORS_BEGIN | ( | ) |
Asserts that no warnings or errors has been logged so far and prepares for receiving error(s)
Definition at line 210 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_IGNORE_WARNINGS_ERRORS_END | ( | ) |
Asserts that error(s) are logged (warnings ignored), and clears the counters.
Definition at line 218 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_INIT | ( | ) | vtkTestingOutputWindow::GetInstance(); |
Initializes logging to the tesing window.
Definition at line 99 of file vtkTestingOutputWindow.h.
#define TESTING_OUTPUT_RESET | ( | ) | vtkTestingOutputWindow::GetInstance()->ResetNumberOfLoggedMessages(); |
Resets all message counters to 0.
Definition at line 102 of file vtkTestingOutputWindow.h.