|
KiCad PCB EDA Suite
|
Regression test for https://gitlab.com/kicad/code/kicad/-/issues/25606. More...
Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (InheritedFootprintResolution) | |
| The symbol chooser reported "No default footprint" for a derived symbol that had not overridden the field, while the same symbol placed on the schematic took the parent's footprint. | |
Regression test for https://gitlab.com/kicad/code/kicad/-/issues/25606.
Definition in file test_issue25606_derived_symbol_footprint.cpp.
| BOOST_AUTO_TEST_CASE | ( | InheritedFootprintResolution | ) |
The symbol chooser reported "No default footprint" for a derived symbol that had not overridden the field, while the same symbol placed on the schematic took the parent's footprint.
GetFootprint() read the symbol's own field, unlike every sibling accessor.
Definition at line 39 of file test_issue25606_derived_symbol_footprint.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), LIB_SYMBOL::GetFootprint(), LIB_SYMBOL::GetFootprintField(), SCH_FIELD::GetText(), LIB_SYMBOL::IsDerived(), LIB_SYMBOL::SetParent(), and SCH_FIELD::SetText().