クラス 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 StringSE
RUN_LONG_INTEGRATION_TESTS
コンストラクターのサマリー
コンストラクター コンストラクター 説明 LongRunningIntegrationTest()
LongRunningIntegrationTest(StringSE property)
カスタム変数 / プロパティ名を使用してチェックします。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
boolean
isShouldRun()
テストを実行する必要がある場合は true を返します。
コンストラクターの詳細
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.TestRule
のapply
- オーバーライド:
- クラス
org.junit.rules.TestWatcher
のapply
isShouldRun
public boolean isShouldRun()
テストを実行する必要がある場合は true を返します。- 戻り値:
- 実行するのは本当です。