|
KiCad PCB EDA Suite
|
Regression test for https://gitlab.com/kicad/code/kicad/-/issues/18515. More...
#include <pcbnew_utils/board_file_utils.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew/pcb_io/eagle/pcb_io_eagle.h>#include <board.h>#include <footprint.h>#include <lib_id.h>#include <wx/filefn.h>#include <wx/filename.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (FootprintNamesHaveNoUrnSuffix) | |
Regression test for https://gitlab.com/kicad/code/kicad/-/issues/18515.
Eagle 9.x managed libraries carry a URN such as "urn:adsk.eagle:library:38243636". Older importer code appended the library URN ordinal to every package name, producing footprints with names like "LED-0603_38243636" on the board even though the matching schematic importer wrote bare "LED-0603" into the symbol's footprint field. The mismatch broke "Update PCB from Schematic" because the netlist updater could no longer link symbols to their footprints.
Definition in file test_eagle_managed_lib_naming.cpp.
| BOOST_AUTO_TEST_CASE | ( | FootprintNamesHaveNoUrnSuffix | ) |
Definition at line 53 of file test_eagle_managed_lib_naming.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), KI_TEST::GetPcbnewTestDataDir(), PCB_IO_EAGLE::LoadBoard(), IO_ERROR::What(), and IO_ERROR::what().