|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectts.tester.function.print.AbstractPrinter
ts.tester.function.print.ConsolePrinterBase
ts.tester.function.print.ConsolePrinter
public class ConsolePrinter
機能試験結果をコンソール出力する
ConsolePrinterBase
クラスを、カバレッジ計測結果も出力するように拡張したクラス。
フィールドの概要 |
---|
インタフェース ts.tester.coverage.CoveragePrinter から継承されたフィールド |
---|
NULL |
コンストラクタの概要 | |
---|---|
ConsolePrinter()
デフォルトコンストラクタ。 |
|
ConsolePrinter(java.io.PrintWriter writer)
出力オブジェクトを引数にとるコンストラクタ。 |
メソッドの概要 | |
---|---|
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)
カバレッジ計測の準備処理を実行する。 |
protected void |
printLineCoverage(LineCoverage coverage)
行カバレッジの計測結果を表示する。 |
クラス ts.tester.function.print.ConsolePrinterBase から継承されたメソッド |
---|
caseEnded, caseStarted, checkOccured, createCaseResult, messageNoted, testEnded, testStarted, writer |
クラス ts.tester.function.print.AbstractPrinter から継承されたメソッド |
---|
isStopped, setStopped, testStopped |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ConsolePrinter()
public ConsolePrinter(java.io.PrintWriter writer)
writer
- 出力オブジェクト。
java.lang.AssertionError
- 引数がヌルの場合(デバッグモードのみ)。メソッドの詳細 |
---|
public void prepareCoverage(Coverage coverage)
CoveragePrinter
内の prepareCoverage
coverage
- カバレッジ計測オブジェクト。public void postCoverage(Coverage coverage)
CoveragePrinter
内の postCoverage
coverage
- カバレッジ計測オブジェクト。
java.lang.AssertionError
- 引数がヌルの場合(デバッグモードのみ)。public void entryClass(com.sun.jdi.ReferenceType refType)
CoveragePrinter
内の entryClass
refType
- 登録されたクラス又はインターフェイスを示す
ReferenceType
オブジェクト。
java.lang.AssertionError
- 引数がヌルの場合(デバッグモードのみ)。public void entryLine(com.sun.jdi.Location location)
CoveragePrinter
内の entryLine
location
- 登録された行を示すLocation
オブジェクト。public void entryMethod(com.sun.jdi.Method method)
CoveragePrinter
内の entryMethod
method
- 呼び出されたメソッドを示すMethod
オブジェクト。public void exitMethod(com.sun.jdi.Method method)
CoveragePrinter
内の exitMethod
method
- 終了したメソッドを示すMethod
オブジェクト。public void passLine(com.sun.jdi.Location location)
CoveragePrinter
内の passLine
location
- 通過した行を示すLocation
オブジェクト。protected void printLineCoverage(LineCoverage coverage)
coverage
- LineCoverage
オブジェクト。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |