Class STNameCodeTuple
java.lang.Object
io.nosqlbench.nb.spectest.testmodels.STNameCodeTuple
A
STNameCodeTuple is a set of metadata that describes a test target from a
test specification file, in terms of Node sequences and context.
It contains naming and locating information as well as the document nodes containing
the target element.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSTNameCodeTuple(Supplier<CharSequence> desc, com.vladsch.flexmark.util.ast.Node infoNode, com.vladsch.flexmark.util.ast.Node dataNode, Path path) -
Method Summary
-
Field Details
-
info
-
text
-
-
Constructor Details
-
STNameCodeTuple
public STNameCodeTuple(Supplier<CharSequence> desc, com.vladsch.flexmark.util.ast.Node infoNode, com.vladsch.flexmark.util.ast.Node dataNode, Path path)
-
-
Method Details
-
getDesc
-
getPath
-
getLine
public int getLine() -
getRefNode
public com.vladsch.flexmark.util.ast.Node getRefNode() -
getLocationRef
Provide the logical path of the file being examined in this test set. If the system properties indicate that the test is being run from within intellij, the path will be relativized from the next module level up to allow for hot linking directly to files.- Returns:
- A useful relative path to the file being tested
-
toString
-
equals
-
hashCode
-