com.meterware.httpunit
Class MockWebTable

java.lang.Object
  extended by com.meterware.httpunit.WebTable
      extended by 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
MockWebTable()
           
MockWebTable(int rowSize, int colSize)
           
 
Method Summary
protected  String getAttribute(String arg0)
           
protected  String getAttribute(String arg0, String arg1)
           
 String getCellAsText(int row, int col)
           
protected  Node getNode()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockWebTable

public MockWebTable()

MockWebTable

public MockWebTable(int rowSize,
                    int colSize)
Method Detail

setCellText

public void setCellText(int row,
                        int col,
                        String text)

getCellAsText

public String getCellAsText(int row,
                            int col)
Overrides:
getCellAsText in class com.meterware.httpunit.WebTable

getAttribute

protected String getAttribute(String arg0)

getAttribute

protected String getAttribute(String arg0,
                              String arg1)

getNode

protected Node getNode()


Copyright © 2002-2011 Atlassian. All Rights Reserved.