|
KiCad PCB EDA Suite
|
Test soldermask bridging detection between tracks and pads from different nets. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <board_design_settings.h>#include <pcb_track.h>#include <drc/drc_item.h>#include <settings/settings_manager.h>#include <kiid.h>Go to the source code of this file.
Classes | |
| struct | DRC_TRACK_TO_PAD_BRIDGE_FIXTURE |
Functions | |
| BOOST_FIXTURE_TEST_CASE (DRCTrackToPadBridgeTest, DRC_TRACK_TO_PAD_BRIDGE_FIXTURE) | |
Test soldermask bridging detection between tracks and pads from different nets.
Bug description: When a track passes near a pad from a different net, and that track is within the pad's soldermask aperture + SolderMaskToCopperClearance, a bridging error should be reported. This was not happening because the R-tree query clearance did not include SolderMaskToCopperClearance.
Definition in file test_solder_mask_track_to_pad.cpp.
| BOOST_FIXTURE_TEST_CASE | ( | DRCTrackToPadBridgeTest | , |
| DRC_TRACK_TO_PAD_BRIDGE_FIXTURE | ) |
Definition at line 54 of file test_solder_mask_track_to_pad.cpp.
References BOOST_TEST_MESSAGE(), DRCE_COPPER_SLIVER, DRCE_LIB_FOOTPRINT_ISSUES, DRCE_LIB_FOOTPRINT_MISMATCH, DRCE_SILK_CLEARANCE, DRCE_SOLDERMASK_BRIDGE, DRCE_STARVED_THERMAL, KIGFX::VIEW_ITEM::GetClass(), KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_DESIGN_SETTINGS::m_DRCSeverities, BOARD_DESIGN_SETTINGS::m_SolderMaskToCopperClearance, MM, niluuid, PCB_TRACE_T, RPT_SEVERITY_IGNORE, DRC_ENGINE::RunTests(), DRC_ENGINE::SetViolationHandler(), and EDA_ITEM::Type().