Class StrictTextCell
java.lang.Object
com.atlassian.jira.webtests.table.AbstractSimpleCell
com.atlassian.jira.webtests.table.StrictTextCell
- All Implemented Interfaces:
SimpleCell
An implementation of SimpleCell which will do a strict check for the expected text.
Compare this to TextCell which only checks that the String is contained anywhere in the actual text. This stricter test is sometimes required, eg to assert that one of the Cells is empty.
The comparison will ignore leading and trailing whitespace in the actual table.
- Since:
- v3.13
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.jira.webtests.table.AbstractSimpleCell
getCellAsText, log
-
Constructor Details
-
StrictTextCell
-
-
Method Details
-
equals
public boolean equals(com.meterware.httpunit.WebTable table, int row, int col) Description copied from interface:SimpleCellChecks 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
-
toString
-