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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetAttribute(String arg0) protected StringgetAttribute(String arg0, String arg1) getCellAsText(int row, int col) getID()getName()protected NodegetNode()com.meterware.httpunit.scripting.ScriptableDelegategetTitle()voidsetCellText(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:
getCellAsTextin classcom.meterware.httpunit.WebTable
-
getID
- Specified by:
getIDin interfacecom.meterware.httpunit.HTMLElement
-
getClassName
- Specified by:
getClassNamein interfacecom.meterware.httpunit.HTMLElement
-
getTitle
- Specified by:
getTitlein interfacecom.meterware.httpunit.HTMLElement
-
getName
- Specified by:
getNamein interfacecom.meterware.httpunit.HTMLElement
-
getScriptableDelegate
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()- Specified by:
getScriptableDelegatein interfacecom.meterware.httpunit.HTMLElement
-
getAttribute
-
getAttribute
-
getNode
-