Summit II/Testing Framework: Difference between revisions
From ParaQ Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Classes == | |||
{| border="1" cellpadding="5" cellspacing="0" | {| border="1" cellpadding="5" cellspacing="0" | ||
|- | |- | ||
Line 25: | Line 27: | ||
|Adapter object that reads high-level events from an XML document and sends them to a pqEventPlayer for playback. | |Adapter object that reads high-level events from an XML document and sends them to a pqEventPlayer for playback. | ||
|} | |} | ||
== Functions == | |||
{| border="1" cellpadding="5" cellspacing="0" | {| border="1" cellpadding="5" cellspacing="0" |
Latest revision as of 15:40, 10 March 2006
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 |