Is there any macro like
CPPUNIT_ASSERT( ... ) that would _expect_ an exception? Something like
CPPUNIT_ERROR( CodeThatThrows(), ESomeExceptionClass )
which would be OK if the given exception comes? Currently I can do it for whole test method but that is not very convenient.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.