Class SkipSection
java.lang.Object
org.elasticsearch.test.rest.yaml.section.SkipSection
Represents a skip section that tells whether a specific test section or suite needs to be skipped
based on:
- the elasticsearch version the tests are running against
- a specific test feature required that might not be implemented yet by the runner
- an operating system (full name, including specific Linux distributions) that might show a certain behavior
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSkipMessage
(String description) boolean
isEmpty()
boolean
static SkipSection
parse
(org.elasticsearch.xcontent.XContentParser parser) static SkipSection
parseIfNext
(org.elasticsearch.xcontent.XContentParser parser) boolean
boolean
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SkipSection
-
-
Method Details
-
parseIfNext
public static SkipSection parseIfNext(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
parse
public static SkipSection parse(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getLowerVersion
-
getUpperVersion
-
getFeatures
-
getOperatingSystems
-
getReason
-
skip
-
skip
-
isVersionCheck
public boolean isVersionCheck() -
isEmpty
public boolean isEmpty() -
getSkipMessage
-