KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_easyedapro_import.cpp File Reference

Test suite for import of EasyEDA Pro footprints. More...

Go to the source code of this file.

Classes

struct  EASYEDAPRO_IMPORT_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (PolygonPadImport)
 Test importing a footprint with POLYGON-shaped pads (issue #20348) EasyEDA Pro uses POLYGON shape type for complex custom pad shapes, which was previously not handled.
 

Detailed Description

Test suite for import of EasyEDA Pro footprints.

Definition in file test_easyedapro_import.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( PolygonPadImport )

Test importing a footprint with POLYGON-shaped pads (issue #20348) EasyEDA Pro uses POLYGON shape type for complex custom pad shapes, which was previously not handled.

Definition at line 55 of file test_easyedapro_import.cpp.

References PADSTACK::ALL_LAYERS, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), CUSTOM, FOOTPRINT::FindPadByNumber(), KI_TEST::GetPcbnewTestDataDir(), PAD::GetPrimitives(), PAD::GetShape(), and FOOTPRINT::Pads().