36 BOOST_ASSERT( netlistReader );
37 BOOST_REQUIRE_NO_THROW( netlistReader->LoadNetlist() );
44 BOOST_ASSERT( netlistReader );
45 BOOST_REQUIRE_NO_THROW( netlistReader->LoadNetlist() );
49 BOOST_REQUIRE_EQUAL( golden.
GetCount(),
test.GetCount() );
51 for(
unsigned i = 0; i < golden.
GetCount(); i++ )
57 BOOST_REQUIRE_NE( refComp,
nullptr );
67 BOOST_REQUIRE_NE( pathComp,
nullptr );
75 for(
unsigned net = 0; net < goldenComp->
GetNetCount(); net++ )
106 BOOST_CHECK_NE( m_pi.get(),
nullptr );
112 TestNetlist(
"test_global_promotion" );
118 TestNetlist(
"test_global_promotion_2" );
124 TestNetlist(
"video" );
130 TestNetlist(
"complex_hierarchy" );
136 TestNetlist(
"weak_vector_bus_disambiguation" );
142 TestNetlist(
"bus_junctions" );
148 TestNetlist(
"test_hier_renaming" );
154 TestNetlist(
"noconnects" );
160 TestNetlist(
"prefix_bus_alias" );
166 TestNetlist(
"group_bus_matching" );
172 TestNetlist(
"top_level_hier_pins" );
178 TestNetlist(
"bus_entries" );
184 TestNetlist(
"test_hier_no_connect" );
190 TestNetlist(
"bus_connection" );
195 TestNetlist(
"issue14657" );
200 TestNetlist(
"hierarchy_aliases" );
205 TestNetlist(
"issue14818" );
210 TestNetlist(
"issue16003" );
215 TestNetlist(
"issue16439" );
220 TestNetlist(
"component_classes" );
225 TestNetlist(
"hierarchical_component_classes" );
231 TestNetlist(
"jumpers" );
Used to store the component pin name to net name (and pin function) associations stored in a netlist.
const wxString & GetNetName() const
const wxString & GetPinFunction() const
const wxString & GetPinName() const
const wxString & GetPinType() const
Store all of the related component information found in a netlist.
const COMPONENT_NET & GetNet(unsigned aIndex) const
const KIID_PATH & GetPath() const
const wxString & GetReference() const
const std::vector< KIID > & GetKIIDs() const
unsigned GetNetCount() const
std::unordered_set< wxString > & GetComponentClassNames()
static NETLIST_READER * GetNetlistReader(NETLIST *aNetlist, const wxString &aNetlistFileName, const wxString &aCompFootprintFileName=wxEmptyString)
Attempt to determine the net list file type of aNetlistFileName and return the appropriate NETLIST_RE...
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
unsigned GetCount() const
COMPONENT * GetComponent(unsigned aIndex)
Return the COMPONENT at aIndex.
virtual wxString GetNetlistPath(bool aTest=false)
void CompareNetlists() override
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(FindPlugin)