KiCad PCB EDA Suite
|
#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 <pad.h>
#include <pcb_track.h>
#include <footprint.h>
#include <zone.h>
#include <drc/drc_item.h>
#include <settings/settings_manager.h>
Go to the source code of this file.
Classes | |
struct | ZONE_FILL_TEST_FIXTURE |
Functions | |
BOOST_FIXTURE_TEST_CASE (BasicZoneFills, ZONE_FILL_TEST_FIXTURE) | |
BOOST_FIXTURE_TEST_CASE (NotchedZones, ZONE_FILL_TEST_FIXTURE) | |
BOOST_FIXTURE_TEST_CASE (RegressionZoneFillTests, ZONE_FILL_TEST_FIXTURE) | |
Variables | |
constexpr int | delta = KiROUND( 0.006 * pcbIUScale.IU_PER_MM ) |
BOOST_FIXTURE_TEST_CASE | ( | BasicZoneFills | , |
ZONE_FILL_TEST_FIXTURE | |||
) |
Definition at line 50 of file test_zone_filler.cpp.
References delta, DRCE_CLEARANCE, KI_TEST::FillZones(), KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCEngine, MILLIMETRES, pad, and PCB_ARC_T.
BOOST_FIXTURE_TEST_CASE | ( | NotchedZones | , |
ZONE_FILL_TEST_FIXTURE | |||
) |
Definition at line 138 of file test_zone_filler.cpp.
References SHAPE_POLY_SET::BooleanAdd(), F_Cu, KI_TEST::FillZones(), KI_TEST::LoadBoard(), SHAPE_POLY_SET::OutlineCount(), and SHAPE_POLY_SET::PM_STRICTLY_SIMPLE.
BOOST_FIXTURE_TEST_CASE | ( | RegressionZoneFillTests | , |
ZONE_FILL_TEST_FIXTURE | |||
) |
Definition at line 179 of file test_zone_filler.cpp.
References DRCE_CLEARANCE, KI_TEST::FillZones(), INCHES, KI_TEST::LoadBoard(), BOARD_DESIGN_SETTINGS::m_DRCEngine, MILLIMETRES, pcbIUScale, and RPT_SEVERITY_ERROR.
|
constexpr |
Definition at line 47 of file test_zone_filler.cpp.
Referenced by BOARD_ADAPTER::addShape(), SCH_MOVE_TOOL::AlignElements(), EC_PERPLINE::Apply(), PNS::ApproximateSegmentAsRect(), PDF_PLOTTER::Arc(), PLOTTER::Arc(), PNS::TOPOLOGY::AssembleTuningPath(), BezierToPolyline(), BOOST_FIXTURE_TEST_CASE(), PCB_PARSER::checkpoint(), CircleToEndSegmentDeltaRadius(), Collide(), SHAPE_POLY_SET::CollideVertex(), SCH_LINE_WIRE_BUS_TOOL::computeBreakPoint(), TEARDROP_MANAGER::computeCurvedForRectShape(), C_MICROSTRIP::conductor_losses(), MICROSTRIP::conductor_losses(), ConvertArcToPolyline(), GERBER_DRAW_ITEM::ConvertSegmentToPolygon(), AM_PRIMITIVE::ConvertShapeToPolygon(), D_CODE::ConvertShapeToPolygon(), PNS::coupledBypass(), EXCELLON_WRITER::createDrillFile(), KIGFX::SCH_PAINTER::draw(), DRAWING_TOOL::DrawDimension(), D_CODE::DrawFlashedShape(), KIGFX::GERBVIEW_PAINTER::drawFlashedShape(), DrawHalfOpenCylinder(), PCB_POINT_EDITOR::editArcEndpointKeepTangent(), fillArcGBRITEM(), PSLIKE_PLOTTER::FlashPadOval(), RENDER_3D_OPENGL::generate3dGrid(), RENDER_3D_OPENGL::generateRing(), KIBIS_MODEL::generateSquareWave(), PCB_DIM_ALIGNED::GetAngle(), SCH_NO_CONNECT::GetBoundingBox(), BOARD::GetPad(), BEZIER_POLY::GetPoly(), SCH_FIELD::GetRenderCache(), GERBER_DRAW_ITEM::GetTextD_CodePrms(), SCH_NO_CONNECT::HitTest(), PAD::HitTest(), CYLINDER::Intersect(), CYLINDER::IntersectP(), BOX2< Vec >::Intersects(), PNS::IsSegment45Degree(), CADSTAR_SCH_ARCHIVE_LOADER::loadLibPart(), EAGLE_PLUGIN::loadPlain(), SCH_MOVE_TOOL::Main(), SYMBOL_EDITOR_MOVE_TOOL::Main(), PL_EDIT_TOOL::Main(), TRANSFORM::MapAngles(), SCH_LABEL_BASE::MirrorHorizontally(), SCH_DIRECTIVE_LABEL::MirrorHorizontally(), SCH_LABEL_BASE::MirrorSpinStyle(), SCH_DIRECTIVE_LABEL::MirrorSpinStyle(), SCH_LABEL_BASE::MirrorVertically(), SCH_DIRECTIVE_LABEL::MirrorVertically(), PNS::HOLE::Move(), mpInfoLayer::Move(), SCH_MOVE_TOOL::moveItem(), SHAPE_LINE_CHAIN::NextShape(), LIB_TEXT::NormalizeJustification(), DIALOG_SHIM::OnCharHook(), KIGFX::WX_VIEW_CONTROLS::onMotion(), KIGFX::WX_VIEW_CONTROLS::onScroll(), PCB_POINT_EDITOR::OnSelectionChange(), KIGFX::WX_VIEW_CONTROLS::onWheel(), EAGLE_PLUGIN::packageCircle(), EAGLE_PLUGIN::packagePolygon(), GPCB_FPL_CACHE::parseFOOTPRINT(), PCB_PARSER::parsePAD(), DRAWING_TOOL::PlaceImportedGraphics(), SCH_NO_CONNECT::Plot(), EDA_DRAW_PANEL_GAL::Refresh(), SCH_SHEET_PIN::Rotate(), CURSOR::SetCoordX(), PNS::SOLID::SetPos(), PCB_GROUP::SetPosition(), FOOTPRINT::SetPosition(), KIGFX::VIEW::SetScale(), PCB_TEXTBOX::SetTextAngle(), TestSegmentHit(), KIGFX::COLOR4D::ToHSV(), DIALOG_PAD_PROPERTIES::transferDataToPad(), BOARD_ADAPTER::transformArcToSegments(), TransformCircleToPolygon(), TransformOvalToPolygon(), PAD::TransformShapeToPolygon(), SETTINGS_MANAGER::TriggerBackupIfNeeded(), PCB_POINT_EDITOR::updateItem(), and BOARD_INSPECTION_TOOL::UpdateLocalRatsnest().