public class StrictTextCell extends AbstractSimpleCell
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.
Constructor and Description |
---|
StrictTextCell(String expectedText) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(com.meterware.httpunit.WebTable table,
int row,
int col)
Checks if the cell table[row][col] is equal to this cell
|
String |
toString() |
getCellAsText, log
public StrictTextCell(String expectedText)
public boolean equals(com.meterware.httpunit.WebTable table, int row, int col)
SimpleCell
table
- tablerow
- row index (starting from 0)col
- col index (starting from 0)Copyright © 2002-2024 Atlassian. All Rights Reserved.