Initial commit, version 0.1.0.
[libfsafe.git] / tests / Checkpoint.hxx
blob77620caab80aee1fa0440ef8789a68a5d06394f9
1 #ifndef TESTS_CHECKPOINT_HXX
2 #define TESTS_CHECKPOINT_HXX
4 #include <libfsafe/UnexpectedException.hxx>
5 #include <cppunit/extensions/HelperMacros.h>
7 namespace tests
9 class Checkpoint;
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();
20 public:
21 void passIfStatementPasses();
22 void wrapIfStatementThrows();
23 void testBacktrace();
26 #endif