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

LampUnit::Test Class Reference

テスト More...

#include <Test.h>

Inheritance diagram for LampUnit::Test:

LampUnit::TestCase LampUnit::TestDecorator LampUnit::TestSuite LampUnit::TestSetup List of all members.

Public Member Functions

virtual ~Test ()
 デストラクタ

virtual void run (TestResult *result)=0
 テストを実行する

virtual int getCountTestCases () const=0
 テストケースの個数を取得

virtual const Lamp::String & getName () const=0
 テストの名前を取得

virtual const Lamp::String & toString () const=0
 テストを文字列に変換


Detailed Description

テスト

Definition at line 36 of file Test.h.


Member Function Documentation

virtual int LampUnit::Test::getCountTestCases  )  const [pure virtual]
 

テストケースの個数を取得

Returns:
テストケースの個数

Implemented in LampUnit::TestCase, LampUnit::TestDecorator, and LampUnit::TestSuite.

Referenced by LampUnit::TestDecorator::getCountTestCases().

virtual const Lamp::String& LampUnit::Test::getName  )  const [pure virtual]
 

テストの名前を取得

Returns:
テストの名前

Implemented in LampUnit::TestCase, LampUnit::TestDecorator, and LampUnit::TestSuite.

Referenced by LampUnit::TestDecorator::getName().

virtual void LampUnit::Test::run TestResult result  )  [pure virtual]
 

テストを実行する

Parameters:
result [out] テスト結果

Implemented in LampUnit::TestCase, LampUnit::TestDecorator, LampUnit::TestSetup, and LampUnit::TestSuite.

Referenced by LampUnit::TestDecorator::run().

virtual const Lamp::String& LampUnit::Test::toString  )  const [pure virtual]
 

テストを文字列に変換

Returns:
テストの文字列表記

Implemented in LampUnit::TestCase, LampUnit::TestDecorator, and LampUnit::TestSuite.

Referenced by LampUnit::TestFailure::toString(), and LampUnit::TestDecorator::toString().


The documentation for this class was generated from the following file:
Generated on Wed Mar 16 10:29:54 2005 for LampUnit by doxygen 1.3.2