Interface SimpleCell
- All Known Implementing Classes:
AbstractSimpleCell,AndCell,EmptyCell,ImageCell,LinkCell,NotCell,OrCell,StrictTextCell,TextCell
public interface SimpleCell
This is interface should be implemented for simple conditional checks to be used
in
.
invalid reference
com.atlassian.jira.webtests.JIRAWebTest#tableRowEquals(com.meterware.httpunit.WebTable, int, java.util.List)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(com.meterware.httpunit.WebTable table, int row, int col) Checks if the cell table[row][col] is equal to this cellgetCellAsText(com.meterware.httpunit.WebTable table, int row, int col) WebTable.getCellAsText(int, int)returns the text of the cell only.
-
Method Details
-
getCellAsText
WebTable.getCellAsText(int, int)returns the text of the cell only. Using this in log statements is often useless because it does not give interesting information. Eg.ImageCellwill return the cells information about the image rather than the text.- Parameters:
table- tablerow- row index (starting from 0)col- col index (starting from 0)- Returns:
- String representing the WebTable cell that is interesting to this SimpleCell
-
equals
boolean equals(com.meterware.httpunit.WebTable table, int row, int col) Checks if the cell table[row][col] is equal to this cell- Parameters:
table- tablerow- row index (starting from 0)col- col index (starting from 0)- Returns:
- true if the referenced cell is equal to this cell, false otherwise
-