#include <TestStringListener.h>
Inheritance diagram for LampUnit::TestStringListener:
Public Member Functions | |
TestStringListener (const char *fileName="UnitTestLog.txt") | |
コンストラクタ | |
virtual | ~TestStringListener () |
デストラクタ | |
virtual void | startTest (Test *test) |
テスト開始 | |
virtual void | addFailure (const TestFailure &failure) |
失敗の追加 | |
virtual void | endTest (Test *test) |
テスト終了 | |
virtual void | print (const char *string) |
出力 | |
virtual void | printFormat (const char *format,...) |
フォーマット出力 |
Definition at line 40 of file TestStringListener.h.
|
コンストラクタ
Definition at line 35 of file TestStringListener.cpp. |
|
失敗の追加 メソッド終了後でもfailureの情報が必要な場合はfailureをコピーする。
Reimplemented from LampUnit::TestListener. Definition at line 55 of file TestStringListener.cpp. References print(), printFormat(), and LampUnit::TestFailure::toString(). |
|
テスト終了
Reimplemented from LampUnit::TestListener. Definition at line 61 of file TestStringListener.cpp. |
|
出力
Definition at line 65 of file TestStringListener.cpp. Referenced by addFailure(), printFormat(), and startTest(). |
|
フォーマット出力 可変長引数に対応したデバッグ出力メソッド。
Definition at line 75 of file TestStringListener.cpp. References print(). Referenced by addFailure(). |
|
テスト開始
Reimplemented from LampUnit::TestListener. Definition at line 48 of file TestStringListener.cpp. References print(). |