wxTst::TempInteractive Class Reference

Make the wxWidgets GUI test temporarily interactive. More...

#include <TempInteractive.h>

List of all members.

Public Member Functions

virtual void ShowCurrentGui (const wxString &file=_T(""), int line=-1)
 TempInteractive ()
virtual ~TempInteractive ()

Protected Member Functions

virtual wxDialog * CreateDialog (const wxString &file, int line)

Detailed Description

Make the wxWidgets GUI test temporarily interactive.

In contrast to WxGuiTestHelper::BreakTestToShowCurrentGui() interactivity with the current GUI is possible, but it has to be kept in mind that this may lead to side effects with the subsequent continuation of test case code!

For the sake of convenience the test can be made interactive several times, e.g.: Create some GUI ... TempInteractive interactive; interactive.ShowCurrentGui (); Manipulate created GUI and inspect result ... interactive.ShowCurrentGui ();

Definition at line 40 of file TempInteractive.h.

Constructor & Destructor Documentation

wxTst::TempInteractive::TempInteractive (  )  [inline]


Definition at line 46 of file TempInteractive.h.

wxTst::TempInteractive::~TempInteractive (  )  [inline, virtual]


Pop + delete event handler and destroy used dialog.

Definition at line 54 of file TempInteractive.h.

Member Function Documentation

wxDialog * TempInteractive::CreateDialog ( const wxString &  file,
int  line 
) [protected, virtual]

Definition at line 65 of file TempInteractive.cpp.

Referenced by ShowCurrentGui().

void TempInteractive::ShowCurrentGui ( const wxString &  file = _T(""),
int  line = -1 
) [virtual]

The documentation for this class was generated from the following files:

wxWidgets Logo Get wxGuiTesting at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Tue Mar 17 17:29:30 2009 for wxGuiTesting by doxygen 1.5.5