Skip to content

Commit

Permalink
Add documentation to #getTableRowValues and #getTableValues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Korpela committed Feb 21, 2013
1 parent 997b118 commit a8dda06
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,19 @@ public Object[] getTableColumnValues(String identifier, String columnIdentifier)
return createTableOperator(identifier).getColumnValues(columnIdentifier);
}

@RobotKeyword("")
@RobotKeyword("Returns a list containing all the values of a table row.\n\n"
+ "Example:\n"
+ "| _${rowValues}=_ | Get Table Row Values | _myTable_ | _2_ |\n"
+ "| Should Contain | _${expectedValue}_ | _${rowValues}_ |\n")
@ArgumentNames({"identifier", "row"})
public Object[] getTableRowValues(String identifier, int row) {
return createTableOperator(identifier).getRowValues(row);
}

@RobotKeyword("")
@RobotKeyword("Returns a list of table rows containing all the values of a table.\n\n"
+ "Example:\n"
+ "| _${tableValues}=_ | Get Table Values | _myTable_ | _rowThree_ |\n"
+ "| Should Be Equal | _${expectedValue}_ | _${tableValues[1][2]}_ |\n")
@ArgumentNames({"identifier"})
public Object[][] getTableValues(String identifier) {
return createTableOperator(identifier).getTableValues();
Expand Down

0 comments on commit a8dda06

Please sign in to comment.