|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <board.h>#include <pcb_shape.h>#include <pcbnew/exporters/gendrill_excellon_writer.h>#include <pcbnew/exporters/gendrill_gerber_writer.h>#include <pcbnew/pcb_io/odbpp/pcb_io_odbpp.h>#include <pcbnew/pcb_track.h>#include <base_units.h>#include <map>#include <core/utf8.h>#include <wx/dir.h>#include <wx/ffile.h>#include <wx/filename.h>#include <wx/tokenzr.h>#include <wx/utils.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (BackdrillCamOutputs) | |
| BOOST_AUTO_TEST_CASE (FrontAndBackBackdrillCamOutputs) | |
| BOOST_AUTO_TEST_CASE (DualBackdrillSameViaCamOutputs) | |
| BOOST_AUTO_TEST_CASE (GerberDrillPrecision) | |
| BOOST_AUTO_TEST_CASE (DrillReportNullReporter) | |
| BOOST_AUTO_TEST_CASE (DrillReportWithTools) | |
| BOOST_AUTO_TEST_CASE (OdbPpUnfilledRectangleOnSilk) | |
| BOOST_AUTO_TEST_CASE | ( | BackdrillCamOutputs | ) |
Definition at line 59 of file test_cam_backdrill.cpp.
References BOARD::Add(), B_Cu, BOOST_REQUIRE(), COUNTERSINK, EXCELLON_WRITER::CreateDrillandMapFilesSet(), GERBER_WRITER::CreateDrillandMapFilesSet(), F_Cu, In3_Cu, pcbIUScale, PCB_IO_ODBPP::SaveBoard(), BOARD::SetCopperLayerCount(), BOARD::SetFileName(), EXCELLON_WRITER::SetFormat(), GERBER_WRITER::SetFormat(), EXCELLON_WRITER::SetOptions(), GERBER_WRITER::SetOptions(), and via.
| BOOST_AUTO_TEST_CASE | ( | DrillReportNullReporter | ) |
Definition at line 346 of file test_cam_backdrill.cpp.
References GENDRILL_WRITER_BASE::GenDrillReportFile(), BOARD::SetCopperLayerCount(), and BOARD::SetFileName().
| BOOST_AUTO_TEST_CASE | ( | DrillReportWithTools | ) |
Definition at line 379 of file test_cam_backdrill.cpp.
References BOARD::Add(), B_Cu, BOOST_REQUIRE(), F_Cu, GENDRILL_WRITER_BASE::GenDrillReportFile(), pcbIUScale, BOARD::SetCopperLayerCount(), BOARD::SetFileName(), EXCELLON_WRITER::SetFormat(), EXCELLON_WRITER::SetOptions(), and via.
| BOOST_AUTO_TEST_CASE | ( | DualBackdrillSameViaCamOutputs | ) |
Definition at line 251 of file test_cam_backdrill.cpp.
References BOARD::Add(), B_Cu, BOOST_REQUIRE(), EXCELLON_WRITER::CreateDrillandMapFilesSet(), F_Cu, In1_Cu, In3_Cu, pcbIUScale, BOARD::SetCopperLayerCount(), BOARD::SetFileName(), EXCELLON_WRITER::SetFormat(), EXCELLON_WRITER::SetOptions(), and via.
| BOOST_AUTO_TEST_CASE | ( | FrontAndBackBackdrillCamOutputs | ) |
Definition at line 189 of file test_cam_backdrill.cpp.
References BOARD::Add(), B_Cu, BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), EXCELLON_WRITER::CreateDrillandMapFilesSet(), F_Cu, In1_Cu, In3_Cu, pcbIUScale, BOARD::SetCopperLayerCount(), BOARD::SetFileName(), EXCELLON_WRITER::SetFormat(), and EXCELLON_WRITER::SetOptions().
| BOOST_AUTO_TEST_CASE | ( | GerberDrillPrecision | ) |
Definition at line 293 of file test_cam_backdrill.cpp.
References BOARD::Add(), B_Cu, BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), GERBER_WRITER::CreateDrillandMapFilesSet(), F_Cu, pcbIUScale, BOARD::SetCopperLayerCount(), BOARD::SetFileName(), GERBER_WRITER::SetFormat(), GERBER_WRITER::SetOptions(), and via.
| BOOST_AUTO_TEST_CASE | ( | OdbPpUnfilledRectangleOnSilk | ) |
Definition at line 420 of file test_cam_backdrill.cpp.
References BOARD::Add(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), F_SilkS, pcbIUScale, RECTANGLE, PCB_IO_ODBPP::SaveBoard(), BOARD::SetCopperLayerCount(), EDA_SHAPE::SetEnd(), BOARD::SetFileName(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetStart(), and EDA_SHAPE::SetWidth().