|
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& )> |
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. | |
| using BLOCK_TEST_FUNC = std::function<void( const BLOCK_BASE& )> |
Definition at line 74 of file test_block_additional.cpp.
|
static |
Definition at line 204 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 91 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 179 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 225 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 77 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 111 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 144 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 131 of file test_block_additional.cpp.
References BOOST_REQUIRE(), BOOST_TEST(), and ALLEGRO::BLOCK_BASE::GetBlockType().
|
static |
Definition at line 160 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 255 of file test_block_additional.cpp.
Referenced by KI_TEST::RunAdditionalBlockTest().