00001 // STL 00002 #include <iosfwd> 00003 // CPPUNIT 00004 #include <cppunit/extensions/HelperMacros.h> 00005 00007 class YieldTestSuite : public CppUnit::TestFixture { 00008 CPPUNIT_TEST_SUITE (YieldTestSuite); 00009 CPPUNIT_TEST (simpleYield); 00010 // CPPUNIT_TEST (errorCase); 00011 CPPUNIT_TEST_SUITE_END (); 00012 public: 00013 00015 void simpleYield(); 00016 00018 // void errorCase (); 00019 00021 YieldTestSuite (); 00022 00023 private: 00025 void simpleYieldHelper(); 00026 00027 protected: 00028 std::stringstream _describeKey; 00029 }; 00030 00031 CPPUNIT_TEST_SUITE_REGISTRATION (YieldTestSuite);