|
KiCad PCB EDA Suite
|
Test suite for PADS_LAYER_MAPPER. More...
Go to the source code of this file.
Classes | |
| struct | PADS_LAYER_MAPPER_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (CopperLayerType_TwoLayer) | |
| BOOST_AUTO_TEST_CASE (CopperLayerType_FourLayer) | |
| BOOST_AUTO_TEST_CASE (CopperLayerType_SixLayer) | |
| BOOST_AUTO_TEST_CASE (PadStackLayerTypes) | |
| BOOST_AUTO_TEST_CASE (NonCopperLayerTypes) | |
| BOOST_AUTO_TEST_CASE (UnknownLayerType) | |
| BOOST_AUTO_TEST_CASE (AutoMapCopper) | |
| BOOST_AUTO_TEST_CASE (AutoMapNonCopper) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_Silkscreen) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_SolderMask) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_Paste) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_Assembly) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_BoardOutline) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_Copper) | |
| BOOST_AUTO_TEST_CASE (ParseLayerName_Unknown) | |
| BOOST_AUTO_TEST_CASE (CustomLayerNameMapping) | |
| BOOST_AUTO_TEST_CASE (PermittedLayers) | |
| BOOST_AUTO_TEST_CASE (BuildInputLayerDescriptions) | |
| BOOST_AUTO_TEST_CASE (LayerTypeToString) | |
Test suite for PADS_LAYER_MAPPER.
Definition in file test_pads_layer_mapper.cpp.
| BOOST_AUTO_TEST_CASE | ( | AutoMapCopper | ) |
Definition at line 125 of file test_pads_layer_mapper.cpp.
References B_Cu, BOOST_CHECK_EQUAL(), F_Cu, PADS_LAYER_MAPPER::GetAutoMapLayer(), In1_Cu, In2_Cu, and PADS_LAYER_MAPPER::SetCopperLayerCount().
| BOOST_AUTO_TEST_CASE | ( | AutoMapNonCopper | ) |
Definition at line 137 of file test_pads_layer_mapper.cpp.
References B_Fab, B_Mask, B_Paste, B_SilkS, BOOST_CHECK_EQUAL(), F_Fab, F_Mask, F_Paste, F_SilkS, PADS_LAYER_MAPPER::GetAutoMapLayer(), PADS_LAYER_MAPPER::LAYER_ASSEMBLY_BOTTOM, PADS_LAYER_MAPPER::LAYER_ASSEMBLY_TOP, PADS_LAYER_MAPPER::LAYER_PASTE_BOTTOM, PADS_LAYER_MAPPER::LAYER_PASTE_TOP, PADS_LAYER_MAPPER::LAYER_SILKSCREEN_BOTTOM, PADS_LAYER_MAPPER::LAYER_SILKSCREEN_TOP, PADS_LAYER_MAPPER::LAYER_SOLDERMASK_BOTTOM, and PADS_LAYER_MAPPER::LAYER_SOLDERMASK_TOP.
| BOOST_AUTO_TEST_CASE | ( | BuildInputLayerDescriptions | ) |
Definition at line 276 of file test_pads_layer_mapper.cpp.
References B_Cu, BOOST_CHECK_EQUAL(), PADS_LAYER_MAPPER::BuildInputLayerDescriptions(), COPPER_BOTTOM, COPPER_TOP, F_Cu, F_SilkS, PADS_LAYER_MAPPER::SetCopperLayerCount(), and SILKSCREEN_TOP.
| BOOST_AUTO_TEST_CASE | ( | CopperLayerType_FourLayer | ) |
Definition at line 56 of file test_pads_layer_mapper.cpp.
References COPPER_BOTTOM, COPPER_INNER, COPPER_TOP, PADS_LAYER_MAPPER::GetLayerType(), and PADS_LAYER_MAPPER::SetCopperLayerCount().
| BOOST_AUTO_TEST_CASE | ( | CopperLayerType_SixLayer | ) |
Definition at line 73 of file test_pads_layer_mapper.cpp.
References COPPER_BOTTOM, COPPER_INNER, COPPER_TOP, PADS_LAYER_MAPPER::GetLayerType(), and PADS_LAYER_MAPPER::SetCopperLayerCount().
| BOOST_AUTO_TEST_CASE | ( | CopperLayerType_TwoLayer | ) |
Definition at line 43 of file test_pads_layer_mapper.cpp.
References BOOST_AUTO_TEST_CASE(), COPPER_BOTTOM, COPPER_TOP, PADS_LAYER_MAPPER::GetLayerType(), and PADS_LAYER_MAPPER::SetCopperLayerCount().
| BOOST_AUTO_TEST_CASE | ( | CustomLayerNameMapping | ) |
Definition at line 240 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::AddLayerNameMapping(), DOCUMENTATION, and PADS_LAYER_MAPPER::ParseLayerName().
| BOOST_AUTO_TEST_CASE | ( | LayerTypeToString | ) |
Definition at line 305 of file test_pads_layer_mapper.cpp.
References BOOST_CHECK_EQUAL(), COPPER_TOP, PADS_LAYER_MAPPER::LayerTypeToString(), SILKSCREEN_TOP, and UNKNOWN.
| BOOST_AUTO_TEST_CASE | ( | NonCopperLayerTypes | ) |
Definition at line 99 of file test_pads_layer_mapper.cpp.
References ASSEMBLY_BOTTOM, ASSEMBLY_TOP, PADS_LAYER_MAPPER::GetLayerType(), PADS_LAYER_MAPPER::LAYER_ASSEMBLY_BOTTOM, PADS_LAYER_MAPPER::LAYER_ASSEMBLY_TOP, PADS_LAYER_MAPPER::LAYER_PASTE_BOTTOM, PADS_LAYER_MAPPER::LAYER_PASTE_TOP, PADS_LAYER_MAPPER::LAYER_SILKSCREEN_BOTTOM, PADS_LAYER_MAPPER::LAYER_SILKSCREEN_TOP, PADS_LAYER_MAPPER::LAYER_SOLDERMASK_BOTTOM, PADS_LAYER_MAPPER::LAYER_SOLDERMASK_TOP, PASTE_BOTTOM, PASTE_TOP, SILKSCREEN_BOTTOM, SILKSCREEN_TOP, SOLDERMASK_BOTTOM, and SOLDERMASK_TOP.
| BOOST_AUTO_TEST_CASE | ( | PadStackLayerTypes | ) |
Definition at line 87 of file test_pads_layer_mapper.cpp.
References COPPER_BOTTOM, COPPER_INNER, COPPER_TOP, PADS_LAYER_MAPPER::GetLayerType(), PADS_LAYER_MAPPER::LAYER_PAD_STACK_BOTTOM, PADS_LAYER_MAPPER::LAYER_PAD_STACK_INNER, PADS_LAYER_MAPPER::LAYER_PAD_STACK_TOP, and PADS_LAYER_MAPPER::SetCopperLayerCount().
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_Assembly | ) |
Definition at line 192 of file test_pads_layer_mapper.cpp.
References ASSEMBLY_BOTTOM, ASSEMBLY_TOP, and PADS_LAYER_MAPPER::ParseLayerName().
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_BoardOutline | ) |
Definition at line 204 of file test_pads_layer_mapper.cpp.
References BOARD_OUTLINE, and PADS_LAYER_MAPPER::ParseLayerName().
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_Copper | ) |
Definition at line 214 of file test_pads_layer_mapper.cpp.
References COPPER_BOTTOM, COPPER_INNER, COPPER_TOP, and PADS_LAYER_MAPPER::ParseLayerName().
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_Paste | ) |
Definition at line 181 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::ParseLayerName(), PASTE_BOTTOM, and PASTE_TOP.
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_Silkscreen | ) |
Definition at line 152 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::ParseLayerName(), SILKSCREEN_BOTTOM, and SILKSCREEN_TOP.
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_SolderMask | ) |
Definition at line 167 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::ParseLayerName(), SOLDERMASK_BOTTOM, and SOLDERMASK_TOP.
| BOOST_AUTO_TEST_CASE | ( | ParseLayerName_Unknown | ) |
Definition at line 231 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::ParseLayerName(), and UNKNOWN.
| BOOST_AUTO_TEST_CASE | ( | PermittedLayers | ) |
Definition at line 252 of file test_pads_layer_mapper.cpp.
References B_Cu, B_SilkS, BOARD_OUTLINE, LSET::Contains(), COPPER_TOP, Edge_Cuts, F_Cu, F_SilkS, PADS_LAYER_MAPPER::GetPermittedLayers(), In1_Cu, and SILKSCREEN_TOP.
| BOOST_AUTO_TEST_CASE | ( | UnknownLayerType | ) |
Definition at line 114 of file test_pads_layer_mapper.cpp.
References PADS_LAYER_MAPPER::GetLayerType(), PADS_LAYER_MAPPER::SetCopperLayerCount(), and UNKNOWN.