29 const auto& reporter = aMarker.
GetRCItem();
30 os <<
"PCB_MARKER[\n";
31 os <<
" type=" << reporter->GetErrorCode() <<
" (" << reporter->GetErrorText() <<
")"
43 return aMarker.
GetRCItem()->GetErrorCode() == aErrorCode;
std::shared_ptr< RC_ITEM > GetRCItem() const
std::ostream & boost_test_print_type(std::ostream &os, const PCB_MARKER &aMarker)
Define a stream function for logging PCB_MARKER test assertions.
General utilities for DRC-related PCB tests.
bool IsDrcMarkerOfType(const PCB_MARKER &aMarker, int aErrorCode)
Predicate for testing the type of a DRC marker.