00001 // testing the TestCase class 00002 00003 #ifndef testTest_hh 00004 #define testTest_hh 00005 00006 #include "basics/testcase.hh" 00007 00008 namespace test { 00009 00013 class ToTest : public TestCase { 00014 public: 00015 virtual ~ToTest() {} 00016 00017 virtual void run() { 00018 testit(); 00019 } 00020 00022 00023 void testit() { 00024 _test(true); 00025 _succeed(); 00026 } 00028 }; 00029 00030 } // namespace test 00031 00032 #endif // testTest_hh