Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cppunit::RepeatedTest Class Reference

同じテストを繰り返し実行するデコレータ。
Decorator that runs a test repeatedly. More...

#include <RepeatedTest.h>

Inheritance diagram for cppunit::RepeatedTest::

cppunit::TestDecorator cppunit::Test List of all members.

Public Methods

 RepeatedTest (Test *test, int repeat)
 コンストラクタ。. 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 cu_String toString () const
 文字列に変換する。
Description of the test, for diagnostic output.
More...



Detailed Description

同じテストを繰り返し実行するデコレータ。
Decorator that runs a test repeatedly.

保有する Test のライフサイクルを管理する。


Constructor & Destructor Documentation

cppunit::RepeatedTest::RepeatedTest Test   test,
int    repeat
 

コンストラクタ。.

Parameters:
test  実行するテスト。
repeat  繰り返し回数。


Member Function Documentation

virtual void cppunit::RepeatedTest::run TestResult   result [virtual]
 

テストを実行し、結果を集める。
Run the test, collecting results.

Parameters:
result  テスト結果。

Reimplemented from cppunit::TestDecorator.

virtual int cppunit::RepeatedTest::countTestCases   const [virtual]
 

テストケースの個数を返す。
Return the number of test cases invoked by run().

The base unit of testing is the class TestCase.
This method returns the number of TestCase objects invoked by the run() method.

Reimplemented from cppunit::TestDecorator.

virtual cu_String cppunit::RepeatedTest::toString   const [virtual]
 

文字列に変換する。
Description of the test, for diagnostic output.

The test description will typically include the test name, but may have additional description.
For example, a test suite named ComplexTest may be described as suite ComplexTest.

Reimplemented from cppunit::TestDecorator.


The documentation for this class was generated from the following file:
Generated on Sun Mar 31 23:42:07 2002 for CppUnit-x by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001