public class RunBeforeTestClassCallbacks extends Statement
RunBeforeTestClassCallbacks
はカスタム JUnit Statement
であり、提供されている TestContextManager
で beforeTestClass()
を呼び出すことにより、Spring TestContext フレームワークを JUnit 実行チェーンにプラグインできます。evaluate()
, RunAfterTestMethodCallbacks
コンストラクターと説明 |
---|
RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager) 新しい RunBeforeTestClassCallbacks ステートメントを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | evaluate() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)
RunBeforeTestClassCallbacks
ステートメントを作成します。next
- 実行チェーンの次の Statement
testContextManager
- beforeTestClass()
を呼び出す TestContextManager public void evaluate() throws ThrowableSE
Statement
の evaluate
ThrowableSE