クラス ReactorContextTestExecutionListener
java.lang.ObjectSE
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.security.test.context.support.ReactorContextTestExecutionListener
- 実装されたすべてのインターフェース:
org.springframework.core.Ordered
,org.springframework.test.context.TestExecutionListener
public class ReactorContextTestExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
TestSecurityContextHolder からの認証を使用して Reactor コンテキストをセットアップし、テストの最後に Reactor コンテキストをクリアします。
フィールドサマリー
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
afterTestClass
(org.springframework.test.context.TestContext testContext) void
afterTestExecution
(org.springframework.test.context.TestContext testContext) void
afterTestMethod
(org.springframework.test.context.TestContext testContext) void
beforeTestClass
(org.springframework.test.context.TestContext testContext) void
beforeTestExecution
(org.springframework.test.context.TestContext testContext) void
beforeTestMethod
(org.springframework.test.context.TestContext testContext) int
getOrder()
11000
を返します。void
prepareTestInstance
(org.springframework.test.context.TestContext testContext)
コンストラクターの詳細
ReactorContextTestExecutionListener
public ReactorContextTestExecutionListener()
メソッドの詳細
getOrder
public int getOrder()11000
を返します。- 次で指定:
- インターフェース
org.springframework.core.Ordered
のgetOrder
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のgetOrder
beforeTestClass
public void beforeTestClass(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のbeforeTestClass
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のbeforeTestClass
- 例外:
ExceptionSE
prepareTestInstance
public void prepareTestInstance(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のprepareTestInstance
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のprepareTestInstance
- 例外:
ExceptionSE
beforeTestMethod
public void beforeTestMethod(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のbeforeTestMethod
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のbeforeTestMethod
- 例外:
ExceptionSE
beforeTestExecution
public void beforeTestExecution(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のbeforeTestExecution
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のbeforeTestExecution
- 例外:
ExceptionSE
afterTestExecution
public void afterTestExecution(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のafterTestExecution
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のafterTestExecution
- 例外:
ExceptionSE
afterTestMethod
public void afterTestMethod(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のafterTestMethod
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のafterTestMethod
- 例外:
ExceptionSE
afterTestClass
public void afterTestClass(org.springframework.test.context.TestContext testContext) throws ExceptionSE - 次で指定:
- インターフェース
org.springframework.test.context.TestExecutionListener
のafterTestClass
- オーバーライド:
- クラス
org.springframework.test.context.support.AbstractTestExecutionListener
のafterTestClass
- 例外:
ExceptionSE