#include <Test.h>
Inheritance diagram for cppunit::Test::
Public Methods | |
virtual | ~Test () |
デストラクタ。. More... | |
virtual void | run (TestResult *result)=0 |
テストを実行し、結果を集める。 Run the test, collecting results. More... | |
virtual int | countTestCases () const=0 |
テストケースの個数を返す。 Return the number of test cases invoked by run(). More... | |
virtual const char * | getName () const=0 |
テストの名前を返す。 Returns the test name. More... | |
virtual cu_String | toString () const=0 |
文字列に変換する。 Description of the test, for diagnostic output. More... |
All test objects should be a subclass of Test.
Some test objects, TestCase for example, represent one individual test.
Other test objects, such as TestSuite, are comprised of several tests.
When a Test is run, the result is collected by a TestResult object.
|
デストラクタ。.
|
|
テストを実行し、結果を集める。
Reimplemented in cppunit::RepeatedTest, cppunit::TestCaller, cppunit::TestCase, cppunit::TestDecorator, cppunit::TestSetup, and cppunit::TestSuite. |
|
テストケースの個数を返す。
The base unit of testing is the class TestCase. Reimplemented in cppunit::RepeatedTest, cppunit::TestCaller, cppunit::TestCase, cppunit::TestDecorator, and cppunit::TestSuite. |
|
テストの名前を返す。 Each test has a name. This name may be used to find the test in a suite of tests. Reimplemented in cppunit::TestCaller, cppunit::TestCase, cppunit::TestDecorator, and cppunit::TestSuite. |
|
文字列に変換する。
The test description will typically include the test name, but may have additional description. Reimplemented in cppunit::RepeatedTest, cppunit::TestCaller, cppunit::TestCase, cppunit::TestDecorator, and cppunit::TestSuite. |