KiCad PCB EDA Suite
Loading...
Searching...
No Matches
MockTextCtrl Class Reference

Public Member Functions

 MockTextCtrl ()
 
void AppendText (const wxString &text)
 
void SetValue (const wxString &text)
 
wxString GetValue () const
 
bool IsEmpty () const
 
void Clear ()
 

Private Attributes

wxString m_content
 

Detailed Description

Definition at line 67 of file test_reporting.cpp.

Constructor & Destructor Documentation

◆ MockTextCtrl()

MockTextCtrl::MockTextCtrl ( )
inline

Definition at line 70 of file test_reporting.cpp.

Member Function Documentation

◆ AppendText()

void MockTextCtrl::AppendText ( const wxString &  text)
inline

Definition at line 71 of file test_reporting.cpp.

References m_content, and text.

◆ Clear()

void MockTextCtrl::Clear ( )
inline

Definition at line 75 of file test_reporting.cpp.

References m_content.

◆ GetValue()

wxString MockTextCtrl::GetValue ( ) const
inline

Definition at line 73 of file test_reporting.cpp.

References m_content.

◆ IsEmpty()

bool MockTextCtrl::IsEmpty ( ) const
inline

Definition at line 74 of file test_reporting.cpp.

References m_content.

◆ SetValue()

void MockTextCtrl::SetValue ( const wxString &  text)
inline

Definition at line 72 of file test_reporting.cpp.

References m_content, and text.

Member Data Documentation

◆ m_content

wxString MockTextCtrl::m_content
private

Definition at line 78 of file test_reporting.cpp.

Referenced by AppendText(), Clear(), GetValue(), IsEmpty(), and SetValue().


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