Package org.elasticsearch.test
Class SkipInFIPSMode
java.lang.Object
org.elasticsearch.test.SkipInFIPSMode
- All Implemented Interfaces:
org.junit.rules.TestRule
A TestRule that skips respective tests when FIPS mode is enabled rather than the entire test configuration as
typically done using the following Gradle snippet:
tasks.named("javaRestTest") {
buildParams.withFipsEnabledOnly(it)
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Constructor Details
-
SkipInFIPSMode
public SkipInFIPSMode()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-