|
KiCad PCB EDA Suite
|
Test for issue #19951: netclass directive not applied when it shares a connection point with a local label. More...
Public Member Functions | |
| SCH_LABEL * | FindLabel (const wxString &aText) const |
| SCH_DIRECTIVE_LABEL * | FindDirectiveAt (const VECTOR2I &aPos) const |
| SCH_LINE * | FindWireUnder (const VECTOR2I &aPos) const |
Public Attributes | |
| SETTINGS_MANAGER | m_settingsManager |
| std::unique_ptr< SCHEMATIC > | m_schematic |
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.
|
inline |
Definition at line 66 of file test_issue19951_directive_label_coincident.cpp.
References SCH_TEXT::GetPosition(), m_schematic, and SCH_DIRECTIVE_LABEL_T.
|
inline |
Definition at line 53 of file test_issue19951_directive_label_coincident.cpp.
References EDA_TEXT::GetText(), m_schematic, and SCH_LABEL_T.
Definition at line 79 of file test_issue19951_directive_label_coincident.cpp.
References SCH_LINE::HitTest(), SCH_LINE::IsWire(), m_schematic, and SCH_LINE_T.
| std::unique_ptr<SCHEMATIC> ISSUE19951_FIXTURE::m_schematic |
Definition at line 51 of file test_issue19951_directive_label_coincident.cpp.
Referenced by FindDirectiveAt(), FindLabel(), and FindWireUnder().
| SETTINGS_MANAGER ISSUE19951_FIXTURE::m_settingsManager |
Definition at line 50 of file test_issue19951_directive_label_coincident.cpp.