46    std::vector<std::pair<wxString, int>> tests = { { 
"erc_wire_endpoints", 4 } };
 
   48    for( 
const std::pair<wxString, int>& 
test : tests )
 
   63        m_schematic->ConnectionGraph()->RunERC();
 
   70                             "Expected " << 
test.second << 
" errors in " << 
test.first.ToStdString()
 
   71                                         << 
" but got " << errors.
GetCount() << 
"\n" 
 
wxString GetTextReport()
Returns the ERC report in "text" (human readable) format in the C-locale.
 
Container for ERC settings.
 
std::map< int, SEVERITY > m_ERCSeverities
 
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
 
An implementation of the RC_ITEM_LIST interface which uses the global SHEETLIST to fulfill the contra...
 
int GetCount(int aSeverity=-1) const override
 
void SetSeverities(int aSeverities) override
 
@ ERCE_UNCONNECTED_WIRE_ENDPOINT
A label is connected to more than one wire.
 
@ ERCE_LIB_SYMBOL_MISMATCH
Symbol doesn't match copy in library.
 
@ ERCE_LIB_SYMBOL_ISSUES
Symbol not found in active libraries.
 
@ ERCE_WIRE_DANGLING
Some wires are not connected to anything else.
 
void LoadSchematic(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< SCHEMATIC > &aSchematic)
 
std::vector< FAB_LAYER_COLOR > dummy
 
std::unique_ptr< SCHEMATIC > m_schematic
 
SETTINGS_MANAGER m_settingsManager
 
ERC_REGRESSION_TEST_FIXTURE()
 
BOOST_FIXTURE_TEST_CASE(ERCUnconnectedWireEndpoints, ERC_REGRESSION_TEST_FIXTURE)