public class ImageCell extends AbstractSimpleCell
JIRAWebTest.tableRowEquals(com.meterware.httpunit.WebTable, int, java.util.List)
to check if an image with given url exists in a specified table cell.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(com.meterware.httpunit.WebTable table,
int row,
int col)
Checks if there are any image (<img src="url">) tag in the specified row and col (cell) of the
table which contains the url. |
String |
getCellAsText(com.meterware.httpunit.WebTable table,
int row,
int col)
WebTable.getCellAsText(int, int) returns the text of the cell only. |
String |
getUrl() |
String |
toString() |
logpublic ImageCell(String url)
public String getUrl()
public String getCellAsText(com.meterware.httpunit.WebTable table, int row, int col)
SimpleCellWebTable.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. ImageCell
will return the cells information about the image rather than the text.getCellAsText in interface SimpleCellgetCellAsText in class AbstractSimpleCelltable - tablerow - row index (starting from 0)col - col index (starting from 0)public boolean equals(com.meterware.httpunit.WebTable table,
int row,
int col)
table which contains the url. If the url is null, then it checks that
there are no image tags at all in the table cell.table - table to comparerow - row index of tablecol - column index of tableCopyright © 2002-2017 Atlassian. All Rights Reserved.