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++ )
104 BOOST_CHECK_NE( m_pi.get(),
nullptr );
110 TestNetlist(
"test_global_promotion" );
116 TestNetlist(
"test_global_promotion_2" );
122 TestNetlist(
"video" );
128 TestNetlist(
"complex_hierarchy" );
134 TestNetlist(
"weak_vector_bus_disambiguation" );
140 TestNetlist(
"bus_junctions" );
146 TestNetlist(
"test_hier_renaming" );
152 TestNetlist(
"noconnects" );
158 TestNetlist(
"prefix_bus_alias" );
164 TestNetlist(
"group_bus_matching" );
170 TestNetlist(
"top_level_hier_pins" );
176 TestNetlist(
"bus_entries" );
182 TestNetlist(
"test_hier_no_connect" );
188 TestNetlist(
"bus_connection" );
193 TestNetlist(
"issue14657" );
198 TestNetlist(
"hierarchy_aliases" );
203 TestNetlist(
"issue14818" );
208 TestNetlist(
"issue16003" );
213 TestNetlist(
"issue16439" );
218 TestNetlist(
"component_classes" );
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
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_SUITE_END()
BOOST_AUTO_TEST_CASE(FindPlugin)