KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ISSUE19951_FIXTURE Struct Reference

Test for issue #19951: netclass directive not applied when it shares a connection point with a local label. More...

Public Member Functions

SCH_LABELFindLabel (const wxString &aText) const
 
SCH_DIRECTIVE_LABELFindDirectiveAt (const VECTOR2I &aPos) const
 
SCH_LINEFindWireUnder (const VECTOR2I &aPos) const
 

Public Attributes

SETTINGS_MANAGER m_settingsManager
 
std::unique_ptr< SCHEMATICm_schematic
 

Detailed Description

Test for issue #19951: netclass directive not applied when it shares a connection point with a local label.

The reporter's schematic has two identical net stubs. On the first, the local label and the netclass directive sit at different points on the wire and everything resolves. On the second they share one point in the middle of the wire, and the label, the directive and the wire ended up in two separate subgraphs: the wire got an auto-generated net name and the Default netclass.

Definition at line 48 of file test_issue19951_directive_label_coincident.cpp.

Member Function Documentation

◆ FindDirectiveAt()

SCH_DIRECTIVE_LABEL * ISSUE19951_FIXTURE::FindDirectiveAt ( const VECTOR2I & aPos) const
inline

◆ FindLabel()

SCH_LABEL * ISSUE19951_FIXTURE::FindLabel ( const wxString & aText) const
inline

◆ FindWireUnder()

SCH_LINE * ISSUE19951_FIXTURE::FindWireUnder ( const VECTOR2I & aPos) const
inline

Member Data Documentation

◆ m_schematic

std::unique_ptr<SCHEMATIC> ISSUE19951_FIXTURE::m_schematic

◆ m_settingsManager

SETTINGS_MANAGER ISSUE19951_FIXTURE::m_settingsManager

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