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();
16 void testSimpleConstruction();
17 void testSimpleThrowing();