#include <TestDecorator.h>
Inheritance diagram for cppunit::TestDecorator::
Public Methods | |
TestDecorator (Test *test) | |
コンストラクタ。. More... | |
virtual | ~TestDecorator () |
デストラクタ。. More... | |
virtual void | run (TestResult *result) |
テストを実行し、結果を集める。 Run the test, collecting results. More... | |
virtual int | countTestCases () const |
テストケースの個数を返す。 Return the number of test cases invoked by run(). More... | |
virtual const char * | getName () const |
テストの名前を返す。 Returns the test name. More... | |
virtual cu_String | toString () const |
文字列に変換する。 Description of the test, for diagnostic output. More... | |
Protected Attributes | |
Test * | m_test |
TestDecorator provides an alternate means to extend functionality
of a test class without subclassing the test.
Instead, one can subclass the decorater and use it to wrap the test class.
保有する Test のライフサイクルを管理する。
|
コンストラクタ。.
|
|
デストラクタ。.
|
|
テストを実行し、結果を集める。
Reimplemented from cppunit::Test. Reimplemented in cppunit::RepeatedTest, and cppunit::TestSetup. |
|
テストケースの個数を返す。
The base unit of testing is the class TestCase. Reimplemented from cppunit::Test. Reimplemented in cppunit::RepeatedTest. |
|
テストの名前を返す。 Each test has a name. This name may be used to find the test in a suite of tests. Reimplemented from cppunit::Test. |
|
文字列に変換する。
The test description will typically include the test name, but may have additional description. Reimplemented from cppunit::Test. Reimplemented in cppunit::RepeatedTest. |
|
|