|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.junitcdi.core.event.TestInfo
public class TestInfo
実行中のテストの情報です.
| フィールドの概要 | |
|---|---|
protected Bean<?> |
bean
テストクラスのbean定義 |
protected Description |
description
テストの記述 |
protected Object |
instance
テストのインスタンス |
protected Method |
method
テストメソッド |
protected Throwable |
throwable
テストメソッドがスローした例外 |
| コンストラクタの概要 | |
|---|---|
TestInfo(Description description,
Bean<?> bean,
Object instance)
インスタンスを構築します. |
|
TestInfo(Description description,
Bean<?> bean,
Object instance,
Method method)
インスタンスを構築します. |
|
TestInfo(Description description,
Bean<?> bean,
Object instance,
Method method,
Throwable throwable)
インスタンスを構築します. |
|
| メソッドの概要 | |
|---|---|
Bean<?> |
getBean()
テストクラスのbean定義を返します. |
Description |
getDescription()
テストの記述を返します. |
Class<? extends Throwable> |
getExpectedException()
テストメソッドが期待する例外を返します. |
Object |
getInstance()
テストのインスタンスを返します. |
Method |
getMethod()
テストメソッドを返します. |
Throwable |
getThrowable()
テストメソッドがスローした例外を返します. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final Description description
protected final Bean<?> bean
protected final Object instance
protected final Method method
protected final Throwable throwable
| コンストラクタの詳細 |
|---|
public TestInfo(Description description,
Bean<?> bean,
Object instance)
description - テストの記述bean - テストクラスのbean定義instance - テストのインスタンス
public TestInfo(Description description,
Bean<?> bean,
Object instance,
Method method)
description - テストの記述bean - テストクラスのbean定義instance - テストのインスタンスmethod - テストメソッド
public TestInfo(Description description,
Bean<?> bean,
Object instance,
Method method,
Throwable throwable)
description - テストの記述bean - テストクラスのbean定義instance - テストのインスタンスmethod - テストメソッドthrowable - テストメソッドがスローした例外| メソッドの詳細 |
|---|
public Description getDescription()
public Bean<?> getBean()
public Object getInstance()
public Method getMethod()
public Class<? extends Throwable> getExpectedException()
public Throwable getThrowable()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||