クラス LongRunningIntegrationTest

java.lang.ObjectSE
org.junit.rules.TestWatcher
org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
実装されたすべてのインターフェース:
org.junit.rules.TestRule

public class LongRunningIntegrationTest extends org.junit.rules.TestWatcher
長時間実行されるテストがすべてのビルドで実行されないようにするルール。カバレッジを確保するために、CI ナイトリービルドで環境変数 RUN_LONG_INTEGRATION_TESTS を設定します。
導入:
1.2.1
作成者:
Gary Russell, Artem Bilan
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    static final StringSE
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    カスタム変数 / プロパティ名を使用してチェックします。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
    boolean
    テストを実行する必要がある場合は true を返します。

    クラス org.junit.rules.TestWatcher から継承されたメソッド

    failed, finished, skipped, skipped, starting, succeeded

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • フィールドの詳細

  • コンストラクターの詳細

    • LongRunningIntegrationTest

      public LongRunningIntegrationTest()
    • LongRunningIntegrationTest

      public LongRunningIntegrationTest(StringSE property)
      カスタム変数 / プロパティ名を使用してチェックします。
      パラメーター:
      property - 変数 / プロパティ名。
      導入:
      2.0.2
  • メソッドの詳細

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      次で指定:
      インターフェース org.junit.rules.TestRuleapply 
      オーバーライド:
      クラス org.junit.rules.TestWatcherapply 
    • isShouldRun

      public boolean isShouldRun()
      テストを実行する必要がある場合は true を返します。
      戻り値:
      実行するのは本当です。