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

Go to the source code of this file.

Classes

struct  DRC_COPPER_THIEVING_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (ThievingZoneProducesNoIsolatedCopperViolations, DRC_COPPER_THIEVING_FIXTURE)
 A copper-thieving zone produces a grid of intentionally-isolated stamps.
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( ThievingZoneProducesNoIsolatedCopperViolations ,
DRC_COPPER_THIEVING_FIXTURE  )

A copper-thieving zone produces a grid of intentionally-isolated stamps.

Each stamp would trigger DRCE_ISOLATED_COPPER without the explicit exclusion in drc_cache_generator and drc_test_provider_connectivity. Verify that a thieving zone produces zero isolated-copper violations.

Definition at line 47 of file test_drc_copper_thieving.cpp.

References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COPPER_THIEVING, DRCE_ISOLATED_COPPER, DRCE_LAST, F_Cu, ZONE::GetFilledPolysList(), ZONE::GetFillMode(), KI_TEST::GetPcbnewTestDataDir(), DRC_ENGINE::InitEngine(), BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_DESIGN_SETTINGS::m_DRCSeverities, MM, SHAPE_POLY_SET::OutlineCount(), KI_TEST::ReadBoardFromFileOrStream(), RPT_SEVERITY_IGNORE, DRC_ENGINE::RunTests(), and DRC_ENGINE::SetViolationHandler().