クラス ReactorContextTestExecutionListener

java.lang.ObjectSE
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.security.test.context.support.ReactorContextTestExecutionListener
実装されたすべてのインターフェース:
org.springframework.core.Orderedorg.springframework.test.context.TestExecutionListener

public class ReactorContextTestExecutionListener extends org.springframework.test.context.support.AbstractTestExecutionListener
TestSecurityContextHolder からの認証を使用して Reactor コンテキストをセットアップし、テストの最後に Reactor コンテキストをクリアします。
導入:
5.0
関連事項:
  • コンストラクターの詳細

    • ReactorContextTestExecutionListener

      public ReactorContextTestExecutionListener()
  • メソッドの詳細

    • getOrder

      public int getOrder()
      11000 を返します。
      次で指定:
      インターフェース org.springframework.core.OrderedgetOrder 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenergetOrder 
    • beforeTestClass

      public void beforeTestClass(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerbeforeTestClass 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerbeforeTestClass 
      例外:
      ExceptionSE
    • prepareTestInstance

      public void prepareTestInstance(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerprepareTestInstance 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerprepareTestInstance 
      例外:
      ExceptionSE
    • beforeTestMethod

      public void beforeTestMethod(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerbeforeTestMethod 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerbeforeTestMethod 
      例外:
      ExceptionSE
    • beforeTestExecution

      public void beforeTestExecution(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerbeforeTestExecution 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerbeforeTestExecution 
      例外:
      ExceptionSE
    • afterTestExecution

      public void afterTestExecution(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerafterTestExecution 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerafterTestExecution 
      例外:
      ExceptionSE
    • afterTestMethod

      public void afterTestMethod(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerafterTestMethod 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerafterTestMethod 
      例外:
      ExceptionSE
    • afterTestClass

      public void afterTestClass(org.springframework.test.context.TestContext testContext) throws ExceptionSE
      次で指定:
      インターフェース org.springframework.test.context.TestExecutionListenerafterTestClass 
      オーバーライド:
      クラス org.springframework.test.context.support.AbstractTestExecutionListenerafterTestClass 
      例外:
      ExceptionSE