69 BOOST_REQUIRE_EQUAL( provider.
GetCount(), 1 );
71 std::shared_ptr<ERC_ITEM> item = provider.
GetERCItem( 0 );
99 BOOST_CHECK(
static_cast<SCH_MARKER*
>( item )->ViewGetLayers().
empty() );
Container for ERC settings.
std::map< int, SEVERITY > m_ERCSeverities
int TestFootprintFilters()
Test symbols to ensure that assigned footprint passes any given footprint filters.
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
Base class for any item which can be embedded within the SCHEMATIC container class,...
Container class that holds multiple SCH_SCREEN objects in a hierarchy.
void DeleteAllMarkers(enum MARKER_BASE::MARKER_T aMarkerType, bool aIncludeExclusions)
Delete all electronic rules check markers of aMarkerType from all the screens in the list.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
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
std::shared_ptr< ERC_ITEM > GetERCItem(int aIndex) const
static bool empty(const wxTextEntryBase *aCtrl)
@ ERCE_FOOTPRINT_LINK_ISSUES
The footprint link is invalid, or points to a missing (or inactive) footprint or library.
@ ERCE_FOOTPRINT_FILTERS
The assigned footprint doesn't match the footprint filters.
void LoadSchematic(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< SCHEMATIC > &aSchematic)
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.
std::vector< FAB_LAYER_COLOR > dummy
BOOST_CHECK_EQUAL(result, "25.4")