[Insight-developers] Exception not a test failure?

Brad King brad.king@kitware.com
Fri, 28 Feb 2003 12:52:55 -0500 (EST)


Hello,

The following lines are present in
itkMultiResolutionImageRegistrationMethodTest.cxx:

  catch( itk::ExceptionObject& err ) \
    { \
    std::cout << "Caught expected ExceptionObject" << std::endl; \
    std::cout << err << std::endl; \
    pass = true; \
    } \

Why does the test pass if an exception was thrown?

-Brad