wxTst::ProvokedWarning Class Reference

Holds information semi-uniquely identifying provoked/expected warnings. More...

#include <ProvokedWarning.h>

Collaboration diagram for wxTst::ProvokedWarning:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const wxString & GetCaption () const
 Get caption being part of the semi-uniquely identification.
virtual const wxString & GetMessage () const
 Get message being part of the semi-uniquely identification.
virtual const wxDateTime & GetTimeout () const
 Get timeout of the provoked/expected warning.
 ProvokedWarning (const wxString &caption, const wxString &message, const unsigned int timeout)
virtual ~ProvokedWarning ()
 Destructor.


Detailed Description

Holds information semi-uniquely identifying provoked/expected warnings.

Based on the specified timeout interval provoked warnings must occur, i.e. pop-up within a given time span. This avoids conflicts with other provoked warnings issued later with overlapping or even equal caption and message parameters (=> semi-uniquely identification).

Definition at line 33 of file ProvokedWarning.h.


Constructor & Destructor Documentation

wxTst::ProvokedWarning::ProvokedWarning ( const wxString &  caption,
const wxString &  message,
const unsigned int  timeout 
)

Definition at line 20 of file ProvokedWarning.cpp.

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

Destructor.

Definition at line 52 of file ProvokedWarning.h.


Member Function Documentation

const wxString & wxTst::ProvokedWarning::GetCaption (  )  const [virtual]

Get caption being part of the semi-uniquely identification.

Returns:
caption of expected warning

Definition at line 29 of file ProvokedWarning.cpp.

Referenced by wxTst::ProvokedWarningRegistry::FindRegisteredWarning().

const wxString & wxTst::ProvokedWarning::GetMessage (  )  const [virtual]

Get message being part of the semi-uniquely identification.

Returns:
message of expected warning.

Definition at line 35 of file ProvokedWarning.cpp.

Referenced by wxTst::ProvokedWarningRegistry::FindRegisteredWarning().

const wxDateTime & wxTst::ProvokedWarning::GetTimeout (  )  const [virtual]

Get timeout of the provoked/expected warning.

Returns:
timeout of expected warning

Definition at line 41 of file ProvokedWarning.cpp.

Referenced by wxTst::ProvokedWarningRegistry::IsRegisteredAndInTime().


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