|
KiCad PCB EDA Suite
|
Protected Member Functions | |
| void | runTestCase (const REFDES_UNITS_TEST_CASE &testCase) |
| SCH_REFERENCE | createTestReference (const std::string &aRefPrefix, const std::string &aValue, int aUnit, const std::string &aLibName="TestPart") |
| SCH_REFERENCE holds a raw pointer to its symbol and CompareLibName dereferences it, so the fixture has to own every symbol it hands out. | |
| 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 |
Private Attributes | |
| std::vector< std::unique_ptr< SCH_SYMBOL > > | m_symbols |
Definition at line 51 of file test_annotation_refdes_tracker_units.cpp.
|
inlineprotected |
SCH_REFERENCE holds a raw pointer to its symbol and CompareLibName dereferences it, so the fixture has to own every symbol it hands out.
Definition at line 58 of file test_annotation_refdes_tracker_units.cpp.
References m_symbols, path, SCH_SYMBOL::SetLibId(), SCH_REFERENCE::SetRef(), SCH_REFERENCE::SetUnit(), and SCH_REFERENCE::SetValue().
Referenced by runTestCase().
|
protectedvirtualinherited |
Definition at line 49 of file eeschema_test_utils.cpp.
Referenced by TEST_SCH_REFERENCE_LIST_FIXTURE::loadTestCase(), and TEST_VARIANT_FIELD_RESOLUTION_FIXTURE::LoadTestSchematic().
|
protected |
Definition at line 77 of file test_annotation_refdes_tracker_units.cpp.
References BOOST_CHECK_EQUAL(), REFDES_TRACKER::Contains(), createTestReference(), REFDES_TRACKER::GetNextRefDesForUnits(), REFDES_TRACKER::Insert(), REFDES_UNITS_TEST_CASE::m_caseName, REFDES_UNITS_TEST_CASE::m_expectedResult, EXISTING_REF::m_libName, REFDES_UNITS_TEST_CASE::m_minValue, REFDES_UNITS_TEST_CASE::m_refNumberMap, REFDES_UNITS_TEST_CASE::m_requiredUnits, REFDES_UNITS_TEST_CASE::m_testRefLibName, REFDES_UNITS_TEST_CASE::m_testRefPrefix, REFDES_UNITS_TEST_CASE::m_testRefValue, REFDES_UNITS_TEST_CASE::m_trackerPreloads, EXISTING_REF::m_unit, EXISTING_REF::m_value, result, and REFDES_TRACKER::SetReuseRefDes().
|
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 121 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 55 of file eeschema_test_utils.h.
References m_manager.
|
protectedinherited |
Definition at line 59 of file eeschema_test_utils.h.
Referenced by TEST_SCH_GROUP_FIXTURE::CreateTestSchematic(), and SettingsManager().
|
protectedinherited |
Definition at line 58 of file eeschema_test_utils.h.
Referenced by SCHEMATIC_TEST_FIXTURE().
|
protectedinherited |
Definition at line 57 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_VARIANT_FIELD_RESOLUTION_FIXTURE::GetMutableInstance(), TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::GetNetlistPath(), TEST_VARIANT_FIELD_RESOLUTION_FIXTURE::GetR1(), TEST_SCH_REFERENCE_LIST_FIXTURE::getSymbolByKIID(), TEST_AUTOPLACE_FIELDS_FIXTURE::GetSymbolByRef(), SCHEMATIC_TEST_FIXTURE(), and TEST_NETLIST_EXPORTER_FIXTURE< Exporter >::WriteNetlist().
|
private |
Definition at line 74 of file test_annotation_refdes_tracker_units.cpp.
Referenced by createTestReference().