クラス ProfileValueChecker

java.lang.ObjectSE
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.ProfileValueChecker

public class ProfileValueChecker extends Statement
ProfileValueChecker は、Spring の @IfProfileValue アノテーションを介して現在の環境でテストクラスまたはテストメソッドが有効になっているかどうかをチェックするカスタム JUnit Statement です。
導入:
4.2
作成者:
Sam Brannen, Philippe Marschall
関連事項:
  • コンストラクターの詳細

    • ProfileValueChecker

      public ProfileValueChecker(Statement next, ClassSE<?> testClass, @Nullable MethodSE testMethod)
      新しい ProfileValueChecker ステートメントを作成します。
      パラメーター:
      next - 実行チェーンの次の Statementnull
      testClass - チェックするテストクラス。null
      testMethod - チェックするテストメソッド。この ProfileValueChecker がクラスレベルで適用されている場合、null である可能性があります
  • メソッドの詳細