|
KiCad PCB EDA Suite
|
Protected Member Functions | |
| SYMBOL_LIBRARY_ADAPTER * | RegisterSymbolAdapter (LIBRARY_MANAGER &aManager) |
| Register a fresh SYMBOL_LIBRARY_ADAPTER on the manager and return it. | |
| wxFileName | GetTestProjectSchPath () const |
| void | EnsureGlobalSymbolDir () |
| Ensure KICAD9_SYMBOL_DIR points at the QA data libraries so the global sym-lib-table's ${KICAD9_SYMBOL_DIR}/Device.kicad_sym URI resolves. | |
| virtual void | LoadSchematic (const wxFileName &aFn) |
| virtual wxFileName | SchematicQAPath (const wxString &aBaseName) |
| SETTINGS_MANAGER & | SettingsManager () |
Protected Attributes | |
| std::unique_ptr< SCHEMATIC > | m_schematic |
| IO_RELEASER< SCH_IO > | m_pi |
| SETTINGS_MANAGER | m_manager |
Definition at line 41 of file test_symbol_library.cpp.
|
inlineprotected |
Ensure KICAD9_SYMBOL_DIR points at the QA data libraries so the global sym-lib-table's ${KICAD9_SYMBOL_DIR}/Device.kicad_sym URI resolves.
Only needed by tests that load a global library before any project is open.
Definition at line 69 of file test_symbol_library.cpp.
References KI_TEST::GetTestDataRootDir(), and path.
|
inlineprotected |
Definition at line 58 of file test_symbol_library.cpp.
References KI_TEST::GetTestDataRootDir().
|
protectedvirtualinherited |
Definition at line 53 of file eeschema_test_utils.cpp.
Referenced by TEST_SCH_REFERENCE_LIST_FIXTURE::loadTestCase().
|
inlineprotected |
Register a fresh SYMBOL_LIBRARY_ADAPTER on the manager and return it.
Shared by the regression tests below so the cast-and-assert boilerplate only lives in one place.
Definition at line 47 of file test_symbol_library.cpp.
References LIBRARY_MANAGER::Adapter(), BOOST_REQUIRE(), LIBRARY_MANAGER::RegisterAdapter(), and SYMBOL.
|
protectedvirtualinherited |
Reimplemented in TEST_NETLIST_EXPORTER_SPICE_FIXTURE, TEST_SCH_GROUP_FIXTURE, TEST_SCH_SCREEN_FIXTURE, TEST_SCH_SHEET_LIST_FIXTURE, TEST_SCHEMATIC_FIXTURE, and TEST_SIM_REGRESSIONS_FIXTURE.
Definition at line 125 of file eeschema_test_utils.cpp.
References KI_TEST::GetEeschemaTestDataDir(), and FILEEXT::KiCadSchematicFileExtension.
Referenced by TEST_SCH_REFERENCE_LIST_FIXTURE::loadTestCase(), and TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::TestNetlist().
|
inlineprotectedinherited |
Definition at line 59 of file eeschema_test_utils.h.
References m_manager.
|
protectedinherited |
Definition at line 63 of file eeschema_test_utils.h.
Referenced by TEST_SCH_GROUP_FIXTURE::CreateTestSchematic(), and SettingsManager().
|
protectedinherited |
Definition at line 62 of file eeschema_test_utils.h.
Referenced by SCHEMATIC_TEST_FIXTURE().
|
protectedinherited |
Definition at line 61 of file eeschema_test_utils.h.
Referenced by TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::Cleanup(), TEST_SCH_GROUP_FIXTURE::CreateTestSchematic(), TEST_ISSUE22286_FIXTURE::FindPinByNumber(), TEST_ISSUE22286_FIXTURE::FindSymbolByRef(), TEST_SCH_REFERENCE_LIST_FIXTURE::getAdditionalRefs(), TEST_SCH_SYMBOL_FIXTURE::GetFirstSymbol(), TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::GetNetlistPath(), TEST_SCH_REFERENCE_LIST_FIXTURE::getSymbolByKIID(), TEST_AUTOPLACE_FIELDS_FIXTURE::GetSymbolByRef(), SCHEMATIC_TEST_FIXTURE(), TEST_SCH_REFERENCE_LIST_UNITS_FIXTURE::setupRefDesTracker(), and TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::WriteNetlist().