Package com.meterware.httpunit
Class MockWebTable
java.lang.Object
com.meterware.httpunit.WebTable
com.meterware.httpunit.MockWebTable
- All Implemented Interfaces:
com.meterware.httpunit.HTMLElement
public class MockWebTable
extends com.meterware.httpunit.WebTable
Mock WebTable for HTTP Unit.
- Since:
- v3.13
-
Field Summary
Fields inherited from class com.meterware.httpunit.WebTable
MATCH_FIRST_NONBLANK_CELL, MATCH_FIRST_NONBLANK_CELL_PREFIX, MATCH_ID, MATCH_SUMMARY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getAttribute
(String arg0) protected String
getAttribute
(String arg0, String arg1) getCellAsText
(int row, int col) getID()
getName()
protected Node
getNode()
com.meterware.httpunit.scripting.ScriptableDelegate
getTitle()
void
setCellText
(int row, int col, String text) Methods inherited from class com.meterware.httpunit.WebTable
asText, getColumnCount, getParentDelegate, getRowCount, getSummary, getTableCell, getTableCellWithID, newScriptable, purgeEmptyCells, toString
-
Constructor Details
-
MockWebTable
public MockWebTable() -
MockWebTable
public MockWebTable(int rowSize, int colSize)
-
-
Method Details
-
setCellText
-
getCellAsText
- Overrides:
getCellAsText
in classcom.meterware.httpunit.WebTable
-
getID
- Specified by:
getID
in interfacecom.meterware.httpunit.HTMLElement
-
getClassName
- Specified by:
getClassName
in interfacecom.meterware.httpunit.HTMLElement
-
getTitle
- Specified by:
getTitle
in interfacecom.meterware.httpunit.HTMLElement
-
getName
- Specified by:
getName
in interfacecom.meterware.httpunit.HTMLElement
-
getScriptableDelegate
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()- Specified by:
getScriptableDelegate
in interfacecom.meterware.httpunit.HTMLElement
-
getAttribute
-
getAttribute
-
getNode
-