36 BOOST_REQUIRE_NO_THROW( netlistReader->LoadNetlist() );
43 BOOST_REQUIRE_NO_THROW( netlistReader->LoadNetlist() );
47 BOOST_REQUIRE_EQUAL( golden.
GetCount(),
test.GetCount() );
49 for(
unsigned i = 0; i < golden.
GetCount(); i++ )
55 BOOST_REQUIRE_NE( refComp,
nullptr );
60 BOOST_REQUIRE( !goldenComp->
GetKIIDs().empty() );
65 BOOST_REQUIRE_NE( pathComp,
nullptr );
73 for(
unsigned net = 0; net < goldenComp->
GetNetCount(); net++ )
100 BOOST_CHECK_NE( m_pi,
nullptr );
106 TestNetlist(
"test_global_promotion" );
112 TestNetlist(
"test_global_promotion_2" );
118 TestNetlist(
"video" );
124 TestNetlist(
"complex_hierarchy" );
130 TestNetlist(
"weak_vector_bus_disambiguation" );
136 TestNetlist(
"bus_junctions" );
142 TestNetlist(
"test_hier_renaming" );
148 TestNetlist(
"noconnects" );
154 TestNetlist(
"prefix_bus_alias" );
160 TestNetlist(
"group_bus_matching" );
166 TestNetlist(
"top_level_hier_pins" );
172 TestNetlist(
"bus_entries" );
178 TestNetlist(
"test_hier_no_connect" );
184 TestNetlist(
"bus_connection" );
189 TestNetlist(
"issue14657" );
193BOOST_AUTO_TEST_SUITE_END()
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 footprint 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
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(FindPlugin)