|
KiCad PCB EDA Suite
|
Test suite for import of Altium PCB files. More...
#include <pcbnew_utils/board_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew/pcb_io/altium/pcb_io_altium_designer.h>#include <board.h>#include <board_design_settings.h>#include <netinfo.h>#include <netclass.h>#include <project/net_settings.h>Go to the source code of this file.
Classes | |
| struct | ALTIUM_PCB_IMPORT_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (BoardLoadNoAssertions) | |
| Test basic board loading - verifies that the Altium import doesn't trigger any assertions during the load process. | |
| BOOST_AUTO_TEST_CASE (NetclassAssignment) | |
| Test that netclass pattern assignments result in direct netclass assignments on nets. | |
Test suite for import of Altium PCB files.
Definition in file test_altium_pcb_import.cpp.
| BOOST_AUTO_TEST_CASE | ( | BoardLoadNoAssertions | ) |
Test basic board loading - verifies that the Altium import doesn't trigger any assertions during the load process.
This catches regressions in layer mapping and other import issues.
Definition at line 57 of file test_altium_pcb_import.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), and KI_TEST::GetPcbnewTestDataDir().
| BOOST_AUTO_TEST_CASE | ( | NetclassAssignment | ) |
Test that netclass pattern assignments result in direct netclass assignments on nets.
This is a regression test for https://gitlab.com/kicad/code/kicad/-/issues/15584
Validates that when an Altium board with netclasses is imported, the nets are directly assigned to their netclasses (not just through pattern resolution).
Definition at line 82 of file test_altium_pcb_import.cpp.
References BOOST_REQUIRE(), NETCLASS::Default, NETCLASS::GetName(), and KI_TEST::GetPcbnewTestDataDir().