Browse Source

Attempt to fix test case, and improve debugging output.

7.0
Jeff Young 4 years ago
parent
commit
66a6a6d448
  1. 1
      include/core/typeinfo.h
  2. 2
      qa/common/test_types.cpp

1
include/core/typeinfo.h

@ -395,6 +395,7 @@ constexpr bool IsPcbnewType( const KICAD_T aType )
case PCB_DIM_ALIGNED_T:
case PCB_DIM_LEADER_T:
case PCB_DIM_CENTER_T:
case PCB_DIM_RADIAL_T:
case PCB_DIM_ORTHOGONAL_T:
case PCB_TARGET_T:
case PCB_ZONE_T:

2
qa/common/test_types.cpp

@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE( AllCorrect )
{
KICAD_T type = static_cast<KICAD_T>( i );
BOOST_CHECK( IsTypeCorrect( type ) );
BOOST_CHECK_MESSAGE( IsTypeCorrect( type ), "Failed for " << type );
}
}

Loading…
Cancel
Save