![]() |
KiCad PCB EDA Suite
|
Mock objects for libcommon unit tests. More...
Go to the source code of this file.
Classes | |
struct | PGM_TEST_FRAME |
struct | IFACE |
Functions | |
PGM_BASE & | Pgm () |
The global Program "get" accessor. More... | |
IFACE KIFACE_BASE | kiface ("common_test", KIWAY::KIWAY_FACE_COUNT) |
bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits) override |
wxWindow * | CreateWindow (wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override |
void * | IfaceOrAddress (int aDataId) override |
IFACE (const char *aDSOname, KIWAY::FACE_T aType) | |
KIFACE_BASE & | Kiface () |
Global KIFACE_BASE "get" accessor. More... | |
Mock objects for libcommon unit tests.
Definition in file common_mocks.cpp.
|
override |
Definition at line 45 of file common_mocks.cpp.
kiface::IFACE | ( | const char * | aDSOname, |
KIWAY::FACE_T | aType | ||
) |
Definition at line 55 of file common_mocks.cpp.
|
override |
Definition at line 50 of file common_mocks.cpp.
|
static |
Referenced by Kiface().
KIFACE_BASE& Kiface | ( | ) |
Global KIFACE_BASE "get" accessor.
Definition at line 68 of file common_mocks.cpp.
References kiface().
|
override |
Definition at line 40 of file common_mocks.cpp.
References program.
PGM_BASE& Pgm | ( | ) |
The global Program "get" accessor.
Implemented in: 1) common/single_top.cpp, 2) kicad/kicad.cpp, and 3) scripting/kiway.i
Definition at line 39 of file common_mocks.cpp.