KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_eagle_managed_lib_naming.cpp File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()