|
Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
VTK message output window class for automated testing. More...
#include <Libs/vtkAddon/vtkTestingOutputWindow.h>


Public Types | |
| typedef vtkOutputWindow | Superclass |
Public Member Functions | |
| virtual void | DisplayDebugText (const char *text) VTK_OVERRIDE |
| virtual void | DisplayErrorText (const char *text) VTK_OVERRIDE |
| virtual void | DisplayGenericWarningText (const char *text) VTK_OVERRIDE |
| virtual void | DisplayText (const char *text) VTK_OVERRIDE |
| virtual void | DisplayWarningText (const char *text) VTK_OVERRIDE |
| virtual const char * | GetClassName () |
| virtual int | GetNumberOfLoggedErrorMessages () |
| virtual int | GetNumberOfLoggedMessages () |
| int | GetNumberOfLoggedWarningErrorMessages () |
| virtual int | GetNumberOfLoggedWarningMessages () |
| virtual int | IsA (const char *type) |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| virtual void | ResetNumberOfLoggedMessages () |
| virtual void | SetNumberOfLoggedErrorMessages (int) |
| virtual void | SetNumberOfLoggedMessages (int) |
| virtual void | SetNumberOfLoggedWarningMessages (int) |
Static Public Member Functions | |
| static vtkTestingOutputWindow * | GetInstance () |
| static int | IsTypeOf (const char *type) |
| static vtkTestingOutputWindow * | New () |
| static vtkTestingOutputWindow * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkTestingOutputWindow () | |
| virtual | ~vtkTestingOutputWindow () |
Protected Attributes | |
| int | NumberOfLoggedErrorMessages |
| int | NumberOfLoggedMessages |
| int | NumberOfLoggedWarningMessages |
VTK message output window class for automated testing.
This is a VTK output window class that is optimized to be used in automated tests:
A set of convenience macros are defined. Example:
// Initialize output window. All messages are logged to the console. TESTING_OUTPUT_INIT();
...perform operations that must_not log error messages TESTING_OUTPUT_ASSERT_WARNINGS_ERRORS(0);
TESTING_OUTPUT_ASSERT_WARNINGS_BEGIN(); ...perform operations that must log error messages TESTING_OUTPUT_ASSERT_WARNINGS_END();
Definition at line 45 of file vtkTestingOutputWindow.h.
| typedef vtkOutputWindow vtkTestingOutputWindow::Superclass |
Definition at line 48 of file vtkTestingOutputWindow.h.
|
protected |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
| int vtkTestingOutputWindow::GetNumberOfLoggedWarningErrorMessages | ( | ) |
|
virtual |
|
virtual |
|
static |
|
static |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 87 of file vtkTestingOutputWindow.h.
|
protected |
Definition at line 88 of file vtkTestingOutputWindow.h.
|
protected |
Definition at line 86 of file vtkTestingOutputWindow.h.
1.8.13