クラス 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 StringSERUN_LONG_INTEGRATION_TESTS
コンストラクター概要
コンストラクター コンストラクター 説明 LongRunningIntegrationTest()LongRunningIntegrationTest(StringSE property)カスタム変数 / プロパティ名を使用してチェックします。
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)booleanisShouldRun()テストを実行する必要がある場合は 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 を返します。- 戻り値:
- 実行するのは本当です。