|
KiCad PCB EDA Suite
|
#include <qa_utils/file_utils.h>#include <qa_utils/wx_utils/unit_test_utils.h>#include <base_units.h>#include <board.h>#include <board_design_settings.h>#include <footprint.h>#include <jobs/job_export_pcb_pos.h>#include <pad.h>#include <exporters/gerber_placefile_writer.h>#include <pcbnew_utils/board_test_utils.h>#include <wx/ffile.h>#include <wx/filename.h>Go to the source code of this file.
Functions | |
| static FOOTPRINT * | addFootprint (BOARD &aBoard, const wxString &aReference) |
| BOOST_AUTO_TEST_CASE (GerberFormatSupportsPopulationFilters) | |
| The format capability table drives the dialog's checkbox enable state. | |
| BOOST_AUTO_TEST_CASE (GerberPlaceFileHonorsExclusions) | |
| End to end check that the Gerber X3 writer drops the footprints the dialog now lets the user exclude. | |
Definition at line 44 of file test_issue25010.cpp.
References FOOTPRINT::Add(), addFootprint(), PADSTACK::ALL_LAYERS, F_Cu, FOOTPRINT, FP_SMD, INSERT, PADSTACK::NORMAL, PAD, pad, pcbIUScale, RECTANGLE, FOOTPRINT::SetAttributes(), FOOTPRINT::SetLayer(), FOOTPRINT::SetReference(), and FOOTPRINT::SetValue().
Referenced by addFootprint(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().
| BOOST_AUTO_TEST_CASE | ( | GerberFormatSupportsPopulationFilters | ) |
The format capability table drives the dialog's checkbox enable state.
Gerber X3 cannot filter on pad technology, but it can drop DNP and BOM-excluded footprints.
Definition at line 71 of file test_issue25010.cpp.
References filter, and JOB_EXPORT_PCB_POS::FormatSupportsFilter().
| BOOST_AUTO_TEST_CASE | ( | GerberPlaceFileHonorsExclusions | ) |
End to end check that the Gerber X3 writer drops the footprints the dialog now lets the user exclude.
Definition at line 97 of file test_issue25010.cpp.
References addFootprint(), BOOST_REQUIRE(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), F_Cu, KI_TEST::SCOPED_TEMP_DIR::PathStr(), FOOTPRINT::SetDNP(), FOOTPRINT::SetExcludedFromBOM(), and FOOTPRINT::SetExcludedFromPosFiles().