|
KiCad PCB EDA Suite
|
Test suite for import of Fabmaster 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/fabmaster/pcb_io_fabmaster.h>#include <board.h>#include <zone.h>Go to the source code of this file.
Classes | |
| struct | FABMASTER_IMPORT_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (StaticShapesPreserved) | |
| Test that static shapes (zones with net but no matching outline) are preserved. | |
Test suite for import of Fabmaster PCB files.
Definition in file test_fabmaster_import.cpp.
| BOOST_AUTO_TEST_CASE | ( | StaticShapesPreserved | ) |
Test that static shapes (zones with net but no matching outline) are preserved.
This is a regression test for https://gitlab.com/kicad/code/kicad/-/issues/7753
In Allegro, static shapes are copper areas that don't void around other nets. They appear in Fabmaster as filled areas (with net) but without a corresponding outline (which would have no net). The importer must preserve these as solid filled zones.
The test file contains static shapes on nets like "DO" and "VMBATT3-" that are zero-width closed polygons with net assignments but no matching outline.
Definition at line 61 of file test_fabmaster_import.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), and KI_TEST::GetPcbnewTestDataDir().