KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <array_pad_number_provider.h>
#include <common.h>
#include <footprint.h>
#include <pad.h>
Go to the source code of this file.
Classes | |
struct | APNP_CASE |
Declare the test suite. More... | |
Functions | |
std::vector< APNP_CASE > | GetFootprintAPNPCases () |
Get Array Pad Name Provider cases when a footprint is looked at to determine what names are available. | |
void | CheckPadNumberProvider (ARRAY_PAD_NUMBER_PROVIDER &aProvider, std::vector< wxString > aExpectedNumbers) |
Check that an ARRAY_PAD_NUMBER_PROVIDER provides the right names. | |
BOOST_AUTO_TEST_CASE (FootprintCases) | |
BOOST_AUTO_TEST_CASE | ( | FootprintCases | ) |
Definition at line 111 of file test_array_pad_name_provider.cpp.
References BOOST_TEST_CONTEXT(), CheckPadNumberProvider(), and GetFootprintAPNPCases().
void CheckPadNumberProvider | ( | ARRAY_PAD_NUMBER_PROVIDER & | aProvider, |
std::vector< wxString > | aExpectedNumbers | ||
) |
Check that an ARRAY_PAD_NUMBER_PROVIDER provides the right names.
aProvider | the provider |
aExpNames | ordered list of expected names |
Definition at line 98 of file test_array_pad_name_provider.cpp.
References ARRAY_PAD_NUMBER_PROVIDER::GetNextPadNumber().
Referenced by BOOST_AUTO_TEST_CASE().
std::vector< APNP_CASE > GetFootprintAPNPCases | ( | ) |
Get Array Pad Name Provider cases when a footprint is looked at to determine what names are available.
Definition at line 53 of file test_array_pad_name_provider.cpp.
References ARRAY_AXIS::NUMBERING_NUMERIC.
Referenced by BOOST_AUTO_TEST_CASE().