クラス ApplicationContextTestUtils

java.lang.ObjectSE
org.springframework.boot.test.util.ApplicationContextTestUtils

public abstract class ApplicationContextTestUtils extends ObjectSE
アプリケーションコンテキスト関連のテストユーティリティ。
導入:
1.4.0
作成者:
Stephane Nicoll
  • コンストラクターの詳細

    • ApplicationContextTestUtils

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

    • closeAll

      public static void closeAll(ApplicationContext context)
      この ApplicationContext とその親階層がある場合はそれを閉じます。
      パラメーター:
      context - 閉じるコンテキスト (null にすることができます)