|
||||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| InternalTestContext を使用しているパッケージ | |
|---|---|
| org.seasar.framework.unit | S2コンテナと連動するテスト機能を提供します。 |
| org.seasar.framework.unit.impl | S2コンテナと連動するテスト機能の実装クラスを提供します。 |
| org.seasar.framework.unit での InternalTestContext の使用 |
|---|
| InternalTestContext として宣言されている org.seasar.framework.unit のフィールド | |
|---|---|
protected InternalTestContext |
S2TestMethodRunner.testContext
S2JUnit4の内部的なテストコンテキスト |
| InternalTestContext 型のパラメータを持つ org.seasar.framework.unit のメソッド | |
|---|---|
void |
S2TestIntrospector.createMock(Method method,
Object test,
InternalTestContext context)
MockInterceptorを利用したモックを作成します。 |
| org.seasar.framework.unit.impl での InternalTestContext の使用 |
|---|
| InternalTestContext を実装している org.seasar.framework.unit.impl のクラス | |
|---|---|
class |
InternalTestContextImpl
テスト内でServlet、JTA、EJB3のAPIを利用することが可能なテストコンテキストです。 |
class |
SimpleInternalTestContext
Servlet、JTA、EJB3のAPIに依存せずにS2JUnit4を実行可能にするシンプルなテストコンテキストです。 |
| InternalTestContext 型のパラメータを持つ org.seasar.framework.unit.impl のメソッド | |
|---|---|
void |
AnnotationTestIntrospector.createMock(Method method,
Object test,
InternalTestContext context)
|
protected void |
AnnotationTestIntrospector.createMock(Mock mock,
Method method,
Object test,
InternalTestContext context)
mockからモックインターセプターを作成し、contextに登録します。 |
|
||||||||||
| 前 次 | フレームあり フレームなし | |||||||||