Summit II/Testing Framework

From ParaQ Wiki
Revision as of 15:40, 10 March 2006 by Tshead (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Classes

Class Description
pqWidgetEventTranslator Abstract interface for objects that can convert low-level Qt events into a high-level string representation.
pqEventTranslator Manages a collection of pqWidgetEventTranslator objects, globally capturing Qt events and marshalling them to the correct translators.
pqEventObserverStdout Adapter object that receives high-level events from a pqEventTranslator and prints them to stdout.
pqEventObserverXML Adapter object that receives high-level events from a pqEventTranslator and writes them to a stream in XML format.
pqWidgetEventPlayer Abstract interface for objects that convert high-level events back into low-level Qt events, sending them to a QObject.
pqEventPlayer Manages a collection of pqWidgetEventPlayer object, "playing back" a stream of high-level events by marshalling them to the correct players.
pqEventPlayerXML Adapter object that reads high-level events from an XML document and sends them to a pqEventPlayer for playback.

Functions

Function Description
pqSaveScreenshot Captures a screenshot from a vtkRenderWindow and writes it to a file
pqCompareImage Compares the contents of a vtkRenderWindow to a reference image, returning failure if they differ by more than a threshold amount