KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEST_REFDES_TRACKER_UNITS Class Reference
Inheritance diagram for TEST_REFDES_TRACKER_UNITS:
KI_TEST::SCHEMATIC_TEST_FIXTURE

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_MANAGERSettingsManager ()
 

Protected Attributes

std::unique_ptr< SCHEMATICm_schematic
 
IO_RELEASER< SCH_IOm_pi
 
SETTINGS_MANAGER m_manager
 

Private Attributes

std::vector< std::unique_ptr< SCH_SYMBOL > > m_symbols
 

Detailed Description

Definition at line 51 of file test_annotation_refdes_tracker_units.cpp.

Member Function Documentation

◆ createTestReference()

SCH_REFERENCE TEST_REFDES_TRACKER_UNITS::createTestReference ( const std::string & aRefPrefix,
const std::string & aValue,
int aUnit,
const std::string & aLibName = "TestPart" )
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().

◆ LoadSchematic()

void KI_TEST::SCHEMATIC_TEST_FIXTURE::LoadSchematic ( const wxFileName & aFn)
protectedvirtualinherited

◆ runTestCase()

◆ SchematicQAPath()

◆ SettingsManager()

SETTINGS_MANAGER & KI_TEST::SCHEMATIC_TEST_FIXTURE::SettingsManager ( )
inlineprotectedinherited

Definition at line 55 of file eeschema_test_utils.h.

References m_manager.

Member Data Documentation

◆ m_manager

SETTINGS_MANAGER KI_TEST::SCHEMATIC_TEST_FIXTURE::m_manager
protectedinherited

◆ m_pi

IO_RELEASER<SCH_IO> KI_TEST::SCHEMATIC_TEST_FIXTURE::m_pi
protectedinherited

Definition at line 58 of file eeschema_test_utils.h.

Referenced by SCHEMATIC_TEST_FIXTURE().

◆ m_schematic

◆ m_symbols

std::vector<std::unique_ptr<SCH_SYMBOL> > TEST_REFDES_TRACKER_UNITS::m_symbols
private

Definition at line 74 of file test_annotation_refdes_tracker_units.cpp.

Referenced by createTestReference().


The documentation for this class was generated from the following file: