I've had a look at some of the qtest source code and documentation and can't figure it out.
Would like to run tests and have test cases fail if an exception is thrown, and then continue on to the next test.
Is there a way short of recompiling qt with various macros defined/undefined? or adding try/catch blocks to every test?
or some way to get something like this to work?
QT_BEGIN_NAMESPACE
#define QCOMPARE_NOEXCEP( actual, expected )\
try{\
QCOMPARE( actual, expected );\
} catch( ... ) {\
QFAIL( "Exception thrown" );\
return;\
}\
QT_END_NAMESPACE