69 BOOST_REQUIRE_MESSAGE( m_board,
"Failed to load board issue20480" );
71 std::vector<std::shared_ptr<DRC_ITEM>> violations;
74 BOOST_REQUIRE_MESSAGE( bds.
m_DRCEngine,
"DRC engine not initialized" );
82 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
83 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
86 violations.push_back( aItem );
93 BOOST_TEST_MESSAGE( wxString::Format(
"Found %d creepage violations", (
int) violations.size() ) );
95 for(
const auto& v : violations )
96 BOOST_TEST_MESSAGE( wxString::Format(
" Violation: %s", v->GetErrorMessage(
false ) ) );
102 BOOST_CHECK_GE( violations.size(), 1 );
SETTINGS_MANAGER m_settingsManager
~DRC_CREEPAGE_SLOT_TEST_FIXTURE()
std::unique_ptr< BOARD > m_board
BOOST_FIXTURE_TEST_CASE(CreepageAroundSlotIssue20480, DRC_CREEPAGE_SLOT_TEST_FIXTURE)