Fix test failures.

This commit is contained in:
Jeff Young 2021-12-24 21:33:12 +00:00
parent b07afad83c
commit acfce8d4db
1 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,7 @@ constexpr KICAD_T BaseType( const KICAD_T aType )
case SCH_ITEM_LOCATE_GRAPHIC_LINE_T: case SCH_ITEM_LOCATE_GRAPHIC_LINE_T:
return SCH_LINE_T; return SCH_LINE_T;
case SCH_LABEL_LOCATE_ANY_T:
case SCH_LABEL_LOCATE_WIRE_T: case SCH_LABEL_LOCATE_WIRE_T:
case SCH_LABEL_LOCATE_BUS_T: case SCH_LABEL_LOCATE_BUS_T:
return SCH_LABEL_T; return SCH_LABEL_T;
@ -304,6 +305,7 @@ constexpr bool IsInstantiableType( const KICAD_T aType )
case SCH_ITEM_LOCATE_BUS_T: case SCH_ITEM_LOCATE_BUS_T:
case SCH_ITEM_LOCATE_GRAPHIC_LINE_T: case SCH_ITEM_LOCATE_GRAPHIC_LINE_T:
case SCH_LABEL_LOCATE_ANY_T:
case SCH_LABEL_LOCATE_WIRE_T: case SCH_LABEL_LOCATE_WIRE_T:
case SCH_LABEL_LOCATE_BUS_T: case SCH_LABEL_LOCATE_BUS_T:
@ -347,6 +349,7 @@ constexpr bool IsEeschemaType( const KICAD_T aType )
case SCH_BITMAP_T: case SCH_BITMAP_T:
case SCH_TEXT_T: case SCH_TEXT_T:
case SCH_LABEL_T: case SCH_LABEL_T:
case SCH_NETCLASS_FLAG_T:
case SCH_GLOBAL_LABEL_T: case SCH_GLOBAL_LABEL_T:
case SCH_HIER_LABEL_T: case SCH_HIER_LABEL_T:
case SCH_FIELD_T: case SCH_FIELD_T:
@ -364,6 +367,7 @@ constexpr bool IsEeschemaType( const KICAD_T aType )
case SCH_ITEM_LOCATE_BUS_T: case SCH_ITEM_LOCATE_BUS_T:
case SCH_ITEM_LOCATE_GRAPHIC_LINE_T: case SCH_ITEM_LOCATE_GRAPHIC_LINE_T:
case SCH_LABEL_LOCATE_ANY_T:
case SCH_LABEL_LOCATE_WIRE_T: case SCH_LABEL_LOCATE_WIRE_T:
case SCH_LABEL_LOCATE_BUS_T: case SCH_LABEL_LOCATE_BUS_T: