| CppUnit project page | FAQ | CppUnit home page |
#include <TestRunner.h>

Public Member Functions | |
| WrappingSuite (const std::string &name="All Tests") | |
| int | getChildTestCount () const |
| Returns the number of direct child of the test. | |
| std::string | getName () const |
| Returns the test name. | |
| void | run (TestResult *result) |
| Run the test, collecting results. | |
Protected Member Functions | |
| Test * | doGetChildTestAt (int index) const |
| Returns the child test of the specified valid index. | |
| bool | hasOnlyOneTest () const |
| Test * | getUniqueChildTest () const |
| CPPUNIT_NS_BEGIN TestRunner::WrappingSuite::WrappingSuite | ( | const std::string & | name = "All Tests" |
) |
| int TestRunner::WrappingSuite::getChildTestCount | ( | ) | const [virtual] |
| std::string TestRunner::WrappingSuite::getName | ( | ) | const [virtual] |
Returns the test name.
Each test has a name. This name may be used to find the test in a suite or registry of tests.
Reimplemented from TestComposite.
| void TestRunner::WrappingSuite::run | ( | TestResult * | result | ) | [virtual] |
| Test * TestRunner::WrappingSuite::doGetChildTestAt | ( | int | index | ) | const [protected, virtual] |
Returns the child test of the specified valid index.
| index | Zero based valid index of the child test to return. |
NULL. Reimplemented from TestSuite.
| bool TestRunner::WrappingSuite::hasOnlyOneTest | ( | ) | const [protected] |
| Test * TestRunner::WrappingSuite::getUniqueChildTest | ( | ) | const [protected] |
|
|
hosts this site. |
Send comments to: CppUnit Developers |