|
KiCad PCB EDA Suite
|
Regression coverage for https://gitlab.com/kicad/code/kicad/-/issues/26031. More...
#include <boost/test/unit_test.hpp>#include <qa_utils/wx_utils/unit_test_utils.h>#include <memory>#include <connection_graph.h>#include <sch_io/cadstar/sch_io_cadstar_archive.h>#include <sch_connection.h>#include <sch_pin.h>#include <sch_screen.h>#include <sch_sheet.h>#include <sch_sheet_path.h>#include <sch_symbol.h>#include <schematic.h>#include <settings/settings_manager.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (CadstarWireOverForeignPin) | |
Regression coverage for https://gitlab.com/kicad/code/kicad/-/issues/26031.
The 0V connection in the attached file runs straight over U1 pin 2, which belongs to net VB. KiCad connects any pin lying on a wire, so the import must route the wire around that pin.
Definition in file test_issue26031_wire_over_pin.cpp.
| BOOST_AUTO_TEST_CASE | ( | CadstarWireOverForeignPin | ) |
Definition at line 46 of file test_issue26031_wire_over_pin.cpp.
References BOOST_REQUIRE(), KI_TEST::GetEeschemaTestDataDir(), SCH_SYMBOL::GetPins(), SCH_SYMBOL::GetRef(), SETTINGS_MANAGER::LoadProject(), SCH_IO_CADSTAR_ARCHIVE::LoadSchematicFile(), SCH_CONNECTION::NetCode(), path, pin, SETTINGS_MANAGER::Prj(), SCH_SYMBOL_T, and SCHEMATIC.