qa: add missing const to mocked method

This commit is contained in:
Sylwester Kocjan 2022-03-19 23:07:48 +01:00 committed by jean-pierre charras
parent e77a71bf7a
commit 6db0ad4876
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ MOCK_BASE_CLASS( MOCK_PGM_BASE, PGM_BASE )
MOCK_METHOD( GetCommonSettings, 0, COMMON_SETTINGS*() ); MOCK_METHOD( GetCommonSettings, 0, COMMON_SETTINGS*() );
MOCK_METHOD( SetTextEditor, 1, void( const wxString& ) ); MOCK_METHOD( SetTextEditor, 1, void( const wxString& ) );
MOCK_METHOD( GetTextEditor, 1, wxString&( bool ) ); MOCK_METHOD( GetTextEditor, 1, wxString&( bool ) );
MOCK_METHOD( AskUserForPreferredEditor, 1, wxString&( wxString& ) ); MOCK_METHOD( AskUserForPreferredEditor, 1, const wxString( const wxString& ) );
MOCK_CONST_METHOD( IsKicadEnvVariableDefined, 0, bool() ); MOCK_CONST_METHOD( IsKicadEnvVariableDefined, 0, bool() );
MOCK_CONST_METHOD( GetKicadEnvVariable, 0, const wxString&() ); MOCK_CONST_METHOD( GetKicadEnvVariable, 0, const wxString&() );
MOCK_CONST_METHOD( GetPdfBrowserName, 0, const wxString&() ); MOCK_CONST_METHOD( GetPdfBrowserName, 0, const wxString&() );