|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <footprint.h>#include <pad.h>#include <pcb_track.h>#include <padstack.h>#include <pcbnew_utils/board_file_utils.h>#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>#include <filesystem>#include <fstream>#include <sstream>Go to the source code of this file.
Functions | |
| static std::string | SaveBoardToString (BOARD &aBoard) |
| BOOST_AUTO_TEST_CASE (DefaultTentingNotSerialized) | |
| Pads with no explicit tenting set should not have a (tenting ...) block in the output. | |
| BOOST_AUTO_TEST_CASE (ExplicitTentingSerialized) | |
| Pads with explicit tenting should have the (tenting ...) block in the output. | |
| BOOST_AUTO_TEST_CASE (NpthDefaultTentingNotSerialized) | |
| NPTH pads with no explicit tenting should not have the (tenting ...) block. | |
| BOOST_AUTO_TEST_CASE (ViaDefaultTentingNotSerialized) | |
| Vias with no explicit tenting should not have the (tenting ...) block. | |
| BOOST_AUTO_TEST_CASE (ViaExplicitTentingSerialized) | |
| Vias with explicit tenting should have the (tenting ...) block. | |
| BOOST_AUTO_TEST_CASE | ( | DefaultTentingNotSerialized | ) |
Pads with no explicit tenting set should not have a (tenting ...) block in the output.
Definition at line 63 of file test_pad_tenting.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, CIRCLE, FPHOLDER, PAD, pad, pcbIUScale, PTH, PAD::PTHMask(), SaveBoardToString(), and BOARD::SetBoardUse().
| BOOST_AUTO_TEST_CASE | ( | ExplicitTentingSerialized | ) |
Pads with explicit tenting should have the (tenting ...) block in the output.
Definition at line 99 of file test_pad_tenting.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_REQUIRE(), CIRCLE, FPHOLDER, PAD, pad, pcbIUScale, PTH, PAD::PTHMask(), SaveBoardToString(), and BOARD::SetBoardUse().
| BOOST_AUTO_TEST_CASE | ( | NpthDefaultTentingNotSerialized | ) |
NPTH pads with no explicit tenting should not have the (tenting ...) block.
Definition at line 138 of file test_pad_tenting.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_REQUIRE(), CIRCLE, FPHOLDER, NPTH, PAD, pad, pcbIUScale, SaveBoardToString(), BOARD::SetBoardUse(), and PAD::UnplatedHoleMask().
| BOOST_AUTO_TEST_CASE | ( | ViaDefaultTentingNotSerialized | ) |
Vias with no explicit tenting should not have the (tenting ...) block.
Definition at line 176 of file test_pad_tenting.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_REQUIRE(), FPHOLDER, pcbIUScale, SaveBoardToString(), BOARD::SetBoardUse(), THROUGH, and via.
| BOOST_AUTO_TEST_CASE | ( | ViaExplicitTentingSerialized | ) |
Vias with explicit tenting should have the (tenting ...) block.
Definition at line 206 of file test_pad_tenting.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_REQUIRE(), FPHOLDER, pcbIUScale, SaveBoardToString(), BOARD::SetBoardUse(), THROUGH, and via.
|
static |
Definition at line 42 of file test_pad_tenting.cpp.
References KI_TEST::DumpBoardToFile(), and SaveBoardToString().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and SaveBoardToString().