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

Test suite for import of Fabmaster PCB files. More...

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.
 

Detailed Description

Test suite for import of Fabmaster PCB files.

Definition in file test_fabmaster_import.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

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().