|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <boost/test/data/test_case.hpp>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <board_design_settings.h>#include <drc/drc_engine.h>#include <drc/drc_report.h>#include <pad.h>#include <pcb_track.h>#include <pcb_marker.h>#include <footprint.h>#include <drc/drc_item.h>#include <settings/settings_manager.h>#include <thread>#include <chrono>#include <exception>#include <fstream>#include <json_common.h>#include <wx/filefn.h>#include <wx/filename.h>Go to the source code of this file.
Functions | |
| BOOST_DATA_TEST_CASE_F (DRC_REGRESSION_TEST_FIXTURE, DRCCopperSliver, boost::unit_test::data::make(DRCCopperSliver_cases), test) | |
| BOOST_FIXTURE_TEST_CASE (DRCCopperSliverJsonReportsMarkerLocation, DRC_REGRESSION_TEST_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (DRCJsonReportOmitsUnknownMarkerLocation, DRC_REGRESSION_TEST_FIXTURE) | |
Variables | |
| static const std::vector< std::pair< wxString, int > > | DRCCopperSliver_cases |
| BOOST_DATA_TEST_CASE_F | ( | DRC_REGRESSION_TEST_FIXTURE | , |
| DRCCopperSliver | , | ||
| boost::unit_test::data::make(DRCCopperSliver_cases) | , | ||
| test | ) |
Definition at line 121 of file test_drc_copper_sliver.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE_MESSAGE(), BOOST_TEST_MESSAGE(), DRC_ENGINE::ClearViolationHandler(), DRCCopperSliver_cases, DRCE_COPPER_SLIVER, DRCE_FIRST, DRCE_LAST, KI_TEST::FillZones(), BOARD_DESIGN_SETTINGS::GetSeverity(), INCH, KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_DESIGN_SETTINGS::m_DRCSeverities, MM, pcbIUScale, RPT_SEVERITY_ERROR, RPT_SEVERITY_IGNORE, DRC_ENGINE::RunTests(), DRC_ENGINE::SetViolationHandler(), and RC_ITEM::ShowReport().
| BOOST_FIXTURE_TEST_CASE | ( | DRCCopperSliverJsonReportsMarkerLocation | , |
| DRC_REGRESSION_TEST_FIXTURE | ) |
Definition at line 221 of file test_drc_copper_sliver.cpp.
References BOOST_CHECK(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOOST_REQUIRE_EQUAL(), DRC_ENGINE::ClearViolationHandler(), DRCE_COPPER_SLIVER, DRCE_FIRST, DRCE_LAST, empty(), KI_TEST::FillZones(), IsValidLayer(), KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_DESIGN_SETTINGS::m_DRCSeverities, MM, pcbIUScale, RPT_SEVERITY_ERROR, RPT_SEVERITY_IGNORE, DRC_ENGINE::RunTests(), DRC_ENGINE::SetViolationHandler(), ToLAYER_ID(), ToStdString(), UNDEFINED_LAYER, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_FIXTURE_TEST_CASE | ( | DRCJsonReportOmitsUnknownMarkerLocation | , |
| DRC_REGRESSION_TEST_FIXTURE | ) |
Definition at line 294 of file test_drc_copper_sliver.cpp.
References BOOST_CHECK(), BOOST_REQUIRE(), DRC_ITEM::Create(), DRCE_FIRST, DRCE_LAST, DRCE_MISSING_FOOTPRINT, KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCSeverities, RPT_SEVERITY_ERROR, RPT_SEVERITY_IGNORE, and UNDEFINED_LAYER.
|
static |
Definition at line 110 of file test_drc_copper_sliver.cpp.
Referenced by BOOST_DATA_TEST_CASE_F().