31#ifdef HAVE_WINCONSISTENT_MISSING_OVERRIDE
32 _Pragma(
"GCC diagnostic push" ) \
33 _Pragma(
"GCC diagnostic ignored \"-Winconsistent-missing-override\"" )
39 virtual ~MOCK_PGM_BASE() {};
41 MOCK_METHOD( MacOpenFile, 1,
void(
const wxString& ) );
43 MOCK_METHOD( SetTextEditor, 1,
void(
const wxString& ) );
44 MOCK_METHOD( GetTextEditor, 1, wxString&(
bool ) );
45 MOCK_METHOD( AskUserForPreferredEditor, 1,
const wxString(
const wxString& ) );
46 MOCK_CONST_METHOD( IsKicadEnvVariableDefined, 0,
bool() );
47 MOCK_CONST_METHOD( GetKicadEnvVariable, 0,
const wxString&() );
48 MOCK_CONST_METHOD( GetPdfBrowserName, 0,
const wxString&() );
49 MOCK_METHOD( SetPdfBrowserName, 1,
void(
const wxString& ) );
50 MOCK_CONST_METHOD( UseSystemPdfBrowser, 0,
bool() );
51 MOCK_METHOD( ForceSystemPdfBrowser, 1,
void(
bool ) );
52 MOCK_METHOD( SetLanguage, 2,
bool( wxString&,
bool ) );
53 MOCK_METHOD( SetLanguageIdentifier, 1,
void(
int ) );
54 MOCK_METHOD( ReadPdfBrowserInfos, 0,
void() );
55 MOCK_METHOD( WritePdfBrowserInfos, 0,
void() );
56 MOCK_METHOD( SetLocalEnvVariable, 2,
bool(
const wxString&,
const wxString& ) );
57 MOCK_METHOD( SetLocalEnvVariables, 0,
void() );
58 MOCK_CONST_METHOD( GetLocalEnvVariables, 0,
ENV_VAR_MAP&() );
60 int GetSelectedLanguageIdentifier()
const override
74#ifdef HAVE_WINCONSISTENT_MISSING_OVERRIDE
75 _Pragma(
"GCC diagnostic pop" )
Container for data for KiCad programs.
std::map< wxString, ENV_VAR_ITEM > ENV_VAR_MAP
MOCK_BASE_CLASS(MOCK_PGM_BASE, PGM_BASE)