72 wxArrayString footprintNames;
75 BOOST_REQUIRE_EQUAL( footprintNames.GetCount(), 1 );
76 BOOST_CHECK_EQUAL( footprintNames[0], wxString( wxS(
"BGA-286_17x17_12.0x12.0mm" ) ) );
78 std::unique_ptr<FOOTPRINT> footprint(
89 wxString dataPath = wxString::FromUTF8(
91 +
"plugins/easyedapro/ProProject_LS2K0300Core_2025-11-14.epro2" );
93 std::map<std::string, UTF8> properties;
94 properties[
"pcb_id"] =
"eb9fbfba682940f7a002816e66fbb3d7";
99 std::unique_ptr<BOARD> board( plugin->LoadBoard( dataPath,
nullptr, &properties ) );
102 BOOST_CHECK( board->Footprints().size() > 0 );
103 BOOST_CHECK( board->GetNetCount() > 0 );
static PCB_IO * FindPlugin(PCB_FILE_T aFileType)
Return a #PLUGIN which the caller can use to import, export, save, or load design documents.
BOOST_CHECK_EQUAL(result, "25.4")