|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jwebunit.ExpectedTable
Represents an expected table for comparison with an actual html table.
Constructor Summary | |
ExpectedTable()
Construct an expected table without providing any expecteds; they can be appended subsequently. |
|
ExpectedTable(java.lang.Object[][] expectedValues)
Construct an expected table from a two dimensional array of objects. |
Method Summary | |
void |
appendRow(ExpectedRow row)
Append a single expected row. |
void |
appendRows(ExpectedTable exptectedTable)
Append another expected table's rows. |
void |
appendRows(java.lang.Object[][] newExpectedValues)
Append any number of expected rows, represented by a two dimensional array of objects. |
java.lang.String[][] |
getExpectedStrings()
Return a two dimensional array of strings which represent the expected values. |
java.lang.String |
toString()
Return a brace-delimited, printable version of the expected table for use in assertion failure output or debugging. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExpectedTable()
public ExpectedTable(java.lang.Object[][] expectedValues)
ExpectedCell
, in
which case its defined value and colspan are used.expectedValues
- two-dimensional array representing expected table cells.Method Detail |
public void appendRows(java.lang.Object[][] newExpectedValues)
ExpectedCell
, in
which case its defined value and colspan are used.newExpectedValues
- two-dimensional array representing expected table cells.public void appendRows(ExpectedTable exptectedTable)
exptectedTable
- expected table whose rows are to be appended.public void appendRow(ExpectedRow row)
row
- row to be appended.public java.lang.String[][] getExpectedStrings()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |