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

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

#include <pcbnew_utils/board_test_utils.h>
#include <pcbnew_utils/board_file_utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <pcbnew/pcb_io/easyedapro/pcb_io_easyedapro.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <zone.h>
#include <cstdlib>
#include <filesystem>
#include <map>
#include <memory>

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 58 of file test_easyedapro_import.cpp.

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