public class Row extends Object
Constructor and Description |
---|
Row() |
Row(Object[] rowCells)
Construct a row from an array of objects which specify the cells of the row.
|
Modifier and Type | Method and Description |
---|---|
void |
appendCell(Cell cell) |
void |
appendCell(String cellText) |
void |
appendCells(Object[] rowCells) |
void |
assertEquals(Row r) |
void |
assertMatch(Row r) |
int |
getCellCount() |
List<Cell> |
getCells() |
boolean |
hasMatch(String regexp) |
boolean |
hasText(String text) |
public Row()
public Row(Object[] rowCells)
Cell
, it is directly added to the cells of the row, otherwise an
Cell
is created from the toString() value of the object and an assumed
colspan of 1.rowCells
- objects representing the row's cells.public void appendCells(Object[] rowCells)
public void appendCell(Cell cell)
public void appendCell(String cellText)
public int getCellCount()
public boolean hasText(String text)
public boolean hasMatch(String regexp)
public void assertEquals(Row r)
public void assertMatch(Row r)
Copyright © 2002-2015 JWebUnit. All Rights Reserved.