#include <CRCapture.h>


Public Member Functions | |
| virtual void | Capture (const char *file, int line) |
| Capture events in GUI test case bootstrap mode. | |
| CRCapture () | |
| Constructor. | |
| virtual void | Log (const wxString &text) |
| Log some text. | |
| virtual | ~CRCapture () |
| Destructor. | |
Protected Member Functions | |
| virtual void | CreateDialog () |
| Creates capturing dialog. | |
| virtual CRCaptureControl * | CreateEvtHandler () const |
| Create event handler for capturing dialog. | |
| virtual wxPanel * | LoadPanel () |
| Load concrete capturing panel. | |
| virtual void | Show () |
| Prepare capturing by showing dialog after configuring main loop. | |
Protected Attributes | |
| CRCaptureControl * | m_control |
| wxDialog * | m_dialog |
Definition at line 34 of file CRCapture.h.
| wxTst::CRCapture::CRCapture | ( | ) |
| wxTst::CRCapture::~CRCapture | ( | ) | [virtual] |
| void wxTst::CRCapture::Capture | ( | const char * | file, | |
| int | line | |||
| ) | [virtual] |
Capture events in GUI test case bootstrap mode.
| file | name of affected GUI test case file | |
| line | line number of affected GUI test case file |
Definition at line 52 of file CRCapture.cpp.
References wxTst::CRCppEmitter::GetInstance(), wxTst::CRCppEmitter::SetTestCaseFileContext(), and Show().
| void wxTst::CRCapture::CreateDialog | ( | ) | [protected, virtual] |
Creates capturing dialog.
Reimplemented in wxTst::CRVtkCapture.
Definition at line 108 of file CRCapture.cpp.
References LoadPanel(), and m_dialog.
Referenced by wxTst::CRVtkCapture::CreateDialog(), and Show().
| CRCaptureControl * wxTst::CRCapture::CreateEvtHandler | ( | ) | const [protected, virtual] |
Create event handler for capturing dialog.
Reimplemented in wxTst::CRVtkCapture.
Definition at line 102 of file CRCapture.cpp.
References m_dialog.
Referenced by Show().
| wxPanel * wxTst::CRCapture::LoadPanel | ( | ) | [protected, virtual] |
Load concrete capturing panel.
Reimplemented in wxTst::CRVtkCapture.
Definition at line 128 of file CRCapture.cpp.
References InitCapturePanelXRC(), and m_dialog.
Referenced by CreateDialog().
| void wxTst::CRCapture::Log | ( | const wxString & | text | ) | [virtual] |
Log some text.
| text | text to log |
Implements wxTst::CRLogInterface.
Definition at line 61 of file CRCapture.cpp.
| void wxTst::CRCapture::Show | ( | ) | [protected, virtual] |
Prepare capturing by showing dialog after configuring main loop.
Definition at line 67 of file CRCapture.cpp.
References CreateDialog(), CreateEvtHandler(), wxTst::CREventCaptureManager::GetInstance(), wxTst::WxGuiTestHelper::GetInteractive(), wxTst::WxGuiTestHelper::GetShowModalDialogsNonModalFlag(), wxTst::WxGuiTestHelper::GetShowPopupMenusFlag(), wxTst::CREventCaptureManager::IgnoreWindow(), m_control, m_dialog, wxTst::CRCaptureControl::SetButtonStates(), wxTst::WxGuiTestHelper::SetInteractive(), wxTst::CREventCaptureManager::SetLogger(), wxTst::WxGuiTestHelper::SetShowModalDialogsNonModalFlag(), and wxTst::WxGuiTestHelper::SetShowPopupMenusFlag().
Referenced by Capture().
CRCaptureControl* wxTst::CRCapture::m_control [protected] |
wxDialog* wxTst::CRCapture::m_dialog [protected] |
Definition at line 132 of file CRCapture.h.
Referenced by CRCapture(), wxTst::CRVtkCapture::CreateDialog(), CreateDialog(), wxTst::CRVtkCapture::CreateEvtHandler(), CreateEvtHandler(), wxTst::CRVtkCapture::LoadPanel(), LoadPanel(), Show(), and ~CRCapture().
1.5.5