|
KiCad PCB EDA Suite
|
#include <algorithm>#include <cctype>#include <cmath>#include <filesystem>#include <fstream>#include <map>#include <sstream>#include <string>#include <vector>#include <qa_utils/wx_utils/unit_test_utils.h>#include <boost/test/unit_test.hpp>#include <pcbnew_utils/board_file_utils.h>#include <exporters/export_idf.h>#include <base_units.h>#include <board.h>#include <filename_resolver.h>#include <footprint.h>#include <geometry/eda_angle.h>#include <jobs/job_export_pcb_idf.h>#include <pcb_shape.h>#include <reporter.h>#include <wx/string.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (FootprintCutoutIsExported) | |
| BOOST_AUTO_TEST_CASE (RotatedPolygonCutoutIsExported) | |
| BOOST_AUTO_TEST_CASE | ( | FootprintCutoutIsExported | ) |
Definition at line 157 of file test_idf_export.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), end, IDF_EXPORTER::Export(), EDA_SHAPE::GetEnd(), KI_TEST::GetPcbnewTestDataDir(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), JOB_EXPORT_PCB_IDF::m_originMode, KI_TEST::ReadBoardFromFileOrStream(), RECTANGLE, reporter, and IDF_SETTINGS::USER.
| BOOST_AUTO_TEST_CASE | ( | RotatedPolygonCutoutIsExported | ) |
Definition at line 208 of file test_idf_export.cpp.
References BOOST_REQUIRE(), chain, SHAPE_POLY_SET::COutline(), DEGREES_T, IDF_EXPORTER::Export(), KI_TEST::GetPcbnewTestDataDir(), EDA_SHAPE::GetPolyShape(), FOOTPRINT::GetPosition(), EDA_SHAPE::GetShape(), JOB_EXPORT_PCB_IDF::m_originMode, POLY, KI_TEST::ReadBoardFromFileOrStream(), reporter, FOOTPRINT::Rotate(), and IDF_SETTINGS::USER.