#include <TestResult.h>
Inheritance diagram for LampUnit::TestResult:

Public Member Functions | |
| TestResult (SynchronizationObject *synchronizationObject=0) | |
| コンストラクタ | |
| virtual | ~TestResult () |
| デストラクタ | |
| virtual void | startTest (Test *test) |
| テストの開始 | |
| virtual void | endTest (Test *test) |
| テストの終了 | |
| virtual void | addFailure (const TestFailure &failure) |
| 失敗の追加 | |
| virtual void | addListener (TestListener *testListener) |
| テストリスナの追加 | |
| virtual void | stop () |
| テストの停止 | |
| virtual bool | shouldStop () const |
| テストを停止するべきか | |
| virtual int | getRunCount () const |
| 実行カウントの取得 | |
| virtual int | getFailureCount () const |
| 失敗カウントの取得 | |
| virtual bool | wasSuccessful () const |
| 成功したかどうか | |
Protected Types | |
| typedef Lamp::ArrayList< TestListener * > | TestListeners |
| テストリスナ配列型 | |
Protected Attributes | |
| TestListeners | testListeners_ |
| テストリスナ配列 | |
| bool | shouldStop_ |
| 停止フラグ | |
| int | executeCount_ |
| 実行数 | |
| int | failedCount_ |
| 失敗数 | |
Definition at line 41 of file TestResult.h.
|
|
コンストラクタ
Definition at line 33 of file TestResult.cpp. |
|
|
失敗の追加
Definition at line 76 of file TestResult.cpp. References failedCount_, LampUnit::SynchronizedObject::synchronizationObject_, and testListeners_. Referenced by LampUnit::TestCase::addFailure(). |
|
|
テストリスナの追加
Definition at line 51 of file TestResult.cpp. References LampUnit::SynchronizedObject::synchronizationObject_, and testListeners_. |
|
|
テストの終了
Definition at line 67 of file TestResult.cpp. References LampUnit::SynchronizedObject::synchronizationObject_, and testListeners_. Referenced by LampUnit::TestCase::run(). |
|
|
失敗カウントの取得
Definition at line 92 of file TestResult.cpp. References failedCount_, and LampUnit::SynchronizedObject::synchronizationObject_. |
|
|
実行カウントの取得
Definition at line 86 of file TestResult.cpp. References executeCount_, and LampUnit::SynchronizedObject::synchronizationObject_. |
|
|
テストを停止するべきか
Definition at line 45 of file TestResult.cpp. References shouldStop_, and LampUnit::SynchronizedObject::synchronizationObject_. Referenced by LampUnit::TestSuite::run(). |
|
|
テストの開始
Definition at line 57 of file TestResult.cpp. References executeCount_, LampUnit::SynchronizedObject::synchronizationObject_, and testListeners_. Referenced by LampUnit::TestCase::run(). |
|
|
成功したかどうか
Definition at line 101 of file TestResult.cpp. References failedCount_, and LampUnit::SynchronizedObject::synchronizationObject_. |
1.3.2