wxTst::CRCapture Class Reference

Provides a way of capturing GUI interaction for future test cases. More...

#include <CRCapture.h>

Inheritance diagram for wxTst::CRCapture:

Inheritance graph
[legend]
Collaboration diagram for wxTst::CRCapture:

Collaboration graph
[legend]

List of all members.

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 CRCaptureControlCreateEvtHandler () 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

CRCaptureControlm_control
wxDialog * m_dialog


Detailed Description

Provides a way of capturing GUI interaction for future test cases.

Definition at line 34 of file CRCapture.h.


Constructor & Destructor Documentation

wxTst::CRCapture::CRCapture (  ) 

Constructor.

Definition at line 32 of file CRCapture.cpp.

References m_control, and m_dialog.

wxTst::CRCapture::~CRCapture (  )  [virtual]

Destructor.

Definition at line 42 of file CRCapture.cpp.

References m_dialog.


Member Function Documentation

void wxTst::CRCapture::Capture ( const char *  file,
int  line 
) [virtual]

Capture events in GUI test case bootstrap mode.

Parameters:
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.

Returns:
new 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.

Returns:
loaded 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.

Parameters:
text text to log

Implements wxTst::CRLogInterface.

Definition at line 61 of file CRCapture.cpp.

void wxTst::CRCapture::Show (  )  [protected, virtual]


Member Data Documentation

Definition at line 133 of file CRCapture.h.

Referenced by CRCapture(), and Show().

wxDialog* wxTst::CRCapture::m_dialog [protected]


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