#include <TempInteractive.h>
Public Member Functions | |
virtual void | ShowCurrentGui (const wxString &file=_T(""), int line=-1) |
TempInteractive () | |
Constructor. | |
virtual | ~TempInteractive () |
Destructor. | |
Protected Member Functions | |
virtual wxDialog * | CreateDialog (const wxString &file, int line) |
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.
wxTst::TempInteractive::TempInteractive | ( | ) | [inline] |
wxTst::TempInteractive::~TempInteractive | ( | ) | [inline, virtual] |
Destructor.
Pop + delete event handler and destroy used dialog.
Definition at line 54 of file TempInteractive.h.
wxDialog * TempInteractive::CreateDialog | ( | const wxString & | file, | |
int | line | |||
) | [protected, virtual] |
void TempInteractive::ShowCurrentGui | ( | const wxString & | file = _T("") , |
|
int | line = -1 | |||
) | [virtual] |
Definition at line 26 of file TempInteractive.cpp.
References CreateDialog(), wxTst::WxGuiTestHelper::GetDisableTestInteractivity(), wxTst::WxGuiTestHelper::GetInteractive(), wxTst::WxGuiTestHelper::GetShowModalDialogsNonModalFlag(), wxTst::WxGuiTestHelper::GetShowPopupMenusFlag(), wxTst::WxGuiTestHelper::SetInteractive(), wxTst::WxGuiTestHelper::SetShowModalDialogsNonModalFlag(), and wxTst::WxGuiTestHelper::SetShowPopupMenusFlag().