|
KiCad PCB EDA Suite
|
#include <memory>#include <set>#include <vector>#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <wx/dir.h>#include <wx/filename.h>#include <wx/stdpaths.h>#include <board.h>#include <footprint.h>#include <lib_id.h>#include <pgm_base.h>#include <project.h>#include <project_pcb.h>#include <reporter.h>#include <settings/settings_manager.h>#include <footprint_library_adapter.h>#include <libraries/library_manager.h>#include <libraries/library_table.h>#include <netlist_reader/board_netlist_updater.h>#include <netlist_reader/pcb_netlist.h>#include <pcb_io/altium/pcb_io_altium_designer.h>#include <pcb_io/eagle/pcb_io_eagle.h>#include <tool/tool_manager.h>#include <footprint_import_reconciler.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (EagleBoardResolvesToGeneratedCache) | |
| BOOST_AUTO_TEST_CASE (AltiumBoardResolvesToGeneratedCache) | |
| BOOST_AUTO_TEST_CASE (ReconciledFootprintsResolveViaNetlistUpdater) | |
| BOOST_AUTO_TEST_CASE | ( | AltiumBoardResolvesToGeneratedCache | ) |
Definition at line 155 of file test_footprint_import_reconciler.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), FOOTPRINT_LIBRARY_ADAPTER::FootprintExists(), PROJECT_PCB::FootprintLibAdapter(), PCB_IO_ALTIUM_DESIGNER::GetImportedCachedLibraryFootprints(), KI_TEST::GetPcbnewTestDataDir(), PGM_BASE::GetSettingsManager(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), name, Pgm(), SETTINGS_MANAGER::Prj(), project, FOOTPRINT_IMPORT_RECONCILER::Reconcile(), and result.
| BOOST_AUTO_TEST_CASE | ( | EagleBoardResolvesToGeneratedCache | ) |
Definition at line 80 of file test_footprint_import_reconciler.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), FOOTPRINT_LIBRARY_ADAPTER::FootprintExists(), PROJECT_PCB::FootprintLibAdapter(), KI_TEST::GetEeschemaTestDataDir(), PCB_IO_EAGLE::GetImportedCachedLibraryFootprints(), PGM_BASE::GetSettingsManager(), LIBRARY_TABLE::HasRow(), FILEEXT::KiCadFootprintLibPathExtension, PCB_IO_EAGLE::LoadBoard(), name, Pgm(), SETTINGS_MANAGER::Prj(), project, LIBRARY_MANAGER_ADAPTER::ProjectTable(), FOOTPRINT_IMPORT_RECONCILER::Reconcile(), and result.
| BOOST_AUTO_TEST_CASE | ( | ReconciledFootprintsResolveViaNetlistUpdater | ) |
Definition at line 211 of file test_footprint_import_reconciler.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), COMPONENT, PROJECT_PCB::FootprintLibAdapter(), KI_TEST::GetEeschemaTestDataDir(), BOARD_NETLIST_UPDATER::GetErrorCount(), PCB_IO_EAGLE::GetImportedCachedLibraryFootprints(), PGM_BASE::GetSettingsManager(), LIB_ID::GetUniStringLibId(), LIB_ID::GetUniStringLibItemName(), PCB_IO_EAGLE::LoadBoard(), netlist, Pgm(), SETTINGS_MANAGER::Prj(), project, FOOTPRINT_IMPORT_RECONCILER::Reconcile(), TOOL_MANAGER::RegisterTool(), reporter, BOARD_NETLIST_UPDATER::SetDeleteUnusedFootprints(), TOOL_MANAGER::SetEnvironment(), BOARD_NETLIST_UPDATER::SetReplaceFootprints(), BOARD_NETLIST_UPDATER::SetReporter(), and BOARD_NETLIST_UPDATER::UpdateNetlist().