KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_zone_filler.cpp File Reference
#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)
 
 BOOST_FIXTURE_TEST_CASE (RegressionSliverZoneFillTests, ZONE_FILL_TEST_FIXTURE)
 
 BOOST_FIXTURE_TEST_CASE (RegressionTeardropFill, ZONE_FILL_TEST_FIXTURE)
 

Variables

constexpr int delta = KiROUND( 0.006 * pcbIUScale.IU_PER_MM )
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

BOOST_FIXTURE_TEST_CASE ( BasicZoneFills  ,
ZONE_FILL_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

BOOST_FIXTURE_TEST_CASE ( RegressionSliverZoneFillTests  ,
ZONE_FILL_TEST_FIXTURE   
)

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

BOOST_FIXTURE_TEST_CASE ( RegressionTeardropFill  ,
ZONE_FILL_TEST_FIXTURE   
)

Definition at line 274 of file test_zone_filler.cpp.

References KI_TEST::FillZones(), and KI_TEST::LoadBoard().

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

BOOST_FIXTURE_TEST_CASE ( RegressionZoneFillTests  ,
ZONE_FILL_TEST_FIXTURE   
)

Variable Documentation

◆ delta

constexpr int delta = KiROUND( 0.006 * pcbIUScale.IU_PER_MM )
constexpr

Definition at line 47 of file test_zone_filler.cpp.

Referenced by SYMBOL_EDITOR_MOVE_TOOL::AlignElements(), SCH_MOVE_TOOL::AlignToGrid(), EC_PERPLINE::Apply(), PNS::ApproximateSegmentAsRect(), PDF_PLOTTER::Arc(), PNS::TOPOLOGY::AssembleTuningPath(), BezierToPolyline(), BOOST_FIXTURE_TEST_CASE(), PNS::DP_GATEWAYS::buildDpContinuation(), PCB_IO_KICAD_SEXPR_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(), BOARD_ADAPTER::createArcSegments(), EXCELLON_WRITER::createDrillFile(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SCH_MOVE_TOOL::doMoveSelection(), KIGFX::SCH_PAINTER::draw(), DRAWING_TOOL::DrawDimension(), D_CODE::DrawFlashedShape(), KIGFX::GERBVIEW_PAINTER::drawFlashedShape(), DrawHalfOpenCylinder(), KIGFX::PREVIEW::DRAW_CONTEXT::DrawLineDashed(), 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(), KIGIT_COMMON::GetDifferentFiles(), BOARD::GetPad(), BEZIER_POLY::GetPoly(), SCH_FIELD::GetRenderCache(), GERBER_DRAW_ITEM::GetTextD_CodePrms(), SCH_NO_CONNECT::HitTest(), PAD::HitTest(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), CYLINDER::Intersect(), CYLINDER::IntersectP(), BOX2< Vec >::Intersects(), PNS::IsSegment45Degree(), CADSTAR_SCH_ARCHIVE_LOADER::loadLibPart(), PCB_IO_EAGLE::loadPlain(), PL_EDIT_TOOL::Main(), TRANSFORM::MapAngles(), MapAnglesV6(), 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(), 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(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_PARSER::ParseContour(), GPCB_FPL_CACHE::parseFOOTPRINT(), EASYEDA_PARSER_BASE::ParseLineChains(), PCB_IO_KICAD_SEXPR_PARSER::parsePAD(), PCB_IO_EASYEDAPRO_PARSER::ParsePoly(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer(), DRAWING_TOOL::PlaceImportedGraphics(), SCH_NO_CONNECT::Plot(), PLOTTER::polyArc(), SCH_SHEET_PIN::Rotate(), CURSOR::SetCoordX(), PNS::SOLID::SetPos(), PCB_GROUP::SetPosition(), FOOTPRINT::SetPosition(), SCH_SHEET::SetPositionIgnoringPins(), KIGFX::VIEW::SetScale(), PCB_TEXTBOX::SetTextAngle(), TestSegmentHit(), TestSegmentHitFast(), KIGFX::COLOR4D::ToHSV(), DIALOG_PAD_PROPERTIES::transferDataToPad(), TransformCircleToPolygon(), TransformOvalToPolygon(), PAD::TransformShapeToPolygon(), SETTINGS_MANAGER::TriggerBackupIfNeeded(), PCB_POINT_EDITOR::updateItem(), and BOARD_INSPECTION_TOOL::UpdateLocalRatsnest().