|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <board_design_settings.h>#include <footprint.h>#include <pad.h>#include <pcb_track.h>#include <pcbplot.h>#include <plotters/plotter_gerber.h>#include <pcb_plot_params.h>#include <geometry/shape_poly_set.h>#include <qa_utils/pdf_test_utils.h>#include <wx/filename.h>#include <wx/ffile.h>#include <memory>#include <string>#include <cmath>#include <regex>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RoundRectMaskMatchesInflatedOutline) | |
| BOOST_AUTO_TEST_CASE (RoundRectGerberMaskApertureHasCorrectRadius) | |
| BOOST_AUTO_TEST_CASE (PthPadKeepsMaskOpeningWhenCopperRemoved) | |
| BOOST_AUTO_TEST_CASE | ( | PthPadKeepsMaskOpeningWhenCopperRemoved | ) |
Definition at line 242 of file test_plot_pad_mask.cpp.
References BOARD::Add(), FOOTPRINT::Add(), PADSTACK::ALL_LAYERS, B_Cu, B_Mask, BOOST_REQUIRE(), BOARD::BuildConnectivity(), F_Cu, F_Mask, FOOTPRINT, PAD, pad, pcbIUScale, PTH, PAD::PTHMask(), REMOVE_ALL, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetLayer(), BOARD_CONNECTED_ITEM::SetNet(), FOOTPRINT::SetPosition(), PCB_TRACK::SetStart(), and PCB_TRACK::SetWidth().
| BOOST_AUTO_TEST_CASE | ( | RoundRectGerberMaskApertureHasCorrectRadius | ) |
Definition at line 115 of file test_plot_pad_mask.cpp.
References std::abs(), BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOOST_TEST_MESSAGE(), GERBER_PLOTTER::DisableApertMacros(), GERBER_PLOTTER::EndPlot(), F_Cu, F_Mask, GERBER, BOARD::GetDesignSettings(), KiROUND(), BOARD_DESIGN_SETTINGS::m_SolderMaskExpansion, PADSTACK::NORMAL, PLOTTER::OpenFile(), PAD, pad, pcbIUScale, PlotStandardLayer(), ROUNDRECT, PCB_PLOT_PARAMS::SetDisableGerberMacros(), PCB_PLOT_PARAMS::SetFormat(), PLOTTER::SetRenderSettings(), PCB_PLOT_PARAMS::SetUseGerberX2format(), GERBER_PLOTTER::SetViewport(), SMD, GERBER_PLOTTER::StartPlot(), and GERBER_PLOTTER::UseX2format().
| BOOST_AUTO_TEST_CASE | ( | RoundRectMaskMatchesInflatedOutline | ) |
Definition at line 57 of file test_plot_pad_mask.cpp.
References std::abs(), PADSTACK::ALL_LAYERS, SHAPE_POLY_SET::Area(), SHAPE_POLY_SET::BBox(), SHAPE_POLY_SET::BooleanSubtract(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), ERROR_INSIDE, expected, F_Cu, F_Mask, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), KiROUND(), PADSTACK::NORMAL, PAD, pad, pcbIUScale, ROUNDRECT, and SMD.