ts.tester.coverage
インタフェース CoveragePrinter

既知の実装クラスの一覧:
ConsolePrinter, HtmlPrinter, PrinterGroup

public interface CoveragePrinter

カバレッジの計測結果を出力するためのメソッドを宣言したインターフェイス。

バージョン:
$Revision: 1.2 $, $Date: 2007/02/16 16:12:48 $
作成者:
佐藤隆之.

フィールドの概要
static CoveragePrinter NULL
          このインターフェイスのヌル・オブジェクト。
 
メソッドの概要
 void entryClass(com.sun.jdi.ReferenceType refType)
          クラスの登録時に呼び出されるメソッド。
 void entryLine(com.sun.jdi.Location location)
          行の登録時に呼び出されるメソッド。
 void entryMethod(com.sun.jdi.Method method)
          メソッド呼び出し時に呼び出されるメソッド。
 void exitMethod(com.sun.jdi.Method method)
          メソッド終了時に呼び出されるメソッド。
 void passLine(com.sun.jdi.Location location)
          行の通過時に呼び出されるメソッド。
 void postCoverage(Coverage coverage)
          カバレッジ計測の後処理を実行する。
 void prepareCoverage(Coverage coverage)
          カバレッジ計測の準備処理を実行する。
 

フィールドの詳細

NULL

static final CoveragePrinter NULL
このインターフェイスのヌル・オブジェクト。

メソッドの詳細

prepareCoverage

void prepareCoverage(Coverage coverage)
カバレッジ計測の準備処理を実行する。

パラメータ:
coverage - カバレッジ計測オブジェクト。

postCoverage

void postCoverage(Coverage coverage)
カバレッジ計測の後処理を実行する。

パラメータ:
coverage - カバレッジ計測オブジェクト。

entryClass

void entryClass(com.sun.jdi.ReferenceType refType)
クラスの登録時に呼び出されるメソッド。

パラメータ:
refType - 登録されたクラス又はインターフェイスを示す ReferenceTypeオブジェクト。

entryLine

void entryLine(com.sun.jdi.Location location)
行の登録時に呼び出されるメソッド。

パラメータ:
location - 登録された行を示すLocation オブジェクト。

entryMethod

void entryMethod(com.sun.jdi.Method method)
メソッド呼び出し時に呼び出されるメソッド。

パラメータ:
method - 呼び出されたメソッドを示すMethod オブジェクト。

exitMethod

void exitMethod(com.sun.jdi.Method method)
メソッド終了時に呼び出されるメソッド。

パラメータ:
method - 終了したメソッドを示すMethod オブジェクト。

passLine

void passLine(com.sun.jdi.Location location)
行の通過時に呼び出されるメソッド。

パラメータ:
location - 通過した行を示すLocation オブジェクト。


Copyright (C) SATOH Takayuki All Rights Reserved.