Re: [Cppunit-devel] CppUnit Cookbook
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2007-02-25 09:17:18
|
CppUnit development mailing list wrote: > Hello, > I think I have found a small bug in the CppUnit Cookbook: > > http://cppunit.sourceforge.net/doc/lastest/cppunit_cookbook.html > > Section: TestRunner > in the code example is: > > static CppUnit::Test *suite() > > and should be > > static CppUnit:: TestSuite *suite() The helper macros for registration and the addTest() method will accept anything from Test* to TestSuite*. But since the tutorial states that we return a test suite, it should be TestSuite *. > Please let me know, if I was right :-) You were. Thanks for pointing this out. Baptiste. > > Best Regards > Marcin Sochacki --- Baptiste Lepilleur <bl...@us...> CppUnit maintainer OpenTest and CppUnit 2 developer. |