44 wxS(
"issue18346.kicad_sch" );
54 std::deque<EDA_ITEM*> allItems;
56 for(
SCH_ITEM* item : screen->Items() )
57 allItems.push_back( item );
59 needed +=
static_cast<int>( screen->GetNeededJunctions( allItems ).size() );
63 "Normal load path left " << needed
64 <<
" junction(s) missing; FixupJunctionsAfterImport did not run" );
static SCHEMATIC * LoadSchematic(const wxString &aFileName, bool aSetActive, bool aForceDefaultProject, PROJECT *aProject=nullptr, bool aCalculateConnectivity=true)
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
Base class for any item which can be embedded within the SCHEMATIC container class,...
Container class that holds multiple SCH_SCREEN objects in a hierarchy.
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
std::vector< FAB_LAYER_COLOR > dummy
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_CASE(Issue18346JunctionFixupOnLoad)
A native schematic written by an older version can carry an implied junction that was never persisted...
BOOST_CHECK_MESSAGE(totalMismatches==0, std::to_string(totalMismatches)+" board(s) with strategy disagreements")