|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <pcbnew_utils/board_test_utils.h>#include <pcbnew_utils/board_file_utils.h>#include <pcb_io/pads/pads_parser.h>#include <pcb_io/pads/pcb_io_pads.h>#include <board.h>#include <zone.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (KeepoutStruct_DefaultConstruction) | |
| BOOST_AUTO_TEST_CASE (KeepoutType_AllKeepout) | |
| BOOST_AUTO_TEST_CASE (KeepoutType_ViaOnly) | |
| BOOST_AUTO_TEST_CASE (KeepoutType_RouteOnly) | |
| BOOST_AUTO_TEST_CASE (KeepoutType_PlacementOnly) | |
| BOOST_AUTO_TEST_CASE (KeepoutOutline_RectanglePoints) | |
| BOOST_AUTO_TEST_CASE (KeepoutLayers_SingleLayer) | |
| BOOST_AUTO_TEST_CASE (KeepoutLayers_MultipleLayers) | |
| BOOST_AUTO_TEST_CASE (KeepoutLayers_AllLayers) | |
| BOOST_AUTO_TEST_CASE (ParseKeepoutFile) | |
| BOOST_AUTO_TEST_CASE (ParseKeepoutOutlineGeometry) | |
| BOOST_AUTO_TEST_CASE (ImportKeepoutAsRuleArea) | |
| BOOST_AUTO_TEST_CASE (KeepoutConstraintFlags) | |
| BOOST_AUTO_TEST_CASE | ( | ImportKeepoutAsRuleArea | ) |
Definition at line 293 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), KI_TEST::GetPcbnewTestDataDir(), and PCB_IO_PADS::LoadBoard().
| BOOST_AUTO_TEST_CASE | ( | KeepoutConstraintFlags | ) |
Definition at line 334 of file test_pads_keepout.cpp.
References BOOST_REQUIRE(), ZONE::GetDoNotAllowFootprints(), ZONE::GetDoNotAllowTracks(), ZONE::GetDoNotAllowVias(), ZONE::GetDoNotAllowZoneFills(), KI_TEST::GetPcbnewTestDataDir(), and PCB_IO_PADS::LoadBoard().
| BOOST_AUTO_TEST_CASE | ( | KeepoutLayers_AllLayers | ) |
Definition at line 149 of file test_pads_keepout.cpp.
References PADS_IO::KEEPOUT::layers.
| BOOST_AUTO_TEST_CASE | ( | KeepoutLayers_MultipleLayers | ) |
Definition at line 135 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), and PADS_IO::KEEPOUT::layers.
| BOOST_AUTO_TEST_CASE | ( | KeepoutLayers_SingleLayer | ) |
Definition at line 125 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), and PADS_IO::KEEPOUT::layers.
| BOOST_AUTO_TEST_CASE | ( | KeepoutOutline_RectanglePoints | ) |
Definition at line 109 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), and PADS_IO::KEEPOUT::outline.
| BOOST_AUTO_TEST_CASE | ( | KeepoutStruct_DefaultConstruction | ) |
Definition at line 34 of file test_pads_keepout.cpp.
References PADS_IO::ALL, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), PADS_IO::KEEPOUT::layers, PADS_IO::KEEPOUT::no_components, PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, PADS_IO::KEEPOUT::outline, and PADS_IO::KEEPOUT::type.
| BOOST_AUTO_TEST_CASE | ( | KeepoutType_AllKeepout | ) |
Definition at line 47 of file test_pads_keepout.cpp.
References PADS_IO::ALL, BOOST_CHECK_EQUAL(), PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, and PADS_IO::KEEPOUT::type.
| BOOST_AUTO_TEST_CASE | ( | KeepoutType_PlacementOnly | ) |
Definition at line 92 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), PADS_IO::KEEPOUT::no_components, PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, PADS_IO::PLACEMENT, and PADS_IO::KEEPOUT::type.
| BOOST_AUTO_TEST_CASE | ( | KeepoutType_RouteOnly | ) |
Definition at line 77 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, PADS_IO::ROUTE, and PADS_IO::KEEPOUT::type.
| BOOST_AUTO_TEST_CASE | ( | KeepoutType_ViaOnly | ) |
Definition at line 62 of file test_pads_keepout.cpp.
References BOOST_CHECK_EQUAL(), PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, PADS_IO::KEEPOUT::type, and PADS_IO::VIA.
| BOOST_AUTO_TEST_CASE | ( | ParseKeepoutFile | ) |
Definition at line 158 of file test_pads_keepout.cpp.
References PADS_IO::ALL, PADS_IO::PARSER::GetKeepouts(), KI_TEST::GetPcbnewTestDataDir(), PADS_IO::PARSER::Parse(), PADS_IO::PLACEMENT, PADS_IO::ROUTE, and PADS_IO::VIA.
| BOOST_AUTO_TEST_CASE | ( | ParseKeepoutOutlineGeometry | ) |
Definition at line 255 of file test_pads_keepout.cpp.
References PADS_IO::ALL, BOOST_REQUIRE(), PADS_IO::PARSER::GetKeepouts(), KI_TEST::GetPcbnewTestDataDir(), PADS_IO::KEEPOUT::outline, and PADS_IO::PARSER::Parse().