Browse Source

Formatting.

pull/18/head
Jeff Young 5 months ago
parent
commit
a95f5172c9
  1. 9
      qa/tests/pcbnew/pcb_io/cadstar/test_cadstar_footprints.cpp

9
qa/tests/pcbnew/pcb_io/cadstar/test_cadstar_footprints.cpp

@ -40,7 +40,7 @@ struct CADSTAR_IMPORT_FIXTURE
CADSTAR_IMPORT_FIXTURE() {}
PCB_IO_CADSTAR_ARCHIVE cstarPlugin;
PCB_IO_KICAD_SEXPR kicadPlugin;
PCB_IO_KICAD_SEXPR kicadPlugin;
};
@ -77,7 +77,8 @@ BOOST_AUTO_TEST_CASE( CadstarFootprintImport )
{
wxString footprintName = cstarFootprintNames[i];
BOOST_TEST_CONTEXT( wxString::Format( wxT( "Import '%s' from '%s'" ), footprintName,
BOOST_TEST_CONTEXT( wxString::Format( wxT( "Import '%s' from '%s'" ),
footprintName,
libName.first ) )
{
FOOTPRINT* eagleFp = cstarPlugin.FootprintLoad( cstarLibraryPath, footprintName,
@ -87,8 +88,8 @@ BOOST_AUTO_TEST_CASE( CadstarFootprintImport )
BOOST_CHECK_EQUAL( "REF**", eagleFp->GetReference() );
BOOST_CHECK_EQUAL( footprintName, eagleFp->GetValue() );
FOOTPRINT* kicadFp =
kicadPlugin.FootprintLoad( kicadLibraryPath, footprintName, true, nullptr );
FOOTPRINT* kicadFp = kicadPlugin.FootprintLoad( kicadLibraryPath, footprintName,
true, nullptr );
BOOST_CHECK( kicadFp );
KI_TEST::CheckFootprint( kicadFp, eagleFp );

Loading…
Cancel
Save