ADDED: API for injecting arbitrary DRC errors/warn
Allows external tools to calculate/represent specialized DRC errors on the board Fixes https://gitlab.com/kicad/code/kicad/issues/21727
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <font/text_attributes.h>
|
||||
#include <layer_ids.h>
|
||||
#include <stroke_params.h>
|
||||
#include <widgets/report_severity.h>
|
||||
|
||||
// Board-specific
|
||||
#include <api/board/board_types.pb.h>
|
||||
@@ -267,4 +268,9 @@ BOOST_AUTO_TEST_CASE( BoardStackupLayerType )
|
||||
testEnums<BOARD_STACKUP_ITEM_TYPE, kiapi::board::BoardStackupLayerType>();
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( DrcSeverity )
|
||||
{
|
||||
testEnums<SEVERITY, kiapi::board::commands::DrcSeverity>( true );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
||||
Reference in New Issue
Block a user