Class QueryLimitsTestInjectionRule

java.lang.Object
org.apache.solr.util.QueryLimitsTestInjectionRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class QueryLimitsTestInjectionRule extends Object implements org.junit.rules.TestRule
  • Constructor Details

    • QueryLimitsTestInjectionRule

      public QueryLimitsTestInjectionRule(BooleanSupplier enableSupplier)
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule
    • disable

      public static void disable()
      Disables for the whole test suite (class), not just for this individual test.