diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2007-02-25 08:21:45 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2007-02-25 08:21:45 +0000 |
commit | 82fb2eaf5c99b6399824128495af32c8c0570df8 (patch) | |
tree | b276dff62a289729f6c91dff005e4494111c0e3f | |
parent | c0df7c41b7a5aff0aece75aeb17b291f905d979d (diff) |
doc/cookbook.dox: changed suite() to return a TestSuite instead
of a Test to avoid introducing unnecessary complexity.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/cookbook.dox | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-02-25 Baptiste Lepilleur <blep@users.sourceforge.net> + + * doc/cookbook.dox: changed suite() to return a TestSuite instead + of a Test to avoid introducing unnecessary complexity. + 2007-02-24 Steve M. Robbins <smr@sumost.ca> * include/cppunit/portability/FloatingPoint.h: Include Portability.h. diff --git a/doc/cookbook.dox b/doc/cookbook.dox index ef37ad6..ace3ecc 100644 --- a/doc/cookbook.dox +++ b/doc/cookbook.dox @@ -274,7 +274,7 @@ ComplexNumberTest: \code public: - static CppUnit::Test *suite() + static CppUnit::TestSuite *suite() { CppUnit::TestSuite *suiteOfTests = new CppUnit::TestSuite( "ComplexNumberTest" ); suiteOfTests->addTest( new CppUnit::TestCaller<ComplexNumberTest>( |