1 #ifndef TESTS_CHECKPOINT_HXX
2 #define TESTS_CHECKPOINT_HXX
4 #include <libfsafe/UnexpectedException.hxx>
5 #include <cppunit/extensions/HelperMacros.h>
12 class tests::Checkpoint
: public CppUnit::TestFixture
14 CPPUNIT_TEST_SUITE(tests::Checkpoint
);
15 CPPUNIT_TEST(passIfStatementPasses
);
16 CPPUNIT_TEST_EXCEPTION(wrapIfStatementThrows
, libfsafe::UnexpectedException
);
17 CPPUNIT_TEST(testBacktrace
);
18 CPPUNIT_TEST_SUITE_END();
21 void passIfStatementPasses();
22 void wrapIfStatementThrows();