|
KiCad PCB EDA Suite
|
Runs the batch creepage DRC twice on each corpus board, once with the legacy solver and once with the V2 engine, and asserts both report the same set of violations. 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 <advanced_config.h>#include <drc/drc_item.h>#include <drc/drc_engine.h>#include <settings/settings_manager.h>#include <widgets/report_severity.h>#include <set>Go to the source code of this file.
Classes | |
| struct | CREEPAGE_PARITY_FIXTURE |
| struct | ADVANCED_CFG_FLAG_GUARD |
Functions | |
| static void | checkParity (CREEPAGE_PARITY_FIXTURE &aFixture, const std::string &aBoard) |
| BOOST_AUTO_TEST_CASE (CreepageBoard) | |
| BOOST_AUTO_TEST_CASE (CreepageMalformedEdge) | |
| BOOST_AUTO_TEST_CASE (CreepageSlots) | |
Runs the batch creepage DRC twice on each corpus board, once with the legacy solver and once with the V2 engine, and asserts both report the same set of violations.
Definition in file test_creepage_engine_parity.cpp.
| BOOST_AUTO_TEST_CASE | ( | CreepageBoard | ) |
Definition at line 142 of file test_creepage_engine_parity.cpp.
References BOOST_AUTO_TEST_CASE(), and checkParity().
| BOOST_AUTO_TEST_CASE | ( | CreepageMalformedEdge | ) |
Definition at line 148 of file test_creepage_engine_parity.cpp.
References checkParity().
| BOOST_AUTO_TEST_CASE | ( | CreepageSlots | ) |
Definition at line 154 of file test_creepage_engine_parity.cpp.
References checkParity().
|
static |
Definition at line 111 of file test_creepage_engine_parity.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_TEST_MESSAGE(), BOARD::GetDesignSettings(), KI_TEST::LoadBoard(), CREEPAGE_PARITY_FIXTURE::m_board, BOARD_DESIGN_SETTINGS::m_DRCEngine, CREEPAGE_PARITY_FIXTURE::m_settingsManager, CREEPAGE_PARITY_FIXTURE::runCreepage(), v1, and v2.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCBNEW_JOBS_HANDLER::JobExportDrc().