|
KiCad PCB EDA Suite
|
Sets up a footprint and a single pad, and provides a save/reload round trip. More...
Public Member Functions | |
| PAD_ROUNDTRIP_FIXTURE () | |
| std::unique_ptr< FOOTPRINT > | RoundTrip () const |
| Save the fixture footprint to a temporary library and load it back. | |
Public Attributes | |
| FOOTPRINT | m_Footprint |
| PAD * | m_Pad |
Sets up a footprint and a single pad, and provides a save/reload round trip.
Definition at line 36 of file test_pad_roundtrip.cpp.
|
inline |
Definition at line 38 of file test_pad_roundtrip.cpp.
References PADSTACK::ALL_LAYERS, F_Cu, m_Footprint, m_Pad, PADSTACK::NORMAL, pcbIUScale, RECTANGLE, and SMD.
|
inline |
Save the fixture footprint to a temporary library and load it back.
Definition at line 63 of file test_pad_roundtrip.cpp.
References KI_TEST::SCOPED_TEMP_DIR::CreateChildDir(), KI_TEST::DumpFootprintToFile(), m_Footprint, and KI_TEST::ReadFootprintFromFile().
| FOOTPRINT PAD_ROUNDTRIP_FIXTURE::m_Footprint |
Definition at line 73 of file test_pad_roundtrip.cpp.
Referenced by PAD_ROUNDTRIP_FIXTURE(), and RoundTrip().
| PAD* PAD_ROUNDTRIP_FIXTURE::m_Pad |
Definition at line 74 of file test_pad_roundtrip.cpp.
Referenced by PAD_ROUNDTRIP_FIXTURE().