Added RETHROW macro, functionality, tests, examples, etc.
[libsex.git] / tests / src / UsageExamples.hxx
blob1b98cde7a4bfd6a833a644bc6e7f376ed8d3ba28
1 #ifndef LIBSEX_TEST_USAGEEXAMPLES_HXX
2 #define LIBSEX_TEST_USAGEEXAMPLES_HXX
4 #include <cppunit/extensions/HelperMacros.h>
6 class UsageExamples : public CppUnit::TestFixture
8 CPPUNIT_TEST_SUITE(UsageExamples);
9 CPPUNIT_TEST(testSimpleConstruction);
10 CPPUNIT_TEST(testSimpleThrowing);
11 CPPUNIT_TEST(testThrowing);
12 CPPUNIT_TEST(testChaining);
13 CPPUNIT_TEST_SUITE_END();
15 public:
16 void testSimpleConstruction();
17 void testSimpleThrowing();
18 void testThrowing();
19 void testChaining();
22 #endif