Package io.karatelabs.gherkin
Class Table
java.lang.Object
io.karatelabs.gherkin.Table
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TablefromKarateJson(List<Map<String, Object>> tableRows) getExampleData(int exampleIndex) getKeys()intgetLineNumberForRow(int i) getRawExampleData(int exampleIndex) Returns the verbatim cell text (keyed by column name) for the given example row.getRows()getValueAsString(String key, int row) booleantoJson()toString()
-
Constructor Details
-
Table
-
-
Method Details
-
getDynamicExpression
-
isDynamic
public boolean isDynamic() -
getKeys
-
getLineNumberForRow
public int getLineNumberForRow(int i) -
replace
-
getValueAsString
-
fromKarateJson
-
toJson
-
getRows
-
getRowsAsMaps
-
getRowsAsMapsConverted
-
getExampleData
-
getRawExampleData
Returns the verbatim cell text (keyed by column name) for the given example row. Used for<placeholder>substitution into step text: for!-suffixed (EVALUATED) columns the cell content is the JS expression source, so splicing it verbatim keeps quoted strings quoted and inline JSON valid in a match RHS context. -
toString
-