Interface ExecutableSection

All Known Implementing Classes:
Assertion, CloseToAssertion, ContainsAssertion, DoSection, GreaterThanAssertion, GreaterThanEqualToAssertion, IsFalseAssertion, IsTrueAssertion, LengthAssertion, LessThanAssertion, LessThanOrEqualToAssertion, MatchAssertion, SetSection, TransformAndSetSection

public interface ExecutableSection
Represents a test fragment that can be executed (e.g. api call, assertion)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<org.elasticsearch.xcontent.NamedXContentRegistry.Entry>
    Default list of ExecutableSections available for tests.
    static final org.elasticsearch.xcontent.NamedXContentRegistry
    NamedXContentRegistry that parses the default list of ExecutableSections available for tests.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the section passing in the execution context
    org.elasticsearch.xcontent.XContentLocation
    Get the location in the test that this was defined.
    parse(org.elasticsearch.xcontent.XContentParser parser)
     
  • Field Details

    • DEFAULT_EXECUTABLE_CONTEXTS

      static final List<org.elasticsearch.xcontent.NamedXContentRegistry.Entry> DEFAULT_EXECUTABLE_CONTEXTS
      Default list of ExecutableSections available for tests.
    • XCONTENT_REGISTRY

      static final org.elasticsearch.xcontent.NamedXContentRegistry XCONTENT_REGISTRY
      NamedXContentRegistry that parses the default list of ExecutableSections available for tests.
  • Method Details