iutest
1.17.1.0
|
テスト結果を示すクラス [詳解]
#include <iutest_result.hpp>
公開型 | |
enum | Type { kAssumeFailure = -3, kSkip = -2, kWarning = -1, kSuccess, kNonFatalFailure, kFatalFailure } |
結果のタイプ [詳解] | |
公開メンバ関数 | |
TestPartResult (const char *file, int line, const char *message, Type type) | |
コンストラクタ [詳解] | |
bool | failed () const IUTEST_CXX_NOEXCEPT_SPEC |
失敗かどうか | |
bool | passed () const IUTEST_CXX_NOEXCEPT_SPEC |
成功かどうか | |
bool | warning () const IUTEST_CXX_NOEXCEPT_SPEC |
警告かどうか | |
bool | skipped () const IUTEST_CXX_NOEXCEPT_SPEC |
スキップかどうか | |
bool | assume_failed () const IUTEST_CXX_NOEXCEPT_SPEC |
前提条件エラーかどうか | |
bool | succeeded () const IUTEST_CXX_NOEXCEPT_SPEC |
成功かどうか(警告を除く) | |
bool | nonfatally_failed () const IUTEST_CXX_NOEXCEPT_SPEC |
致命的ではない失敗かどうか | |
bool | fatally_failed () const IUTEST_CXX_NOEXCEPT_SPEC |
致命的な失敗かどうか | |
const char * | summary () const |
理由 | |
Type | type () const IUTEST_CXX_NOEXCEPT_SPEC |
結果のタイプ取得 | |
静的公開メンバ関数 | |
static bool | type_is_failed (Type type) IUTEST_CXX_NOEXCEPT_SPEC |
失敗かどうか | |
テスト結果を示すクラス
|
inline |
コンストラクタ
[in] | file | = ファイル名 |
[in] | line | = 行番号 |
[in] | message | = メッセージ |
[in] | type | = 結果のタイプ |