Class LongRunningIntegrationTest

java.lang.Object
org.junit.rules.TestWatcher
org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
All Implemented Interfaces:
org.junit.rules.TestRule

@Deprecated(since="4.0", forRemoval=true) public class LongRunningIntegrationTest extends org.junit.rules.TestWatcher
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0 in favor of JUnit 5 LongRunning.
Rule to prevent long-running tests from running on every build; set environment variable RUN_LONG_INTEGRATION_TESTS on a CI nightly build to ensure coverage.
Since:
1.2.1
Author:
Gary Russell, Artem Bilan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check using a custom variable/property name.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return true if the test should run.

    Methods inherited from class org.junit.rules.TestWatcher

    failed, finished, skipped, skipped, starting, succeeded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RUN_LONG_INTEGRATION_TESTS

      public static final String RUN_LONG_INTEGRATION_TESTS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • LongRunningIntegrationTest

      public LongRunningIntegrationTest()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LongRunningIntegrationTest

      public LongRunningIntegrationTest(String property)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check using a custom variable/property name.
      Parameters:
      property - the variable/property name.
      Since:
      2.0.2
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      apply in interface org.junit.rules.TestRule
      Overrides:
      apply in class org.junit.rules.TestWatcher
    • isShouldRun

      public boolean isShouldRun()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return true if the test should run.
      Returns:
      true to run.