Class STNodeAssembly

All Implemented Interfaces:
Serializable, Cloneable, Iterable<STNode>, Collection<STNode>, List<STNode>, RandomAccess, SequencedCollection<STNode>

public class STNodeAssembly extends ArrayList<STNode>

A STNodeAssembly is a sequence of STNodes. This is meant to group sets of test data together into a single cohesive specification which contains its own set of documentation, examples, and full-content validation. As such, the markdown which provides the specification should be usable directly as detailed user-facing documentation.

The method of discovery, assembly, and validation of a STNodeAssembly is determined by the testing harness assembled around it. In any case, the type of presentation structure and validation logic that accompanies a given assembly should be self-evident, and documented clearly within the surrounding markdown.

See Also:
  • Constructor Details

    • STNodeAssembly

      public STNodeAssembly(STNode... testsets)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class AbstractCollection<STNode>
    • getAsNameAndCodeTuples

      public STNamedCodeTuples getAsNameAndCodeTuples()
    • getDescription

      public String getDescription(int index)
    • getDescription

      public String getDescription()
    • getAsText

      public String getAsText(int index)
    • getPath

      public Path getPath()
    • getRefNode

      public com.vladsch.flexmark.util.ast.Node getRefNode(int index)