From 548149fe48f59cf27f6071e9629b8bbe2ad32c1f Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 28 Jul 2014 11:14:37 +0200 Subject: [PATCH] Fix out-of-date comment. --- headers/tools/cppunit/TestShell.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/headers/tools/cppunit/TestShell.h b/headers/tools/cppunit/TestShell.h index f1bc37132e..b98993d28b 100644 --- a/headers/tools/cppunit/TestShell.h +++ b/headers/tools/cppunit/TestShell.h @@ -58,12 +58,10 @@ public: status_t AddSuite(BTestSuite *kit); // This function is used to add test suites to the list of available - // tests. A SuiteFunction is just a function that takes no parameters - // and returns a pointer to a CppUnit::Test object. Return NULL at - // your own risk :-). The name given is the name that will be presented - // when the program is run with "--list" as an argument. Usually the - // given suite would be a test suite for an entire class, but that's - // not a requirement. + // tests. The test pointer may not be NULL. The name given is the name that + // will be presented when the program is run with "--list" as an argument. + // Usually the given suite would be a test suite for an entire class, but + // that's not a requirement. void AddTest(const std::string &name, CppUnit::Test* test); // This function loads all the test addons it finds in the given