|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | BLOCK_TEST_KEY |
| Unique key for identifying a block test, used for looking up additional validation functions. More... | |
| struct | std::hash< BLOCK_TEST_KEY > |
Namespaces | |
| namespace | std |
| STL namespace. | |
Typedefs | |
| using | BLOCK_TEST_FUNC = std::function<void( const BLOCK_BASE& )> |
| using | DB_OBJ_TEST_FUNC = std::function<void( const DB_OBJ& )> |
Functions | |
| static void | TestOlympus0x20 (const BLOCK_BASE &aBlock) |
| static void | TestBeagleBoneBlack_0x0F_SlotG1 (const BLOCK_BASE &aBlock) |
| Tests a V17.2 slot def. | |
| static void | TestOpenBreath_0x0F_SlotAM4096_G1 (const BLOCK_BASE &aBlock) |
| Tests a V17.4 slot def. | |
| static void | TestParallellaV163_PS_56X55RT (const BLOCK_BASE &aBlock) |
| This is a 1-layer SMD padstack in v16.3 format. | |
| static void | TestParallellaV163_PS_28C128N (const BLOCK_BASE &aBlock) |
| static void | TestParallellaV163_PS_P65X1P7SLT (const BLOCK_BASE &aBlock) |
| static void | TestBeagleBoneBlack_PS_120X040SLOT (const BLOCK_BASE &aBlock) |
| static void | TestBeagleBoneAI_PS_200C125D (const BLOCK_BASE &aBlock) |
| static void | TestCutiePiV166_PS_C50H340M700N (const BLOCK_BASE &aBlock) |
Variables | |
| static const std::unordered_map< BLOCK_TEST_KEY, BLOCK_TEST_FUNC > | additionalBlockTests |
| The registry of additional block tests, keyed by board name and block offset. | |
| static const std::unordered_map< BLOCK_TEST_KEY, DB_OBJ_TEST_FUNC > | additionalDbObjTests |
| using BLOCK_TEST_FUNC = std::function<void( const BLOCK_BASE& )> |
Definition at line 78 of file test_block_additional.cpp.
| using DB_OBJ_TEST_FUNC = std::function<void( const DB_OBJ& )> |
Definition at line 79 of file test_block_additional.cpp.
|
static |
Definition at line 209 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), ALLEGRO::BLOCK_BASE::GetBlockType(), and ALLEGRO::PADSTACK_COMPONENT::TYPE_RECTANGLE.
|
static |
Tests a V17.2 slot def.
Definition at line 96 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 184 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 230 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), ALLEGRO::BLOCK_BASE::GetBlockType(), and ALLEGRO::PADSTACK_COMPONENT::TYPE_CIRCLE.
|
static |
Definition at line 82 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Tests a V17.4 slot def.
Definition at line 116 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 149 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
This is a 1-layer SMD padstack in v16.3 format.
Definition at line 136 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 165 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
The registry of additional block tests, keyed by board name and block offset.
The test function takes the parsed block as an argument, and can perform any additional validation on the block data that isn't easily expressed in the JSON test definitions.
You can register any callable here, so it could be a function or function object.
Definition at line 260 of file test_block_additional.cpp.
Referenced by KI_TEST::RunAdditionalBlockTest().
|
static |
Definition at line 277 of file test_block_additional.cpp.
Referenced by KI_TEST::RunAdditionalObjectTest().