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 /doc | |
parent | c0df7c41b7a5aff0aece75aeb17b291f905d979d (diff) |
doc/cookbook.dox: changed suite() to return a TestSuite instead
of a Test to avoid introducing unnecessary complexity.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cookbook.dox | 2 |
1 files changed, 1 insertions, 1 deletions
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>( |