FormattedGeneratorReporter
public abstract class FormattedGeneratorReporter
extends SuiteResultReporter
implements IConfigurationReceiver
java.lang.オブジェクト | |||
↳ | com.android.tradefed.result.CollectingTestListener | ||
↳ | com.android.tradefed.result.suite.SuiteResultReporter | ||
↳ | com.android.tradefed.result.suite.FormattedGeneratorReporter |
特定の形式でレポートを生成できるレポーター。 TODO: ログファイルを修正する
まとめ
パブリックコンストラクター | |
---|---|
FormattedGeneratorReporter () |
パブリックメソッド | |
---|---|
abstract IFormatterGenerator | createFormatter () 使用する |
abstract void | finalizeResults ( IFormatterGenerator generator, SuiteResultHolder resultHolder) フォーマットされた結果を生成するために |
final IConfiguration | getConfiguration () |
final void | invocationEnded (long elapsedTime) 正常に終了したか、何らかのエラー条件により呼び出しが終了したことを報告します。 |
void | invocationFailed ( FailureDescription failure) |
void | invocationFailed (Throwable cause) 何らかのエラー状態が原因で不完全な呼び出しを報告します。 |
final void | setConfiguration ( IConfiguration configuration) 使用中の |
パブリックコンストラクター
FormattedGeneratorReporter
public FormattedGeneratorReporter ()
パブリックメソッド
フォーマッターの作成
public abstract IFormatterGenerator createFormatter ()
使用するIFormatterGenerator
の新しいインスタンスを返します。
戻り値 | |
---|---|
IFormatterGenerator |
終了結果
public abstract void finalizeResults (IFormatterGenerator generator, SuiteResultHolder resultHolder)
フォーマットされた結果を生成するためにIFormatterGenerator
とSuiteResultHolder
の使用を処理するステップ。
呼び出し終了
public final void invocationEnded (long elapsedTime)
正常に終了したか、何らかのエラー条件により呼び出しが終了したことを報告します。
TradeFederation フレームワークによって自動的に呼び出されます。パラメーター | |
---|---|
elapsedTime | long : 呼び出しの経過時間 (ミリ秒) |
呼び出し失敗
public void invocationFailed (Throwable cause)
何らかのエラー状態が原因で不完全な呼び出しを報告します。
TradeFederation フレームワークによって自動的に呼び出されます。パラメーター | |
---|---|
cause | Throwable : Throwable の失敗の原因 |
set構成
public final void setConfiguration (IConfiguration configuration)
使用中のIConfiguration
を挿入します。
パラメーター | |
---|---|
configuration | IConfiguration |