48 std::vector<std::pair<wxString, int>> tests =
53 for(
const std::pair<wxString, int>&
test : tests )
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.
Container for ERC settings.
std::map< int, SEVERITY > m_ERCSeverities
int TestLabelMultipleWires()
Test to see if there are labels that are connected to more than one wire.
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_LABEL_MULTIPLE_WIRES
A label is connected to more than one wire.
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(ERCLabelMultipleWires, ERC_REGRESSION_TEST_FIXTURE)