public abstract class TestContextEvent extends ApplicationEvent
EventPublishingTestExecutionListener
によって発行されたイベントの基本クラス。sourceSE
コンストラクターと説明 |
---|
TestContextEvent(TestContext source) 新しい TestContextEvent を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
TestContext | getSource() このイベントに関連付けられている TestContext を取得します。 |
TestContext | getTestContext() getSource() のエイリアス。 |
getTimestamp
toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public TestContextEvent(TestContext source)
TestContextEvent
を作成します。source
- このイベントに関連付けられている TestContext
(null
であってはなりません)public final TestContext getSource()
TestContext
を取得します。EventObjectSE
の getSourceSE
TestContext
(非 null
)getTestContext()
public final TestContext getTestContext()
getSource()
のエイリアス。 この方法は、getSource()
よりも好まれる可能性があります。たとえば、イベント処理条件の SpEL 式の可読性を向上させるためです。
TestContext
(非 null
)getSource()